joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4163db
Capabilities:
Enumerate process modules

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x477930]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x454910
call fcn.0043e177
xor ebx, ebx
mov dword [ebp - 4], ebx
push 5
pop ecx
push 0x1f4
lea eax, [ebp + 0x14]
push ebx
mov esi, str._unknown_
lea edi, [ebp]
push eax
mov byte [ebp - 0xd], bl
rep movsd dword es:[edi], dword [esi]
call fcn.0043e5f0
add esp, 0xc
push dword [ebp + 0x214]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x416464
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x416464
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004034af
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040b96f
push dword [ebp - 0x14]
lea ecx, [ebp + 0x218]
call fcn.00406758
test eax, eax
jne 0x416492
mov byte [ebp - 0xd], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004024cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x218]
call fcn.004024cb
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043e168
add ebp, 0x20c
leave
ret 8

Function at 0x4164db
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454948
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.00441070
push ebx
push esi
push edi
mov eax, dword [0x477930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
push 0x1000
lea eax, [ebp - 0x1014]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41654d
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004024cb
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
mov edi, dword [ebp - 0x10]
shr edi, 2
test edi, edi
jbe 0x41652a
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00402611
mov byte [ebp - 4], 1
push dword [ebp + esi*4 - 0x1014]
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.004163db
test al, al
jne 0x416587
inc esi
cmp esi, edi
jb 0x416557
jmp 0x41652a
mov esi, dword [ebp + esi*4 - 0x1014]
jmp 0x41652d
Function at 0x416590
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41662b
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
xor edi, edi
inc edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41662b
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x4165fd
push esi
push 0xd
jmp 0x41660e
cmp eax, edi
jne 0x416606
push esi
push 6
jmp 0x41660e
cmp eax, 2
jne 0x416616
push esi
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x41662b
cmp eax, 3
jne 0x41661f
push edi
push edi
jmp 0x416626
cmp eax, 4
jne 0x41662b
push esi
push esi
call sub.KERNEL32.dll_SetSystemPowerState
pop edi
pop esi
leave
ret 4

Function at 0x41665e
Capabilities:
Send data
Send data on socket

Disassembly:
push 0
push dword [esp + 0xc]
call fcn.004410a0
pop ecx
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_send]
ret 8

Function at 0x41667c
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x416691
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
ret 4
Function at 0x418a6e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45499f
call fcn.0043e177
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x418a93
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x418ad9
lea ecx, [ebp - 0x10]
call fcn.004024a1
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407e53
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040121c
mov eax, esi
call fcn.0043e24f
ret 8

Function at 0x4197f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00417a90
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x419832
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00419445
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x419890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4198b4
cmp dword [edi + 0x54], 0
jne 0x4198b4
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00417a90
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00419851
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41f5b5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lcall 0x88e8, 0x458d9dd7
pop ebp
call 0xe99f7e12
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0041f261
push eax
push esi
push dword [ebp + 8]
call fcn.0041f216
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041f261
push eax
push esi
push dword [ebp + 8]
call fcn.0041f216
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041f261
push eax
push esi
push dword [ebp + 8]
call fcn.0041f216
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041f251
xor byte [eax - 0x627786b9], cl
jl 0x41f6d6
invalid
invalid

Function at 0x42010f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0041f22f
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
invalid
invalid
cwde
cld
Function at 0x42a442
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42a48a
call fcn.00417a90
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a48a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42a4cd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42a4b6
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42a4b6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42a4ca
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43e168
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477930]
jne 0x43e172
repz ret
jmp fcn.0044503c
Function at 0x44b32d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00443ba7
and dword [ebp - 4], 0
cmp dword [0x47bbc8], 0
mov ebx, eax
jne 0x44b3de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44b48f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44b48f
push eax
call fcn.00443b35
mov dword [esp], 0x4644ec
push edi
mov dword [0x47bbc8], eax
call esi
push eax
call fcn.00443b35
mov dword [esp], 0x4644d8
push edi
mov dword [0x47bbcc], eax
call esi
push eax
call fcn.00443b35
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47bbd0], eax
call esi
push eax
call fcn.00443b35
pop ecx
mov dword [0x47bbd8], eax
test eax, eax
je 0x44b3de
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00443b35
pop ecx
mov dword [0x47bbd4], eax
mov eax, dword [0x47bbd4]
cmp eax, ebx
je 0x44b436
cmp dword [0x47bbd8], ebx
je 0x44b436
push eax
call fcn.00443bb0
push dword [0x47bbd8]
mov esi, eax
call fcn.00443bb0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44b436
test edi, edi
je 0x44b436
call esi
test eax, eax
je 0x44b42d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44b42d
test byte [ebp - 0xc], 1
jne 0x44b436
or dword [ebp + 0x10], 0x200000
jmp 0x44b46f
mov eax, dword [0x47bbcc]
cmp eax, ebx
je 0x44b46f
push eax
call fcn.00443bb0
pop ecx
test eax, eax
je 0x44b46f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44b46f
mov eax, dword [0x47bbd0]
cmp eax, ebx
je 0x44b46f
push eax
call fcn.00443bb0
pop ecx
test eax, eax
je 0x44b46f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47bbc8]
call fcn.00443bb0
pop ecx
test eax, eax
je 0x44b48f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44b491
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x35108c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
sub esp, 0xc
add eax, edx
jne 0x35109f
leave
ret
mov ecx, dword [eax + 0x18]
push esi
mov esi, dword [eax + 0x20]
add esi, edx
push edi
dec ecx
mov dword [ebp - 0xc], ecx
xor edi, edi
push ebx
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx]
inc edi
mov dword [ebp - 8], edi
mov edi, dword [esi + edi*4]
add edi, edx
movzx ebx, byte [edi]
sub ecx, ebx
jne 0x3510e2
mov ebx, dword [ebp + 8]
sub ebx, edi
mov dword [ebp - 4], ebx
cmp byte [edi], 0
je 0x3510e2
mov ecx, dword [ebp - 4]
inc edi
movzx ecx, byte [ecx + edi]
movzx ebx, byte [edi]
sub ecx, ebx
je 0x3510ce
mov edi, dword [ebp - 8]
cmp edi, dword [ebp - 0xc]
ja 0x3510fd
test ecx, ecx
jne 0x3510b0
mov ecx, dword [eax + 0x24]
lea ecx, [ecx + edi*2]
movzx ecx, word [ecx + edx]
cmp ecx, dword [eax + 0x14]
jbe 0x351101
xor eax, eax
jmp 0x35110c
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x411f40
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp byte [esi + 0x18], bl
jne 0x411f52
pop esi
xor al, al
pop ebx
ret 4
cmp byte [esp + 0xc], 1
jne 0x411fa0
mov al, byte [esi + 0x19]
cmp al, 1
je 0x411f4b
call fcn.00412120
test eax, eax
jne 0x411f4b
push edi
mov edi, esi
call fcn.004122a0
mov byte [esi + 0x1a], bl
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push ebx
push 0x411fd0
mov dword [esi + 0x2c], eax
call fcn.0049a487
add esp, 0xc
pop edi
cmp eax, 0xffffffff
je 0x411f4b
mov byte [esi + 0x19], 1
pop esi
mov al, 1
pop ebx
ret 4
mov cl, byte [esi + 0x19]
test cl, cl
je 0x411f4b
mov eax, dword [esi + 0x24]
mov byte [esi + 0x19], bl
cmp eax, ebx
je 0x411fb8
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [esi + 0x1a], bl
pop esi
mov al, 1
pop ebx
ret 4

Function at 0x4120b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x412105
mov eax, dword [esp]
cmp al, 2
jne 0x4120ff
shr eax, 8
cmp al, 2
jne 0x4120ff
mov al, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00497164
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
xor al, al
call fcn.00497164
mov esp, ebp
pop ebp
ret
Function at 0x412120
Capabilities:
Create raw socket
Create udp socket
Get hostname
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x88
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x84], eax
push 0
push 3
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x24], eax
cmp eax, 0xffffffff
jne 0x412162
mov eax, 1
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00497164
add esp, 0x88
ret
push 0x40
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x41218e
mov eax, 2
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00497164
add esp, 0x88
ret
push edi
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edx, 2
push 0x20a8
mov edi, eax
mov word [esp + 0x3c], dx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x3a], ax
movsx eax, word [edi + 0xa]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004992e0
mov edx, dword [esi + 0x24]
add esp, 0xc
push 0x10
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x412221
mov ecx, dword [esi + 0x24]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x18], 1
call edi
cmp eax, 0xffffffff
je 0x412221
mov eax, dword [esi + 0x24]
push 4
lea edx, [esp + 8]
push edx
push 2
push 0
push eax
call edi
cmp eax, 0xffffffff
jne 0x41223c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00497164
add esp, 0x88
ret
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x24]
push 0x28
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push 0x98000001
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [esp + 0x88]
xor edx, edx
cmp eax, 0xffffffff
sete dl
pop edi
xor ecx, esp
mov eax, edx
call fcn.00497164
add esp, 0x88
ret

Function at 0x4125c0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4d7220
mov eax, dword fs:[0]
push eax
mov eax, dword [0x516b80]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0xf0]
mov dword [esp + 0x10], 3
call fcn.004033e0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x10c]
call fcn.004033e0
lea edx, [esp + 0x4c]
push edx
lea ecx, [esi + 0x128]
call fcn.004033e0
lea eax, [esp + 0x68]
push eax
lea ecx, [esi + 0x144]
call fcn.004033e0
lea ecx, [esp + 0x14]
mov byte [esi + 0x160], 1
call fcn.00401290
lea ecx, [esp + 0x30]
call fcn.00401290
lea ecx, [esp + 0x4c]
call fcn.00401290
lea ecx, [esp + 0x68]
call fcn.00401290
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x70
Function at 0x416230
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
xor edi, edi
push edi
push 4
push eax
push ecx
push edi
push edi
call fcn.00499896
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x416260
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x416277
and eax, 0xffff
or eax, 0x80070000
pop edi
ret 4
mov edx, dword [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
ret 4

Function at 0x416280
Capabilities:
Terminate thread

Disassembly:
push ebp
xor ebp, ebp
cmp dword [esi], ebp
je 0x4162db
mov eax, dword [ebx + 0x4c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
push eax
call edi
mov ecx, dword [ebx + 0x50]
push ecx
call edi
mov edx, dword [ebx + 0x54]
push edx
call edi
mov eax, dword [ebx + 0x58]
push eax
call edi
mov ecx, dword [esi]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
cmp eax, 0x102
jne 0x4162cc
mov edx, dword [esi]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, 1
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov ecx, dword [ebx + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, ebp
pop ebp
ret

Function at 0x416da0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, eax
mov eax, dword [0x520460]
cmp eax, 5
mov ebx, ecx
mov ecx, dword [0x520464]
jl 0x416dc4
cmp edi, ecx
jne 0x416dbf
pop edi
xor al, al
pop ebx
ret
cmp eax, 5
jg 0x416dd4
cmp edi, ecx
je 0x416dd4
mov dword [0x520460], 0
jmp 0x416dda
inc eax
mov dword [0x520460], eax
mov eax, dword [ebx + 0x50]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea esi, [ebx + 0x44]
call fcn.00416280
lea ecx, [ebx + 8]
call fcn.004d23a0
push 0
push 4
push ebx
push 0x4162f0
push 0
mov dword [ebx + 0xf8], edi
mov edi, dword [ebx + 0x128]
push 0
call fcn.00499896
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x416e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x416e33
and eax, 0xffff
or eax, 0x80070000
test eax, eax
je 0x416e4c
pop esi
pop edi
xor al, al
pop ebx
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebx + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x418160
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d76a8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x516b80]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 0x280]
mov ecx, esi
mov dword [esp + 0x10], 0
call fcn.00405890
cmp al, 1
jne 0x4181aa
push str.HTTPOut.txt
mov ecx, esi
call fcn.00403400
push 0x4ff2fc
mov ecx, esi
call fcn.004012b0
push eax
call fcn.0049a962
mov esi, eax
add esp, 8
test esi, esi
je 0x4181ea
push esi
lea ecx, [esp + 0x20]
call fcn.0041b5d0
push eax
push 1
lea ecx, [esp + 0x28]
call fcn.004012b0
push eax
call fcn.0049aadb
push esi
call fcn.0049a11d
add esp, 0x14
lea ecx, [esp + 0x1c]
call fcn.00401290
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x20

Function at 0x419010
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d75b2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push edi
mov eax, dword [0x516b80]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x234], ebx
push 0x4ff358
mov ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
call fcn.004012d0
push 0x206
lea ecx, [esp + 0x26]
mov dword [esp + 0x238], ebx
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x24], 1
mov word [esp + 0x2c], ax
call fcn.004991b0
add esp, 0xc
push 0x4ff3b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x419150
push str.SHGetSpecialFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
cmp ebp, ebx
je 0x4190ee
call fcn.00419180
cmp edx, 0x50000
jb 0x4190dd
ja 0x4190ca
cmp eax, ebx
jb 0x4190dd
mov eax, dword [esp + 0x23c]
push ebx
push eax
lea edx, [esp + 0x28]
push edx
push ebx
call ebp
jmp 0x41913d
push ebx
mov eax, 0x1a
push eax
lea edx, [esp + 0x28]
push edx
push ebx
call ebp
jmp 0x41913d
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x419149
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push str.CommonFilesDir
push eax
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004058b0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00497164
add esp, 0x228
ret