joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d3cd
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.00433627
and dword [ebp - 4], 0
cmp dword [0x456a2c], 0
mov ebx, eax
jne 0x43d47e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43d52f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43d52f
push eax
call fcn.004335b5
mov dword [esp], 0x4470d0
push edi
mov dword [0x456a2c], eax
call esi
push eax
call fcn.004335b5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x456a30], eax
call esi
push eax
call fcn.004335b5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456a34], eax
call esi
push eax
call fcn.004335b5
pop ecx
mov dword [0x456a3c], eax
test eax, eax
je 0x43d47e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004335b5
pop ecx
mov dword [0x456a38], eax
mov eax, dword [0x456a38]
cmp eax, ebx
je 0x43d4d6
cmp dword [0x456a3c], ebx
je 0x43d4d6
push eax
call fcn.00433630
push dword [0x456a3c]
mov esi, eax
call fcn.00433630
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43d4d6
test edi, edi
je 0x43d4d6
call esi
test eax, eax
je 0x43d4cd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d4cd
test byte [ebp - 0xc], 1
jne 0x43d4d6
or dword [ebp + 0x10], 0x200000
jmp 0x43d50f
mov eax, dword [0x456a30]
cmp eax, ebx
je 0x43d50f
push eax
call fcn.00433630
pop ecx
test eax, eax
je 0x43d50f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43d50f
mov eax, dword [0x456a34]
cmp eax, ebx
je 0x43d50f
push eax
call fcn.00433630
pop ecx
test eax, eax
je 0x43d50f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456a2c]
call fcn.00433630
pop ecx
test eax, eax
je 0x43d52f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d531
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040fe20

Function at 0x401f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401f25
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401f66
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401f62
nop word [eax + eax]
cmp esi, edx
jae 0x401f66
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401f50
cmp esi, edx
jb 0x401f6b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x408721
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5704a8
call fcn.00532568
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x74], esi
jne 0x408747
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40879b
call fcn.00407579
push eax
lea ecx, [ebp - 0x10]
call fcn.004027d0
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.0053faf3
push eax
call fcn.00401fb0
add esp, 0x14
test edi, edi
je 0x40878e
push edi
call fcn.0053f6b4
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
mov eax, esi
call fcn.00532531
ret 8

Function at 0x40b089
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 0x40b0ce
call fcn.004090ee
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b0ce
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40b0ea
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00422bd9
mov ebx, eax
test edi, edi
je 0x40b0e8
test esi, esi
je 0x40b0e8
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 0x40ba0e
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 0x40bacc
cmp dword [esi + 0x20], 0
je 0x40bacc
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40bacc
cmp dword [ebp + 8], 0
je 0x40bacc
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004090ee
push 0x575230
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40ba9d
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 0x40bacc
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.004237d2
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x40babd
test edi, edi
je 0x40babd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x40bac8
mov ecx, esi
call fcn.0040b7d8
mov eax, ebx
jmp 0x40bace
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fe20
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 0x40fe4b
cmp dword [ebx + 0x80], 0
jne 0x40fe4b
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004090ee
push 5
push edi
mov esi, dword [eax + 0xc]
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 edi, eax
mov ecx, ebx
push edi
call fcn.004100b8
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 0x40fe85
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.004090ee
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40febc
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.0040fedd
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 0x410194
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x5639c4
call fcn.005325d3
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.004090ee
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x84], ebx
je 0x4101f3
call fcn.004090ee
push 5
push dword [esi + 0x84]
mov edi, dword [eax + 0xc]
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x410203
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
jmp 0x410206
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x410212
or eax, 0xffffffff
jmp 0x41035a
mov ecx, esi
call fcn.004106a3
mov edi, eax
mov dword [ebp - 0x30], edi
call fcn.00409ec4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
test edi, edi
je 0x41028a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x41028a
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41028a
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00409b02
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41028a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x150]
test eax, eax
je 0x41028a
mov ecx, dword [ebp - 0x18]
call fcn.0040883e
test eax, eax
je 0x41028a
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.00408242
mov dword [ebp - 0x28], 1
push esi
mov dword [ebp - 4], ebx
call fcn.00409b5c
push edi
call fcn.0040b0f3
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.00410135
test eax, eax
jne 0x4102d2
cmp dword [esi + 0x9c], ebx
jne 0x4102d2
call fcn.004090ee
push edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0040b0f3
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.00410135
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x9c], ebx
jmp 0x410303
cmp dword [ebp - 0x28], 0
je 0x410313
mov ecx, dword [ebp - 0x18]
push 1
call fcn.00408242
cmp dword [ebp - 0x2c], 0
je 0x410322
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x410338
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x410338
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.0041065a
cmp dword [esi + 0x84], ebx
je 0x410357
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x68]
call fcn.00532531
ret
Function at 0x41324d
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563b8a
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.00532740
mov eax, dword [0x5cf004]
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 edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2020], edx
mov dword [ebp - 0x2028], ebx
cmp dword [ecx + 0x58], ebx
je 0x413384
push ebx
push eax
call fcn.004133d3
mov ebx, eax
test ebx, ebx
jne 0x4132b5
push esi
jmp 0x4133ac
call fcn.00407579
push eax
lea ecx, [ebp - 0x2014]
call fcn.004027d0
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x201c]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2024], eax
test eax, eax
jne 0x413343
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.004024f0
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x201c]
push eax
push 0
push dword [ebp - 0x2020]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x2024], eax
call fcn.00408da6
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2024], 0
jne 0x413371
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.00402690
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402820
jmp 0x4133b3
push esi
mov ecx, edi
call fcn.00402210
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x41336a
test esi, esi
jne 0x41338d
mov esi, 0x573dc0
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.00402210
mov eax, edi
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.00531d62
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426612
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 0x42662c
mov edi, dword [esi + 0xc]
jmp 0x42666c
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x426645
call fcn.00414838
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42665a
call fcn.00414838
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42666c
call fcn.00414838
call fcn.004090ee
cmp dword [eax + 0x3c], 0
je 0x426681
push edi
mov ecx, ebx
call fcn.00425d7f
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00426855
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4266aa
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4266b6
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 0x42b9be
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x564edf
call fcn.0053259c
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 - 0x264], esi
test eax, eax
jne 0x42b9ec
call fcn.00407f98
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x42b9e7
lea eax, [ebp - 0x268]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x42ba34
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.0053faf3
push eax
call fcn.00401fb0
add esp, 0x14
push ebx
push edi
call fcn.0042b991
xor eax, eax
jmp 0x42bb57
cmp eax, 0x104
jb 0x42ba51
test edi, edi
je 0x42ba2d
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00402180
jmp 0x42ba2d
call fcn.00407579
push eax
lea ecx, [ebp - 0x26c]
call fcn.004027d0
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.0042b348
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x42bb4c
xor ecx, ecx
lea eax, [ebp - 0x270]
push ecx
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x42babc
push ebx
push edi
call fcn.0042b991
lea ecx, [esi - 0x10]
call fcn.00402820
jmp 0x42ba2d
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x42bad8
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x42bb4c
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42bb4c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x42baa8
cmp eax, dword [ebp - 0x264]
jbe 0x42baa8
lea eax, [ebp - 0x234]
push eax
call fcn.0053f6b4
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x42bb5f
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.0053b334
push eax
call fcn.00401fb0
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00402820
xor eax, eax
inc eax
call fcn.00532546
ret 0xc
test edi, edi
je 0x42baaf
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00402180
jmp 0x42baaf
Function at 0x42dbaf
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.00408398
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42dbeb
call fcn.0042ddce
mov dword [esi + 0xc], 1
jmp 0x42dbf0
call fcn.0042ddce
cmp dword [esi], 0
je 0x42dc39
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42dc13
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00408d83
jmp 0x42dc24
push 0xff
mov ecx, esi
call fcn.004024f0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00408da6
jmp 0x42dc5d
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x42dc5d
push dword [esi]
push dword [ebp - 4]
call fcn.004248a9
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42dd23
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.0042ddce
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42dd6b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00408d83
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408da6
jmp 0x42dd76
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004248a9
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x431b54
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x5cf004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x431d79
test esi, esi
je 0x431d79
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x874], ebx
mov dword [ebp - 0x870], ebx
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x868], ebx
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
sub eax, ebx
je 0x431d4a
sub eax, 1
je 0x431bec
sub eax, 1
je 0x431cb2
sub eax, 1
jne 0x431d64
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x431d45
push ebx
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004366fc
test eax, eax
je 0x431d45
lea eax, [ebp - 0x414]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x431caa
push ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004366fc
test eax, eax
je 0x431caa
cmp dword [ebp + 0x10], 1
jne 0x431d0a
test byte [ebp - 0x854], 0x10
jne 0x431d45
test byte [ebp - 0x624], 0x10
jne 0x431caa
mov ecx, dword [ebp - 0x628]
mov eax, dword [ebp - 0x62c]
cmp dword [ebp - 0x858], ecx
ja 0x431caa
jb 0x431d45
cmp dword [ebp - 0x85c], eax
jb 0x431d45
cmp dword [ebp - 0x858], ecx
jb 0x431d64
ja 0x431caa
cmp dword [ebp - 0x85c], eax
jbe 0x431d64
xor ebx, ebx
inc ebx
jmp 0x431d64
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0xddc]
push 0x408
push 0x2b4
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x431d64
push 0x408
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x431d64
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x431d64
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.0043120c
test al, al
jne 0x431d45
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.0043122b
xor ebx, ebx
test al, al
setne bl
jmp 0x431d64
or ebx, 0xffffffff
jmp 0x431d64
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x431d61
xor eax, eax
jmp 0x431d66
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531d62
mov esp, ebp
pop ebp
ret 0xc
call fcn.00407f98
int3

Function at 0x432632
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00476eb5
call fcn.00409142
cmp dword [eax + 0x14], 0
jne 0x43264d
mov ecx, esi
pop esi
jmp fcn.00431a01
pop esi
ret
Function at 0x448af2
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x178]
mov bx, word [ebp + 8]
mov edi, eax
push 2
movzx edx, bx
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x448b37
test edi, edi
js 0x448b37
cmp eax, 0x20
je 0x448b2c
cmp bx, 0x71
jne 0x448b37
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x190]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47364c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
cmp eax, edx
ja 0x4737f5
je 0x47381f
cmp eax, 0xa1
jb 0x473862
cmp eax, 0xa2
jbe 0x47381f
cmp eax, 0xa3
jbe 0x473862
cmp eax, 0xa5
jbe 0x47381f
cmp eax, 0xa6
jbe 0x473862
cmp eax, 0xa8
jbe 0x47381f
cmp eax, 0x100
jne 0x473862
cmp dword [esi + 0xc0], 0xffffffff
je 0x47381f
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x47381d
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x47377d
sub eax, 1
jne 0x47381d
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
add eax, ecx
lea edi, [ecx + 1]
jmp 0x473730
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x473736
mov eax, dword [esi + 0xbc]
inc edi
add eax, dword [esi + 0xc0]
cmp edi, eax
jl 0x473706
jmp 0x473775
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00408b40
mov edx, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [edx + 0x270]
and dword [esi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x473888
mov ecx, dword [esi + 0xc0]
lea edi, [ecx - 1]
add edi, dword [esi + 0xbc]
cmp edi, ecx
jle 0x473775
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x4737b8
dec edi
cmp edi, dword [esi + 0xc0]
jg 0x473790
jmp 0x473775
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00408b40
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [eax + 0x270]
jmp 0x47376e
cmp eax, 0x200
jb 0x473862
cmp eax, 0x202
jbe 0x47381f
cmp eax, 0x203
jbe 0x473862
cmp eax, 0x205
jbe 0x47381f
add eax, 0xfffffdf9
cmp eax, 1
ja 0x473862
jmp 0x47381f
xor ecx, ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x47383f
cmp dword [eax + 0x20], 0
je 0x47383f
push edi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x473860
cmp dword [eax + 0x20], 0
je 0x473860
push edi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [edi + 4], 0x203
jne 0x473880
lea eax, [esi + 0x2250]
test eax, eax
je 0x473878
mov ecx, dword [eax + 0x20]
cmp dword [edi], ecx
je 0x473775
push edi
mov ecx, esi
call fcn.0046c121
pop edi
pop esi
pop ebp
ret 4