joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ab14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44ab60
mov eax, esi
call fcn.00432f64
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44ab60
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44ab60
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44aca4
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44aba0
cmp eax, 0x108
ja 0x44aba0
mov eax, esi
call fcn.00432f64
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44ac9b
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x44aca4
jmp 0x44ac9b
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44ac82
cmp eax, 0x20a
ja 0x44ac82
test byte [esi + 0x50], 0x80
jne 0x44abd2
sub eax, 0x203
je 0x44abcf
sub eax, 3
je 0x44abcf
sub eax, 3
jne 0x44abd2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44abe6
dec eax
je 0x44abfb
dec eax
je 0x44ac1b
dec eax
je 0x44abfb
jmp 0x44ac22
mov ecx, ebx
mov eax, dword [0x47bb18]
mov eax, dword [eax]
mov edx, esi
call fcn.0043c518
jmp 0x44ac9b
cmp byte [esi + 0x5d], 1
jne 0x44ac11
mov eax, esi
mov si, 0xffed
call fcn.00403b28
jmp 0x44aca4
or word [esi + 0x54], 1
jmp 0x44ac9b
and word [esi + 0x54], 0xfffe
jmp 0x44ac9b
mov eax, dword [0x47cbc8]
cmp byte [eax + 0x20], 0
je 0x44ac9b
mov eax, dword [0x47cbc8]
cmp dword [eax + 0x1c], 0
je 0x44ac9b
mov eax, dword [ebx]
mov edx, dword [0x47cbc8]
cmp eax, dword [edx + 0x1c]
jne 0x44ac9b
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00432ea8
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403b28
jmp 0x44aca4
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x44ac9b
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00449450
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e144
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44e160
cmp dword [esi + 4], 0
je 0x44e18d
test byte [ebx + 0x55], 1
jne 0x44e17f
mov eax, ebx
call fcn.0044cd9c
test eax, eax
jne 0x44e17f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44e29d
mov edx, esi
mov eax, ebx
call fcn.0044dc64
jmp 0x44e29d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44e296
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ff14
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044aa48
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044e144
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ff14
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e29d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45473c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47bcec]
cmp byte [eax + 0xc], 0
je 0x4548a9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4548a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47cc1c], 0
jne 0x454790
push 0x4548b0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4548b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc1c], eax
cmp dword [0x47acd0], 0
jne 0x45488b
push 0x4548c8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47acd0], eax
cmp dword [0x47acd0], 0
je 0x45488b
push 0x4548d4
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc20], eax
push 0x4548e4
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc24], eax
push 0x4548f8
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc28], eax
push 0x454910
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc2c], eax
push 0x454928
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc30], eax
push 0x45493c
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc34], eax
push 0x454954
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc38], eax
push 0x45496c
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc3c], eax
push 0x454988
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc40], eax
push 0x454994
mov eax, dword [0x47acd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47cc44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4548a9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x456408
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404b48
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x456460
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47bcf8]
mov dl, 1
mov eax, dword [0x455fec]
call fcn.0040c240
call fcn.004040f8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004560f4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x459acc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x459afa
mov eax, ebx
call fcn.0045a584
cmp dword [ebx + 0x3c], 0
je 0x459af3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x459b6b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x459b5d
cmp dword [ebx + 8], 0
je 0x459b1c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x459b2e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x459b5d
cmp dword [ebx + 8], 0
je 0x459b0f
cmp eax, 3
je 0x459b41
dec eax
jne 0x459b0f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x459b0f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x459b0f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x459b89
cmp dword [ebx + 0x10], 0xcc
je 0x459b89
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00459b94
pop ebx
ret

Function at 0x46c8a4
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b38
xor eax, eax
push ebp
push 0x46c994
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x46bd4c]
call fcn.0046bdb4
mov dword [ebp - 0x10], eax
mov eax, dword [0x47b7a0]
mov word [eax], 0x2c01
lea ecx, [ebp - 0x14]
mov edx, 0x46c9a8
mov eax, dword [ebp - 0x10]
call fcn.0046be4c
mov eax, dword [ebp - 0x14]
mov edx, 0x46c9b8
call fcn.00404a94
je 0x46c96c
push 0x46c9c4
push dword [ebp - 4]
push 0x46ca24
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404a10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408edc
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404b48
push eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, 0x46ca50
call fcn.0040499c
mov eax, dword [ebp - 0x18]
call fcn.00404b48
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x46ca5c
call fcn.0040deac
mov eax, dword [ebp - 0x1c]
call fcn.00404b48
push eax
push 0x46ca64
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c99b
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004046bc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046bc
ret
Function at 0x41011c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x410161
call fcn.00409b16
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410161
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41017d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004192e6
mov ebx, eax
test edi, edi
je 0x41017b
test esi, esi
je 0x41017b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x410aa5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x410b63
cmp dword [esi + 0x20], 0
je 0x410b63
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410b63
cmp dword [ebp + 8], 0
je 0x410b63
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00409b16
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp + 8], eax
test eax, eax
je 0x410b34
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x410b63
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0041a0cd
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x410b54
test edi, edi
je 0x410b54
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x410b5f
mov ecx, esi
call fcn.0041086f
mov eax, ebx
jmp 0x410b65
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414b55
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x56ae59
call fcn.00523e1e
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x74], esi
jne 0x414b7b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x414bcf
call fcn.0040b7e3
push eax
lea ecx, [ebp - 0x10]
call fcn.004097b3
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], esi
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0052f0be
push eax
call fcn.00409046
add esp, 0x14
test edi, edi
je 0x414bc2
push edi
call fcn.0052f170
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409d09
mov eax, esi
call fcn.00523de7
ret 8
Function at 0x415ca7
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x5608ac
call fcn.00523e52
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x154], esi
test eax, eax
jne 0x415cd5
call fcn.00409070
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x415cd0
lea eax, [ebp - 0x158]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x415d1d
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.0052f0be
push eax
call fcn.00409046
add esp, 0x14
push ebx
push edi
call fcn.00415c7a
xor eax, eax
jmp 0x415e3e
cmp eax, 0x104
jb 0x415d3a
test edi, edi
je 0x415d16
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0040ae98
jmp 0x415d16
call fcn.0040b7e3
push eax
lea ecx, [ebp - 0x15c]
call fcn.004097b3
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.00415624
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x415e33
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x415da5
push ebx
push edi
call fcn.00415c7a
lea ecx, [esi - 0x10]
call fcn.00409d09
jmp 0x415d16
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x415dc1
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x415e33
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x415e33
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x415d91
cmp eax, dword [ebp - 0x154]
jbe 0x415d91
lea eax, [ebp - 0x124]
push eax
call fcn.0052f170
mov edx, dword [ebp - 0x158]
sub edx, dword [ebp - 0x154]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x415e46
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x158]
call fcn.00531219
push eax
call fcn.00409046
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00409d09
xor eax, eax
inc eax
call fcn.00523dfc
ret 0xc
test edi, edi
je 0x415d98
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.0040ae98
jmp 0x415d98
Function at 0x416888
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00414ae4
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4168c4
call fcn.00416aa7
mov dword [esi + 0xc], 1
jmp 0x4168c9
call fcn.00416aa7
cmp dword [esi], 0
je 0x416912
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4168ec
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040a2da
jmp 0x4168fd
push 0xff
mov ecx, esi
call fcn.00409c99
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040a2fd
jmp 0x416936
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x416936
push dword [esi]
push dword [ebp - 4]
call fcn.004160e5
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4169fc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00416aa7
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x416a44
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040a2da
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040a2fd
jmp 0x416a4f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004160e5
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41ab8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x41abba
cmp dword [ebx + 0x80], 0
jne 0x41abba
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00409b16
push 5
push edi
mov esi, dword [eax + 0xc]
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 edi, eax
mov ecx, ebx
push edi
call fcn.0041ae22
push edi
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 0x41abf4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00409b16
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41ac2b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041ac4c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41aefe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x560b5e
call fcn.00523e89
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
call fcn.00409b16
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x84], ebx
je 0x41af5d
call fcn.00409b16
push 5
push dword [esi + 0x84]
mov edi, dword [eax + 0xc]
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x41af6d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
jmp 0x41af70
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41af7c
or eax, 0xffffffff
jmp 0x41b0c4
mov ecx, esi
call fcn.0041b406
mov edi, eax
mov dword [ebp - 0x30], edi
call fcn.0040ef12
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
test edi, edi
je 0x41aff4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x41aff4
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41aff4
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00409d52
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41aff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x150]
test eax, eax
je 0x41aff4
mov ecx, dword [ebp - 0x18]
call fcn.00414c0a
test eax, eax
je 0x41aff4
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.00414a70
mov dword [ebp - 0x28], 1
push esi
mov dword [ebp - 4], ebx
call fcn.0040ebf7
push edi
call fcn.00410186
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.0041ae9f
test eax, eax
jne 0x41b03c
cmp dword [esi + 0x9c], ebx
jne 0x41b03c
call fcn.00409b16
push edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00410186
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.0041ae9f
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x9c], ebx
jmp 0x41b06d
cmp dword [ebp - 0x28], 0
je 0x41b07d
mov ecx, dword [ebp - 0x18]
push 1
call fcn.00414a70
cmp dword [ebp - 0x2c], 0
je 0x41b08c
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x41b0a2
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41b0a2
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041b3bd
cmp dword [esi + 0x84], ebx
je 0x41b0c1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x68]
call fcn.00523de7
ret
Function at 0x41cbb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x41cbca
mov edi, dword [esi + 0xc]
jmp 0x41cc0a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41cbe3
call fcn.004176a2
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x41cbf8
call fcn.004176a2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x41cc0a
call fcn.004176a2
call fcn.00409b16
cmp dword [eax + 0x3c], 0
je 0x41cc1f
push edi
mov ecx, ebx
call fcn.0041c325
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0041cdf3
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x41cc48
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x41cc54
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42ff58
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5c3dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x42ffad
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005235c9
mov esp, ebp
pop ebp
ret 4