joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434876
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5f3e24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.00564e00
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.005752d9
push eax
call fcn.0042ecaa
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x5a4ac4]
je 0x4349d4
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4349e8
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4349e8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x434932
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x434926
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00434627
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x43492d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x434934
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00431a94
test eax, eax
je 0x43495b
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043191b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x43495f
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00431a94
test eax, eax
je 0x434986
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043191b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x43498a
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00431a94
test eax, eax
je 0x4349b2
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043191b
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4349b4
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x4349c6
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4349d4
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00562bba
leave
ret 4
xor eax, eax
jmp 0x4349d7
Function at 0x436187
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.00436692
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 0x4361c3
call fcn.004363a4
mov dword [esi + 0xc], 1
jmp 0x4361c8
call fcn.004363a4
cmp dword [esi], 0
je 0x436213
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x4361ee
push edi
call fcn.00430544
lea ecx, [edi + 1]
push ecx
jmp 0x4361fd
push 0xff
call fcn.004041e0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00430567
pop edi
jmp 0x436237
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 0x436237
push dword [esi]
push dword [ebp - 4]
call fcn.004358f5
pop esi
leave
ret 0xc

Function at 0x4362fb
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.004363a4
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x436343
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00430544
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00430567
jmp 0x43634e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004358f5
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43674c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x590ed3
call fcn.0056337c
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x436772
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4367cc
lea ecx, [ebp - 0x10]
call fcn.0040ba90
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5a0a04]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005752d9
push eax
call fcn.0042ecaa
add esp, 0x14
test esi, esi
je 0x4367bf
push esi
call fcn.00575360
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025f0
mov eax, ebx
call fcn.0056334a
ret 8
Function at 0x43ab81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x43abc0
call fcn.00432416
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43abc0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43abc8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00442020
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x43b5cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x43b659
cmp dword [esi + 0x20], 0
je 0x43b659
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43b659
cmp dword [ebp + 8], 0
je 0x43b659
xor edi, edi
mov ebx, edi
call fcn.00432416
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x43b63d
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43b659
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00442ba3
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43b655
mov ecx, esi
call fcn.0043b36b
mov eax, edi
jmp 0x43b65b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x443723
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x44376b
call fcn.00432416
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44376b
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x443778
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x4437b4
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x443797
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x4437a0
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x4437b2
test di, di
jne 0x4437b2
test dx, dx
je 0x4437b4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4437b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x4437e4
cmp dword [esi + 0x80], 0
jne 0x4437e4
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.00432416
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x443814
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x443814
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00443a7b
jmp 0x443816
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44381d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.00432416
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44385d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44385d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00443865
jmp 0x44385f
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x443b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x59195c
call fcn.005633e5
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.00432416
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x443baf
call fcn.00432416
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x443bc3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x443bbf
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x443bcb
or eax, 0xffffffff
jmp 0x443d1d
mov ecx, edi
call fcn.0044415a
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00439875
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x443c57
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x443c57
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x443c57
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00432520
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x443c54
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x5a0a04]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x443c54
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00436817
test eax, eax
je 0x443c54
push 0
mov ecx, esi
call fcn.004365ea
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.00439542
push ebx
call fcn.0043abee
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00443af3
test eax, eax
jne 0x443ca0
cmp dword [edi + 0x9c], eax
jne 0x443ca0
call fcn.00432416
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0043abee
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00443af3
and dword [edi + 0x9c], 0
jmp 0x443ccb
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x443cdf
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.004365ea
test esi, esi
je 0x443cec
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x443d02
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x443d02
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5a0a04]
mov ecx, edi
call esi
mov ecx, edi
call fcn.00444111
mov eax, dword [edi + 0x68]
call fcn.0056334a
ret
Function at 0x4459dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x445a33
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x445a0c
call fcn.004376c8
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x445a21
call fcn.004376c8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x445a33
call fcn.004376c8
call fcn.00432416
cmp dword [eax + 0x3c], 0
je 0x445a48
push esi
mov ecx, ebx
call fcn.00445103
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.00445c2e
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x445a71
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x445a7d
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x449dc2
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x449f08
mov ecx, 0x5f331c
call fcn.00431da4
mov esi, eax
test esi, esi
je 0x449efd
xor eax, eax
cmp word [esi + 8], ax
jne 0x449ec7
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x449e83
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x449e49
push str.MS_UI_Gothic
call fcn.00449f46
pop ecx
test eax, eax
je 0x449e49
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x449e64
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x449e83
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x449e89
push ebx
push edi
push eax
call fcn.00449934
add esp, 0xc
jmp 0x449e89
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 1
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.00430044
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x449f02
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.00431326
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x449eca
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x449ed8
push edi
call fcn.00575360
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.004044f0
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.0042ecd4
call fcn.0042ecee
int3
Function at 0x45953a
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x592ace
call fcn.005633af
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a0], edi
test ecx, ecx
je 0x4596cb
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x45969d
sub eax, 1
je 0x4595b9
sub eax, 1
je 0x459591
sub eax, 1
je 0x4595b9
push 0x5d3af9
mov ecx, edi
call fcn.00403fb0
mov eax, edi
call fcn.0056335e
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x45957b
lea eax, [ebp - 0x28c]
push eax
jmp 0x459580
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x45957b
push esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.004349ec
test eax, eax
je 0x45957b
lea ecx, [ebp - 0x3a0]
call fcn.0040ba90
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x459653
test byte [ebp - 0x21c], 0x18
jne 0x459675
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x224]
call dword [0x5a0a04]
mov ecx, ebx
call esi
jmp 0x459675
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x5a0a04]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.004043d0
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.004025f0
jmp 0x459587
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x45957b
lea eax, [ebp - 0x390]
jmp 0x4595b6
call fcn.0042ecd4
int3

Function at 0x459843
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004a9871
call fcn.00432464
cmp dword [eax + 0x14], 0
jne 0x45985e
mov ecx, esi
pop esi
jmp fcn.00458b47
pop esi
ret

Function at 0x45a1d9
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x5f3e24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x168], esi
test eax, eax
je 0x45a243
push 0x208
push 0x160
lea ecx, [ebp - 0x164]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, esi
test eax, eax
je 0x45a228
lea eax, [ebp - 0x158]
push eax
jmp 0x45a22d
push 0x5abad0
call fcn.00403fb0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00562bba
leave
ret 8
call fcn.0042ecd4
int3

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

Disassembly:
push esi
mov esi, ecx
call fcn.00403c90
call fcn.00432464
cmp dword [eax + 0x14], 0
jne 0x45a743
mov ecx, esi
pop esi
jmp fcn.00459f83
pop esi
ret
Function at 0x46369a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x4636b3
call fcn.00432416
mov esi, dword [eax + 0xc]
push 0x5ad038
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4636f5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4636f5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4636f5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004636fe
jmp 0x4636f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x500134
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x500161
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x500176
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x500176
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0043abee
jmp 0x500247
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0043abee
cmp eax, edi
jne 0x500251
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x5001e3
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x500227
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x500251
cmp eax, 0x205
je 0x500251
cmp eax, 0x201
je 0x500251
cmp eax, 0x204
je 0x500251
cmp eax, 0x100
jne 0x50020f
cmp dword [ebp - 0x18], 0x1b
je 0x500251
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x500247
ja 0x500240
cmp eax, dword [0x5fc8c8]
jbe 0x500247
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x500198
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x500629
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x50065f
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.00432520
test eax, eax
je 0x500647
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x5070be
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5f35c4], 0
push esi
push edi
je 0x507145
cmp dword [0x5f3900], 0xfffffffe
jne 0x507132
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x507145
mov edi, 0x5fc8f4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5fc90c], 0
jne 0x507149
push 0
push 0
push 0x50714f
call fcn.0057669e
add esp, 0xc
mov dword [0x5fc90c], eax
test eax, eax
je 0x507122
cmp eax, 0xffffffff
je 0x507122
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5f3900], esi
jmp 0x507129
and dword [0x5fc90c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x507145
mov eax, dword [ebp + 8]
mov dword [0x5f3900], eax
inc eax
neg eax
sbb eax, eax
and dword [0x5fc90c], eax
pop edi
pop esi
pop ebp
ret
call fcn.0042ecd4
int3