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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5f4e24]
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.00565b20
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00575fdd
push eax
call fcn.0042f428
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x5a5a04]
je 0x4356fc
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 0x435710
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x435710
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 0x43565a
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x43564e
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0043534f
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x435655
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43565c
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00432c5b
test eax, eax
je 0x435683
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043246d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x435687
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00432c5b
test eax, eax
je 0x4356ae
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043246d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4356b2
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00432c5b
test eax, eax
je 0x4356da
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043246d
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4356dc
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x4356ee
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4356fc
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.005638db
leave
ret 4
xor eax, eax
jmp 0x4356ff
Function at 0x436eaf
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.004373ba
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 0x436eeb
call fcn.004370cc
mov dword [esi + 0xc], 1
jmp 0x436ef0
call fcn.004370cc
cmp dword [esi], 0
je 0x436f3b
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 0x436f16
push edi
call fcn.00430cc2
lea ecx, [edi + 1]
push ecx
jmp 0x436f25
push 0xff
call fcn.00403ec0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00430ce5
pop edi
jmp 0x436f5f
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 0x436f5f
push dword [esi]
push dword [ebp - 4]
call fcn.0043661d
pop esi
leave
ret 0xc

Function at 0x437023
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.004370cc
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43706b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00430cc2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00430ce5
jmp 0x437076
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043661d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x437474
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5924a8
call fcn.0056409a
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x43749a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4374f4
lea ecx, [ebp - 0x10]
call fcn.0040bc80
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 [0x5a1a14]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00575fdd
push eax
call fcn.0042f428
add esp, 0x14
test esi, esi
je 0x4374e7
push esi
call fcn.00576060
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004022c0
mov eax, ebx
call fcn.00564068
ret 8
Function at 0x43b8a9
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 0x43b8e8
call fcn.00432334
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43b8e8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43b8f0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00442d46
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x43c2f5
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 0x43c381
cmp dword [esi + 0x20], 0
je 0x43c381
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c381
cmp dword [ebp + 8], 0
je 0x43c381
xor edi, edi
mov ebx, edi
call fcn.00432334
push 0x5a8690
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 0x43c365
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 0x43c381
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004438c9
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43c37d
mov ecx, esi
call fcn.0043c093
mov eax, edi
jmp 0x43c383
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44444b
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 0x444493
call fcn.00432334
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 0x444493
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4444a0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x4444dc
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x4444bf
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x4444c8
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x4444da
test di, di
jne 0x4444da
test dx, dx
je 0x4444dc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4444e1
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 0x44450c
cmp dword [esi + 0x80], 0
jne 0x44450c
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.00432334
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44453c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44453c
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004447a3
jmp 0x44453e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x444545
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.00432334
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x444585
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x444585
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0044458d
jmp 0x444587
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x444878
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x592e53
call fcn.00564103
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.00432334
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x4448d7
call fcn.00432334
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 0x4448eb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x4448e7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x4448f3
or eax, 0xffffffff
jmp 0x444a45
mov ecx, edi
call fcn.00444e82
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.0043a59d
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x44497f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x44497f
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44497f
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00433248
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x44497c
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x5a1a14]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x44497c
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0043753f
test eax, eax
je 0x44497c
push 0
mov ecx, esi
call fcn.00437312
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.0043a26a
push ebx
call fcn.0043b916
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0044481b
test eax, eax
jne 0x4449c8
cmp dword [edi + 0x9c], eax
jne 0x4449c8
call fcn.00432334
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0043b916
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0044481b
and dword [edi + 0x9c], 0
jmp 0x4449f3
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x444a07
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00437312
test esi, esi
je 0x444a14
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x444a2a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x444a2a
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5a1a14]
mov ecx, edi
call esi
mov ecx, edi
call fcn.00444e39
mov eax, dword [edi + 0x68]
call fcn.00564068
ret
Function at 0x446705
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 0x44675b
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x446734
call fcn.004383f0
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x446749
call fcn.004383f0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x44675b
call fcn.004383f0
call fcn.00432334
cmp dword [eax + 0x3c], 0
je 0x446770
push esi
mov ecx, ebx
call fcn.00445e2b
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.00446956
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x446799
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4467a5
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 0x44aaea
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x44ac30
mov ecx, 0x5f431c
call fcn.00432f88
mov esi, eax
test esi, esi
je 0x44ac25
xor eax, eax
cmp word [esi + 8], ax
jne 0x44abef
push 0x5a7594
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x44abab
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x44ab71
push 0x5a9e70
call fcn.0044ac6e
pop ecx
test eax, eax
je 0x44ab71
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 0x44ab8c
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 0x44abab
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 0x44abb1
push ebx
push edi
push eax
call fcn.0044a65c
add esp, 0xc
jmp 0x44abb1
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.004307c2
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 0x44ac2a
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.004319b8
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x44abf2
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x44ac00
push edi
call fcn.00576060
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.004041d0
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.0042f452
call fcn.0042f46c
int3
Function at 0x45a261
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x593fc5
call fcn.005640cd
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 0x45a3f2
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x45a3c4
sub eax, 1
je 0x45a2e0
sub eax, 1
je 0x45a2b8
sub eax, 1
je 0x45a2e0
push 0x5d4835
mov ecx, edi
call fcn.00403c90
mov eax, edi
call fcn.0056407c
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 0x45a2a2
lea eax, [ebp - 0x28c]
push eax
jmp 0x45a2a7
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x45a2a2
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.00435714
test eax, eax
je 0x45a2a2
lea ecx, [ebp - 0x3a0]
call fcn.0040bc80
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x45a37a
test byte [ebp - 0x21c], 0x18
jne 0x45a39c
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 [0x5a1a14]
mov ecx, ebx
call esi
jmp 0x45a39c
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 [0x5a1a14]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.004040b0
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.004022c0
jmp 0x45a2ae
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 0x45a2a2
lea eax, [ebp - 0x390]
jmp 0x45a2dd
call fcn.0042f452
int3

Function at 0x45a56a
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004aa594
call fcn.00432382
cmp dword [eax + 0x14], 0
jne 0x45a585
mov ecx, esi
pop esi
jmp fcn.0045986e
pop esi
ret

Function at 0x45af00
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x5f4e24]
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 0x45af6a
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 0x45af4f
lea eax, [ebp - 0x158]
push eax
jmp 0x45af54
push 0x5acab0
call fcn.00403c90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005638db
leave
ret 8
call fcn.0042f452
int3

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

Disassembly:
push esi
mov esi, ecx
call fcn.00403970
call fcn.00432382
cmp dword [eax + 0x14], 0
jne 0x45b46a
mov ecx, esi
pop esi
jmp fcn.0045acaa
pop esi
ret
Function at 0x4643be
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 0x4643d7
call fcn.00432334
mov esi, dword [eax + 0xc]
push 0x5ae018
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x464419
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x464419
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x464419
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00464422
jmp 0x46441b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x500e55
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 0x500e82
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x500e97
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x500e97
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.0043b916
jmp 0x500f68
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0043b916
cmp eax, edi
jne 0x500f72
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 0x500f04
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 0x500f48
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x500f72
cmp eax, 0x205
je 0x500f72
cmp eax, 0x201
je 0x500f72
cmp eax, 0x204
je 0x500f72
cmp eax, 0x100
jne 0x500f30
cmp dword [ebp - 0x18], 0x1b
je 0x500f72
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 0x500f68
ja 0x500f61
cmp eax, dword [0x5fd838]
jbe 0x500f68
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x500eb9
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x50134a
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x501380
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.00433248
test eax, eax
je 0x501368
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 0x507ddf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5f45c4], 0
push esi
push edi
je 0x507e66
cmp dword [0x5f4900], 0xfffffffe
jne 0x507e53
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x507e66
mov edi, 0x5fd864
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5fd87c], 0
jne 0x507e6a
push 0
push 0
push 0x507e70
call fcn.0057788f
add esp, 0xc
mov dword [0x5fd87c], eax
test eax, eax
je 0x507e43
cmp eax, 0xffffffff
je 0x507e43
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5f4900], esi
jmp 0x507e4a
and dword [0x5fd87c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x507e66
mov eax, dword [ebp + 8]
mov dword [0x5f4900], eax
inc eax
neg eax
sbb eax, eax
and dword [0x5fd87c], eax
pop edi
pop esi
pop ebp
ret
call fcn.0042f452
int3