joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0043164a
add esp, 0x108
ret

Function at 0x407de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x110], eax
lea eax, [esp]
push eax
push 1
push 0
push 0x45da89
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x407e37
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043164a
add esp, 0x114
ret
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x44f51c
push edx
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x407e8b
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043164a
add esp, 0x114
ret
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043164a
add esp, 0x114
ret

Function at 0x407eb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x110], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftwindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x407f07
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043164a
add esp, 0x114
ret
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.ProgramFilesDir
push edx
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x407f5b
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043164a
add esp, 0x114
ret
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043164a
add esp, 0x114
ret
Function at 0x40c6c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x40c6d0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40c6e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40cf30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x128
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
mov ebp, dword [esp + 0x134]
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push edx
xor edi, edi
or eax, 0x2001f
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x40cfa5
xor eax, eax
cmp ecx, edi
je 0x40cf93
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov esi, eax
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x40cfb3
cmp ecx, edi
je 0x40d050
push ecx
jmp 0x40d04a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x40d01e
jmp 0x40cfe0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040cf30
mov ebp, eax
cmp ebp, edi
jne 0x40d06d
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x40cfe0
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40d031
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push ebp
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40d050
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043164a
add esp, 0x128
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40d07c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x40d052
Function at 0x4118c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x447cd8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
mov eax, dword [0x45c5d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
push 0
lea eax, [esp + 0x28]
push eax
push 9
push 2
lea ecx, [edi + 0x238]
push 0xcb
push ecx
call fcn.0041d1d9
mov eax, dword [esp + 0x3c]
add esp, 0x18
mov esi, eax
mov dword [esp + 0xc], esi
test eax, eax
je 0x41191e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi + 0x98]
mov dword [esp + 0x1c], 0
call fcn.004011a0
test al, al
jne 0x41196d
push 0
push 0
push str.js.SetDocument___failed.
call fcn.004141a0
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x411957
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x14
ret 8
mov dword [edi + 0x74], 1
mov dword [edi + 0x78], ebx
cmp ebx, 4
jne 0x4119aa
cmp dword [0x46c21c], 0
je 0x411993
push 0
push 0
mov ecx, 0x46c20c
call fcn.0042593f
push 0x13
lea ecx, [edi + 0x90]
push str.mainframe.addResult
call fcn.00402440
jmp 0x411a60
cmp ebx, 2
jne 0x4119c4
push str.mainframe2.addResult
lea ecx, [edi + 0x90]
call fcn.00402530
jmp 0x411a60
cmp ebx, 3
jne 0x4119de
push str.mainframe3.addResult
lea ecx, [edi + 0x90]
call fcn.00402530
jmp 0x411a60
cmp ebx, 1
jne 0x4119f5
push str.mainframe1.addResult
lea ecx, [edi + 0x90]
call fcn.00402530
jmp 0x411a60
cmp ebx, 0xa
jne 0x411a4e
push str.FTIE
push ebp
call fcn.00401bb0
add esp, 8
test al, al
jne 0x4119c9
push str.FTCT
push ebp
call fcn.00401bb0
add esp, 8
test al, al
jne 0x4119af
push str.FTKEY
push ebp
call fcn.00401bb0
add esp, 8
lea ecx, [edi + 0x90]
test al, al
je 0x411a42
push str.mainframe1.addResult
call fcn.00402530
jmp 0x411a60
push str.mainframe.addResult
call fcn.00402530
jmp 0x411a60
mov eax, dword [esp + 0x28]
push str.PARM_ERR
push eax
call fcn.00402110
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
push 0x40f400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x411a92
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x14
ret 8
Function at 0x411ed0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x1c4], eax
push ebx
push edi
lea eax, [esp + 0x38]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x411f37
xor edi, edi
mov dword [esp + 0x14], edi
cmp dword [str.129.6.15.28], edi
je 0x411f31
mov eax, 0x45d948
lea ecx, [ecx]
mov ecx, dword [eax]
lea ebx, [esp + 0x14]
call fcn.00412050
test eax, eax
jne 0x411f50
inc edi
cmp dword [edi*4 + 0x45d948], 0
lea eax, [edi*4 + 0x45d948]
jne 0x411f10
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x1c4]
xor ecx, esp
call fcn.0043164a
add esp, 0x1cc
ret
mov edx, 1
mov eax, edx
mov word [esp + 0x1a], dx
xor edx, edx
mov word [esp + 0x1e], ax
xor eax, eax
mov word [esp + 0x22], dx
mov ecx, 0x76c
lea edx, [esp + 0xc]
mov word [esp + 0x24], ax
mov word [esp + 0x18], cx
xor ecx, ecx
push edx
lea eax, [esp + 0x1c]
push eax
mov word [esp + 0x28], cx
mov word [esp + 0x2e], cx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x14]
mov ecx, 0x989680
mul ecx
add dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x28], 0
adc dword [esp + 0x10], edx
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.00412b50
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
push 0
mov dword [esi + 0x228], edi
mov dword [esi + 0x22c], ebx
call fcn.0043217c
add esp, 4
push 0
mov dword [esi + 0x230], eax
sub eax, edi
mov dword [esi + 0x234], edx
push 0xe10
sbb edx, ebx
push edx
push eax
call fcn.00435810
cdq
xor eax, edx
xor ecx, ecx
sub eax, edx
cmp eax, 0x17
setl cl
pop edi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x1c4]
xor ecx, esp
call fcn.0043164a
add esp, 0x1cc
ret
Function at 0x412050
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
sub esp, 0x134
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
push 0
push 1
push 2
mov edi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x412176
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x41216f
mov ecx, 2
push 0x25
mov word [esp + 0x128], cx
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [esp + 0x12a], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x10
lea edx, [esp + 0x128]
push edx
push esi
mov dword [esp + 0x134], eax
call dword [sym.imp.WS2_32.dll_connect]
mov edi, dword [sym.imp.WS2_32.dll_select]
lea eax, [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0
call edi
cmp eax, 1
jne 0x41216f
lea edx, [esp + 0xc]
push edx
push 0
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0x24]
push eax
push 0
call edi
cmp eax, 1
jne 0x41216f
push 0
push 4
push ebx
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
jne 0x41216f
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov dword [ebx], eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0043164a
add esp, 0x134
ret
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0043164a
add esp, 0x134
ret
Function at 0x4122c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x21]
push ebx
push eax
mov esi, 1
mov dword [esp + 0x1c], 4
mov byte [esp + 0x28], bl
call fcn.00434d10
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412407
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push str.SecureProtocols
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41242b
push 0x104
lea eax, [esp + 0x124]
push ebx
push eax
mov byte [esp + 0x20], 0xa0
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
call fcn.00434d10
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412380
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x128]
push edx
call fcn.00437370
add esp, 0xc
mov ecx, esi
xor eax, eax
mov dl, byte [esp + eax + 0x1c]
cmp dl, byte [esp + eax + 0x120]
je 0x4123b2
xor ecx, ecx
mov dl, byte [esp + eax + 0x1d]
cmp dl, byte [esp + eax + 0x121]
je 0x4123c1
xor ecx, ecx
mov dl, byte [esp + eax + 0x1e]
cmp dl, byte [esp + eax + 0x122]
je 0x4123d0
xor ecx, ecx
mov dl, byte [esp + eax + 0x1f]
cmp dl, byte [esp + eax + 0x123]
je 0x4123df
xor ecx, ecx
mov dl, byte [esp + eax + 0x20]
cmp dl, byte [esp + eax + 0x124]
je 0x4123ee
xor ecx, ecx
add eax, 5
cmp eax, 0x104
jl 0x4123a3
cmp ecx, ebx
jne 0x412420
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0043164a
add esp, 0x220
ret
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x224]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0043164a
add esp, 0x220
ret

Function at 0x412450
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 1
push 0
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
push closesocket
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4124ad
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push eax
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push str.AllSitesCompatibilityMode
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4124b3
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], 1
sete al
add esp, 0xc
ret
Function at 0x412720
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push esi
call fcn.0041602f
mov esi, dword [eax + 8]
test esi, esi
jne 0x412733
xor al, al
pop esi
ret 4
push edi
push 0x450d40
push 0xb7
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4127c0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4127c0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4127b8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0
push 2
push 0
push 1
mov edi, eax
mov eax, dword [esp + 0x24]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
je 0x4127b2
lea ecx, [esp + 0x14]
push ecx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x4127b2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov al, 1
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
ret 4
pop edi
xor al, al
pop esi
ret 4
Function at 0x414b33
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x414b5e
call fcn.0041602f
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x414b81
push eax
push dword [esi + 4]
call fcn.00414ab9
push esi
push eax
mov ecx, 0x469680
call fcn.0041476d
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x41c8a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41c8e8
call fcn.0041602f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41c8e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41c904
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041c41b
mov esi, eax
test edi, edi
je 0x41c902
test ebx, ebx
je 0x41c902
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41d6f4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x445c23
call fcn.004346a1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41d719
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41d75f
lea ecx, [ebp - 0x10]
call fcn.00402570
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.0040ce00
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402680
mov eax, esi
call fcn.00434779
ret 8
Function at 0x42674c
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 0x426794
call fcn.0041602f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x426794
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4267d7
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 0x4267c0
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 0x4267c0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4267d4
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 0x427e0f
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 0x427e33
cmp dword [edi + 0x54], 0
jne 0x427e33
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041602f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.00427dd0
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 0x43164a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c5d0]
jne 0x431654
repz ret
jmp fcn.0043725f
Function at 0x441bac
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.0043aad4
and dword [ebp - 4], 0
cmp dword [0x46bf6c], 0
mov ebx, eax
jne 0x441c5d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x441d0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44e3d8
push edi
call esi
test eax, eax
je 0x441d0e
push eax
call fcn.0043aa62
mov dword [esp], 0x44e3c8
push edi
mov dword [0x46bf6c], eax
call esi
push eax
call fcn.0043aa62
mov dword [esp], 0x44e3b4
push edi
mov dword [0x46bf70], eax
call esi
push eax
call fcn.0043aa62
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46bf74], eax
call esi
push eax
call fcn.0043aa62
pop ecx
mov dword [0x46bf7c], eax
test eax, eax
je 0x441c5d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043aa62
pop ecx
mov dword [0x46bf78], eax
mov eax, dword [0x46bf78]
cmp eax, ebx
je 0x441cb5
cmp dword [0x46bf7c], ebx
je 0x441cb5
push eax
call fcn.0043aadd
push dword [0x46bf7c]
mov esi, eax
call fcn.0043aadd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x441cb5
test edi, edi
je 0x441cb5
call esi
test eax, eax
je 0x441cac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x441cac
test byte [ebp - 0xc], 1
jne 0x441cb5
or dword [ebp + 0x10], 0x200000
jmp 0x441cee
mov eax, dword [0x46bf70]
cmp eax, ebx
je 0x441cee
push eax
call fcn.0043aadd
pop ecx
test eax, eax
je 0x441cee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x441cee
mov eax, dword [0x46bf74]
cmp eax, ebx
je 0x441cee
push eax
call fcn.0043aadd
pop ecx
test eax, eax
je 0x441cee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46bf6c]
call fcn.0043aadd
pop ecx
test eax, eax
je 0x441d0e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x441d10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret