joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422ab9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x690
mov eax, 0x46f0e7
call fcn.004490ad
mov esi, ecx
mov al, byte [0x49e0ae]
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x680], ecx
test al, al
je 0x422af6
push str.Bootstrapper::fetchInstalledEnvironments
movzx eax, al
push 0x4754d0
push eax
call fcn.00410c97
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x668], ecx
mov dword [ebp - 0x664], ecx
mov dword [ebp - 0x660], ecx
mov al, byte [esi + 0x4d]
xor ebx, ebx
test al, al
mov dword [ebp - 4], ecx
mov dword [ebp - 0x678], ecx
sete bl
mov dword [ebp - 0x674], ecx
add ebx, 0x80000001
mov dword [ebp - 0x67c], ebx
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 1
push eax
call fcn.00414bcc
xor esi, esi
mov dword [ebp - 0x65c], esi
mov dword [ebp - 0x658], esi
mov dword [ebp - 0x654], esi
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
mov dword [esp], 0x20019
lea ecx, [ebp - 0x65c]
cmovae eax, dword [ebp - 0x630]
push eax
push ebx
mov byte [ebp - 4], 3
call fcn.004077a3
test eax, eax
je 0x422bbf
mov al, byte [0x49e0ae]
test al, al
je 0x422ba0
push str.Bootstrapper::fetchInstalledEnvironments___failed_to_find_installations_key
movzx eax, al
push 0x4754d0
push eax
call fcn.00410c97
add esp, 0xc
lea eax, [ebp - 0x668]
mov ecx, edi
push eax
call fcn.00419e72
lea ecx, [ebp - 0x65c]
call fcn.00405d7f
push esi
jmp 0x422d0c
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0044d7a0
add esp, 0xc
mov dword [ebp - 0x670], 0x104
lea eax, [ebp - 0x69c]
mov dword [ebp - 0x66c], ebx
mov dword [ebp - 0x650], 0x200
push eax
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x66c]
push eax
push ebx
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x65c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x422cf2
mov cl, byte [0x49e0ae]
test cl, cl
je 0x422c73
push eax
movzx eax, cl
push str.Bootstrapper::fetchInstalledEnvironments____of_installed_environments___d
push eax
call fcn.00410bbc
mov eax, dword [ebp - 0x64c]
add esp, 0xc
mov esi, ebx
test eax, eax
je 0x422cf2
push ebx
push ebx
push ebx
xor eax, eax
mov dword [ebp - 0x650], 0x200
push ebx
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x618]
push eax
push esi
push dword [ebp - 0x65c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x422ce9
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x648]
call fcn.00403e9d
lea eax, [ebp - 0x648]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x668]
call fcn.0040f099
push ebx
push 1
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 3
call fcn.00409095
inc esi
cmp esi, dword [ebp - 0x64c]
jb 0x422c79
lea eax, [ebp - 0x668]
mov ecx, edi
push eax
call fcn.00419e72
lea ecx, [ebp - 0x65c]
call fcn.00405d7f
push ebx
push 1
lea ecx, [ebp - 0x630]
call fcn.00409095
lea ecx, [ebp - 0x67c]
call fcn.00405d7f
lea ecx, [ebp - 0x668]
call fcn.0040edc0
mov eax, edi
call fcn.00449057
ret 4
Function at 0x4230f2
Capabilities:
Delete file

Disassembly:
push 0x68
mov eax, 0x46f1de
call fcn.004490ad
mov esi, ecx
xor ebx, ebx
xor edi, edi
inc ebx
cmp byte [0x4f1ad0], 0
jne 0x42316c
mov al, byte [0x49e0ae]
test al, al
je 0x42312d
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
movzx eax, al
push 0x4754d0
push eax
call fcn.00410c97
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
call fcn.00414f56
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], edi
jb 0x423144
mov ecx, dword [ecx]
mov al, byte [esi + 0x4d]
push edi
mov byte [ebp - 0x74], al
push ecx
push dword [ebp - 0x74]
call fcn.0041485a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
add esp, 0xc
push edi
push ebx
call fcn.00409095
mov ecx, esi
call fcn.00421a29
mov al, byte [esi + 0x4d]
mov ecx, esi
mov byte [ebp - 0x74], al
lea eax, [ebp - 0x58]
push dword [ebp - 0x74]
push eax
call fcn.00420263
push str.RobloxStudioLauncher.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00403e9d
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004167ba
add esp, 0xc
mov cl, byte [0x49e0ae]
mov byte [ebp - 4], 3
test cl, cl
je 0x4231d3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
movzx eax, cl
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
push eax
call fcn.00410bbc
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040e289
pop ecx
test al, al
je 0x4231fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00409095
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.00409095
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00409095
call fcn.00449057
ret
Function at 0x424c37
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x46cc9c
call fcn.00449079
mov esi, ecx
push 0x800
xor edi, edi
push edi
push edi
push 0xf001f
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x424cac
cmp byte [0x49e0ae], al
je 0x424c96
lea eax, [ebp - 0x10]
push eax
call fcn.00413de3
push dword [eax]
movzx eax, byte [0x49e0ae]
push str.Could_not_map_view_of_file:__S
push eax
mov dword [ebp - 4], edi
call fcn.00410bbc
mov ecx, dword [ebp - 0x10]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.0040e40e
cmp dword [esi + 0x34], 0
je 0x424ca8
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x34], edi
mov al, 1
jmp 0x424cc1
mov esi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call sub.KERNEL32.dll_GetCurrentProcessId
xor ecx, ecx
cmp esi, eax
sete al
call fcn.00449042
ret
Function at 0x42acea
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x4f1ae0], 0
je 0x42ad2e
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x42ad08
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x42ad20
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], ebx
je 0x42ad22
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test bl, bl
pop ebx
je 0x42ad32
mov esp, ebp
pop ebp
ret
push str.Invalid_protocol_handler_arguments
lea ecx, [ebp - 0x10]
call fcn.0040487f
push 0x4939d8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], vtable.std::runtime_error.0
push eax
call fcn.0044b5d4
int3
Function at 0x4312f4
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, 0xffffffff
je 0x4313d7
cmp byte [ebp + 0x10], 0
je 0x431343
mov esi, dword [ebp + 0xc]
test byte [esi], 8
je 0x431343
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0040ddbd
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp + 8]
push eax
push 0x80
push 0xffff
push esi
push edi
call fcn.0043674e
add esp, 0x1c
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
call fcn.0042daa2
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4313d7
call fcn.0040ddbd
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 8], 0x2733
call fcn.0040d55e
pop ecx
pop ecx
test al, al
jne 0x43139f
call fcn.0040ddbd
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 8], 0x4d5
call fcn.0040d55e
pop ecx
pop ecx
test al, al
je 0x4313d3
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 0xc]
push 0
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
call fcn.0042daa2
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x4313e2
call fcn.0040ddbd
and dword [ebx], 0
mov dword [ebx + 4], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431594
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
jne 0x4315b3
call fcn.0040ddbd
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], eax
or eax, 0xffffffff
mov dword [ecx], 0x2719
pop ebp
ret
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_connect]
mov edi, dword [ebp + 0x14]
push edi
push eax
call fcn.0042daa2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4315e8
call fcn.0040ddbd
and dword [edi], esi
mov dword [edi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x435965
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00436f57
push 0
push dword [esi + 4]
test al, al
je 0x4359a8
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4359be
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x435b72
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x435ba4
call fcn.0040ddbd
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x435bff
push ebx
xor eax, eax
mov dword [ebp - 0x208], edi
inc eax
mov dword [ebp - 0x104], edi
xor ebx, ebx
mov dword [ebp - 0x20c], eax
push ebx
mov dword [ebp - 0x108], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push esi
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0042daa2
mov edi, eax
pop ecx
pop ecx
test edi, edi
js 0x435bfc
call fcn.0040ddbd
mov dword [esi], ebx
mov dword [esi + 4], eax
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449031
mov esp, ebp
pop ebp
ret

Function at 0x435c0f
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x435c48
call fcn.0040ddbd
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x435cf0
xor eax, eax
mov dword [ebp - 0x104], edi
push eax
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push esi
push 0
pop ecx
and bl, 1
lea eax, [ebp - 0x110]
cmove eax, ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0042daa2
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x435ce1
test bl, bl
je 0x435cc0
call fcn.0040ddbd
mov dword [ebp - 0x110], 0x2733
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], eax
jmp 0x435cd8
and dword [ebp - 0x118], 0
call fcn.0040ddbd
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x118]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
jmp 0x435ceb
jle 0x435cee
call fcn.0040ddbd
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449031
mov esp, ebp
pop ebp
ret
Function at 0x435d01
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x435d3a
call fcn.0040ddbd
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x435de2
xor eax, eax
mov dword [ebp - 0x104], edi
push eax
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push esi
push 0
pop ecx
and bl, 1
lea eax, [ebp - 0x110]
cmove eax, ecx
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
push ecx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0042daa2
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x435dd3
test bl, bl
je 0x435db2
call fcn.0040ddbd
mov dword [ebp - 0x110], 0x2733
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], eax
jmp 0x435dca
and dword [ebp - 0x118], 0
call fcn.0040ddbd
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x118]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
jmp 0x435ddd
jle 0x435de0
call fcn.0040ddbd
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449031
mov esp, ebp
pop ebp
ret

Function at 0x43674e
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
or edi, 0xffffffff
cmp dword [ebp + 8], edi
jne 0x436772
call fcn.0040ddbd
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 4], eax
mov eax, edi
mov dword [ecx], 0x2719
jmp 0x436818
cmp dword [ebp + 0x10], 0xa5100000
push esi
mov esi, dword [ebp + 0x14]
jne 0x4367c7
cmp esi, 2
jne 0x436797
call fcn.0040ddbd
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 0x2726
mov dword [ecx + 4], eax
jmp 0x436815
cmp esi, 1
jne 0x4367de
cmp dword [ebp + 0x1c], 4
jne 0x436784
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
mov eax, dword [ebp + 0xc]
je 0x4367b2
or byte [eax], 4
jmp 0x4367b5
and byte [eax], 0xfb
call fcn.0040ddbd
mov ecx, dword [ebp + 0x20]
and dword [ecx], 0
mov dword [ecx + 4], eax
xor eax, eax
jmp 0x436817
cmp dword [ebp + 0x10], 0xffff
jne 0x4367de
cmp esi, 0x80
jne 0x4367de
mov eax, dword [ebp + 0xc]
or byte [eax], 8
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, dword [ebp + 0x20]
push esi
push eax
call fcn.0042daa2
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x436815
call fcn.0040ddbd
and dword [esi], edi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebp
ret
Function at 0x436a5d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push eax
push eax
push 1
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [ebp + 8]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x436aaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.0040ddbd
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x436b71
mov esi, dword [ebp - 4]
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x436aef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.0040ddbd
mov dword [ebp - 0xc], eax
test esi, esi
je 0x436aec
push str.thread.exit_event
jmp 0x436b76
mov esi, dword [ebp - 4]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0x4371e9
push dword [ebp + 0xc]
push 0
call fcn.0045891f
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x436b58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp + 8], eax
call dword [edx]
test edi, edi
je 0x436b31
push edi
call esi
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x436b3f
push dword [eax + 8]
call esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.0040ddbd
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x436b58
push str.thread
jmp 0x436b76
test edi, edi
je 0x436b68
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.thread.entry_event
lea eax, [ebp - 0x10]
push eax
call fcn.0043267a
int3

Function at 0x436b80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x436bce
movzx ecx, byte [ebp + 0x10]
lea eax, [ebp - 0x194]
push eax
movzx eax, byte [ebp + 0xc]
shl cx, 8
or cx, ax
movzx eax, cx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00449031
mov esp, ebp
pop ebp
ret
Function at 0x437891
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.004379d4
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], 8
jb 0x4378b1
mov eax, dword [ebx]
jmp 0x4378b3
mov eax, ebx
lea ecx, [ebp - 4]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
test eax, eax
je 0x43793f
push eax
call fcn.00449777
mov dword [esi + 4], eax
cmp dword [ebx + 0x14], 8
pop ecx
jb 0x4378d6
mov ebx, dword [ebx]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43793f
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [esi + 0x10]
push eax
push 0x4788ac
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43793f
lea eax, [ebp + 8]
push eax
lea edi, [esi + 8]
push edi
push 0x47e99c
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43793a
mov eax, dword [ebp + 8]
cmp eax, 4
jb 0x43793a
mov ecx, dword [edi]
shr eax, 2
mov dword [esi + 0xc], eax
mov ax, word [ecx]
mov word [esi], ax
mov ax, word [ecx + 2]
mov word [esi + 2], ax
xor edi, edi
inc edi
jmp 0x437950
cmp dword [esi + 4], edi
je 0x437950
push dword [esi + 4]
call fcn.00448dc4
pop ecx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439b1d
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi + 0x48]
mov byte [edi + 0x30], 1
call esi
push 0
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x44]
call esi
push 0x439b6a
push 0x12c
push 1
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

Function at 0x43a0ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edi, word [ebp + 8]
mov esi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x43a1b6
push ebx
call fcn.0043a1bd
push 0x47eee8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x43a107
push 0xa
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
push esi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43a1b2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x43a1b2
push dword [ebp + 8]
push ebx
push esi
call fcn.0044d220
add esp, 0xc
lea eax, [ebp - 8]
xor ebx, ebx
mov dword [ebp - 8], ebx
push eax
push ebx
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x43a1a4
push ebx
push dword [ebp - 8]
call fcn.0043a093
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43a19b
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebx
test ecx, ecx
jne 0x43a193
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x43a193
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43af6b
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x43afb4
push 0
push 0
call fcn.0045891f
mov ecx, eax
add esp, 0x18
test ecx, ecx
jne 0x43af92
xor al, al
pop esi
ret
mov eax, dword [esi]
add eax, 4
lock inc dword [eax]
push ecx
mov ecx, dword [esi]
add ecx, 8
call fcn.0041b533
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
pop esi
ret
Function at 0x43c6e9
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471c7b
mov eax, dword fs:[0]
push eax
mov eax, 0x183c
call fcn.004491a0
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x1840]
push eax
push 0x1000
lea eax, [ebp - 0x1814]
push eax
call sub.PSAPI.DLL_EnumProcesses
mov ebx, dword [ebp - 0x1840]
xor eax, eax
and dword [ebp - 0x1834], eax
xor ecx, ecx
shr ebx, 2
mov dword [ebp - 0x183c], eax
mov dword [ebp - 0x1838], ecx
and dword [ebp - 4], ecx
test ebx, ebx
je 0x43c82d
lea eax, [ebp - 0x1814]
mov dword [ebp - 0x1830], eax
push dword [eax]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1844], esi
push 0x400
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x43c7fa
xor eax, eax
lea ecx, [ebp - 0x182c]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x814]
push eax
call fcn.00403e9d
lea eax, [edi + 0x5c]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x43c7c6
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [ebp - 0x182c]
call fcn.0040cf40
cmp eax, 0xffffffff
je 0x43c7eb
push dword [ebp - 0x1830]
lea ecx, [ebp - 0x183c]
call fcn.0043c694
push 0
push 1
lea ecx, [ebp - 0x182c]
call fcn.00409095
mov byte [ebp - 4], 0
test esi, esi
je 0x43c809
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1830]
add eax, 4
mov dword [ebp - 0x1830], eax
sub ebx, 1
jne 0x43c76b
mov ecx, dword [ebp - 0x1838]
mov eax, dword [ebp - 0x183c]
push edi
push 0x43c874
push ecx
push eax
lea eax, [ebp - 0x1848]
mov byte [edi + 0x58], 0
push eax
call fcn.0043c48a
mov bl, byte [edi + 0x58]
lea ecx, [ebp - 0x183c]
add esp, 0x14
call fcn.0043c66b
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449031
mov esp, ebp
pop ebp
ret