joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x6092f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x70]
push 0xe
push edi
mov dword [esp + 0x18], ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4a9ebe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a9f31
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4a9f31
xor ebx, ebx
cmp word [ebp + 4], bx
jbe 0x4a9e9f
lea ecx, [esp + 0x14]
call fcn.004a6480
mov eax, ebx
xor edx, edx
and eax, 0xffff
mov dword [esp + 0x64], 0
lea ecx, [eax*8]
sub ecx, eax
mov dl, byte [ebp + ecx*2 + 7]
lea eax, [ebp + ecx*2]
xor ecx, ecx
mov edi, edx
mov cl, byte [eax + 6]
mov esi, ecx
mov ecx, dword [esp + 0x78]
cmp ecx, esi
jne 0x4a9e39
cmp dword [esp + 0x7c], edi
je 0x4a9e45
test ecx, ecx
jne 0x4a9e83
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x4a9e83
xor edx, edx
push 0
mov dx, word [eax + 0x12]
mov eax, dword [esp + 0x70]
push edi
push esi
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.004a6a90
test eax, eax
je 0x4a9ea9
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push edi
push esi
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004a9b20
test eax, eax
je 0x4a9ea9
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.004a6720
inc ebx
cmp bx, word [ebp + 4]
jb 0x4a9df7
mov eax, 1
jmp 0x4a9f31
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.004a6720
xor eax, eax
jmp 0x4a9f31
lea ecx, [esp + 0x38]
call fcn.004a6480
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
push 0
push ebx
push ebp
push edi
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 1
call fcn.004a6a90
test eax, eax
jne 0x4a9eff
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call fcn.004a6720
xor eax, eax
jmp 0x4a9f31
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004a9b20
lea ecx, [esp + 0x38]
mov esi, eax
mov dword [esp + 0x64], 0xffffffff
call fcn.004a6720
mov eax, esi
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x18
Function at 0x4aa030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x609328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
test ebx, ebx
push edi
mov dword [esp + 0x1c], ecx
je 0x4aa05f
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4aa066
xor eax, eax
jmp 0x4aa1c1
mov edi, dword [esp + 0x6c]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
test edi, edi
jne 0x4aa085
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x4aa085
push eax
call esi
mov dword [esp + 0x6c], eax
mov edi, eax
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4aa0d6
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4aa0d6
test edi, edi
jle 0x4aa0d6
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageInfo]
lea edx, [esp + 0x40]
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, ebp
sub ecx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [ebx + 4]
push ecx
call esi
xor edx, edx
cmp eax, edi
sete dl
xor ebx, ebx
mov dword [esp + 0x18], edx
test edi, edi
mov dword [esp + 0x14], ebx
jle 0x4aa1bc
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4aa126
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4aa126
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x4aa1a0
cmp eax, 0xdeadbeaf
je 0x4aa1a0
mov edx, dword [esp + 0x64]
push 0
push ebx
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
test esi, esi
je 0x4aa05f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4aa151
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
jmp 0x4aa155
mov edi, dword [esp + 0x14]
push 1
push esi
lea ecx, [esp + 0x38]
call fcn.004a6490
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ebp
push edx
push eax
lea ecx, [esp + 0x3c]
push edi
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x70], 0
call fcn.004a9b20
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a6720
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x6c]
inc ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x4aa101
mov eax, 1
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x18
Function at 0x4aaa30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6093c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.004a44f0
add esp, 8
test eax, eax
jne 0x4aaaae
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call fcn.005e7d54
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
push eax
lea ecx, [esp + 0xc]
call fcn.005e7cfd
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004aa660
mov esi, eax
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 2
call fcn.005e7d54
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18

Function at 0x4aaca0
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x609410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push 0x400
lea ecx, [esp + 0x10]
call fcn.005ef8b3
push 0
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x90], 0
call fcn.005e9a0a
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x88], 1
call fcn.004ab660
lea ecx, [esp + 0x34]
call fcn.005e9d1b
lea ecx, [esp + 0xc]
call fcn.005efa15
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.005ef966
push esi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4aad6f
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x7c764c]
push ebp
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
lea ecx, [esp + 0x34]
call fcn.005e9b6e
lea ecx, [esp + 0xc]
call fcn.005efb5f
push ebx
call fcn.00474394
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0
call fcn.005e9ae6
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], 0xffffffff
call fcn.005ef978
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4
Function at 0x4b3c60
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60a177
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x138]
push ebp
push esi
cmp ebx, 0x60
push edi
jb 0x4b3ca9
cmp ebx, 0x69
ja 0x4b3ca9
movsx eax, byte [esp + 0x140]
add ebx, 0xffffffd0
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
jmp 0x4b3e99
push 2
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
je 0x4b3e70
mov edx, dword [esp + 0x140]
push edx
call fcn.004b3ff0
mov cl, byte [esp + 0x144]
add esp, 4
cmp cl, bl
mov byte [esp + 0x13], al
je 0x4b3e94
cmp al, bl
je 0x4b3e94
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor esi, esi
push esi
push esi
call ebp
mov edi, eax
cmp edi, 1
jl 0x4b3e70
xor ebx, ebx
mov dword [esp + 0x18], 0x64e260
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
cmp edi, esi
mov dword [esp + 0x138], esi
jne 0x4b3d2b
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x4b3d52
lea eax, [edi*4]
push eax
call fcn.005dec8c
add esp, 4
mov dword [esp + 0x1c], eax
push edi
push eax
call fcn.0056b7f0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
push ebx
push edi
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x4b3d7d
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 1
jmp 0x4b3e63
cmp edi, esi
mov dword [esp + 0x2c], esi
jle 0x4b3e50
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
mov esi, ebx
mov dword [esp + 0x14], 0
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x148]
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
call ebp
cmp eax, 1
jne 0x4b3de1
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x4b3e74
push eax
call fcn.004b3ff0
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x4b3e74
mov bl, byte [esp + 0x40]
mov byte [esp + 0x40], 0x81
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x148]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push eax
call ebp
cmp eax, 1
jne 0x4b3e32
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x4b3eb2
push eax
call fcn.004b3ff0
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x4b3eb2
mov eax, dword [esp + 0x2c]
add esi, 4
inc eax
mov byte [esp + 0x40], bl
mov ebx, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x2c], eax
jl 0x4b3d91
xor esi, esi
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 4
cmp ebx, esi
je 0x4b3e70
push ebx
call fcn.005decb5
add esp, 4
xor eax, eax
jmp 0x4b3e99
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
test ebx, ebx
mov dword [esp + 0x138], 2
je 0x4b3e94
push ebx
call fcn.005decb5
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x138], 3
test eax, eax
je 0x4b3e94
push eax
jmp 0x4b3e8c
Function at 0x4b5d90
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x60a3f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov dword [esp + 0xc], 0
call fcn.004bede0
mov ecx, eax
call fcn.004beee0
test al, al
jne 0x4b5ddd
mov esi, dword [esp + 0x134]
push 0x796570
mov ecx, esi
call fcn.005e37be
jmp 0x4b5f77
mov eax, dword [0x7815b4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
mov dword [esp + 0x130], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4b5e5f
lea edx, [esp + 0x10]
push edx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4b5e46
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4b5e46
lea edx, [esp + 0x20]
lea ecx, [esp + 8]
push edx
call fcn.005e38d9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4b5e86
mov esi, dword [esp + 0x134]
push 0x796570
mov ecx, esi
call fcn.005e37be
mov dword [esp + 0xc], ebx
jmp 0x4b5f66
call fcn.005f9649
mov esi, dword [eax + 4]
push 0x69da70
lea ecx, [esp + 0x18]
call fcn.005e37be
mov ecx, dword [esi + 0x78]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x138], 2
call fcn.005e39e5
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 3
call fcn.005e3b68
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 2
call fcn.005e3750
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], bl
call fcn.005e3750
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4b5f07
test al, 0x10
jne 0x4b5f20
mov esi, dword [esp + 0x134]
push 0x796570
mov ecx, esi
call fcn.005e37be
mov dword [esp + 0xc], ebx
jmp 0x4b5f66
lea edx, [esp + 8]
push 0x69da70
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005e39e5
mov ecx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
push ecx
push eax
push esi
mov byte [esp + 0x138], 4
call fcn.005e397f
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x12c], bl
call fcn.005e3750
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 0
call fcn.005e3750
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 8
Function at 0x4b6470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60a49e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [esp + 0xcc]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, ecx
push 0x1000
push 1
push eax
lea ecx, [esp + 0x94]
call fcn.005e9a0a
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.004fb8d0
mov edi, dword [esp + 0xdc]
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
mov dword [esp + 0x5c], edi
call fcn.005e2b00
mov dword [esp + 0x2c], 0x64b950
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], 0x64e3b0
mov dword [esp + 0x28], esi
mov edx, dword [esi]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 2
call dword [edx + 0x88]
test eax, eax
je 0x4b6539
mov eax, dword [edi + 8]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x90]
lea ecx, [esp + 0x84]
call fcn.005e9b6e
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
call fcn.004e0700
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], bl
call fcn.004fa3c0
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], 0xffffffff
call fcn.005e9ae6
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 8

Function at 0x4b90f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
cmp esi, 8
mov edi, ecx
je 0x4b9135
cmp esi, 0x21
jb 0x4b910a
cmp esi, 0x2e
jbe 0x4b9135
cmp esi, 0x43
je 0x4b911e
cmp esi, 0x56
je 0x4b911e
cmp esi, 0x58
je 0x4b911e
cmp esi, 0x5a
jne 0x4b912b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4b9135
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov ecx, edi
mov dword [esp + 0x10], 0x100
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
call fcn.005e315a
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x1c
ret 8

Function at 0x4b9360
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x4b9378
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov ebx, dword [esp + 0x28]
cmp ebx, 0x26
je 0x4b9390
cmp ebx, 0x28
je 0x4b9390
cmp ebx, 0x22
je 0x4b9390
cmp ebx, 0x21
jne 0x4b939d
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4b93a7
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [edi + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
push 1
push eax
call esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
neg eax
sbb eax, eax
pop esi
pop edi
pop ebx
neg eax
add esp, 0x1c
ret 8
Function at 0x4bd690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60ace7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], al
mov byte [esi + 0x11], al
mov byte [esi + 0x12], al
mov byte [esi + 0x13], al
mov byte [esi + 0x14], al
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], al
mov edx, dword [0x7815b4]
mov dword [esp + 4], esi
mov dword [esi + 0x18], edx
mov edx, dword [0x7815b4]
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], edx
mov edx, dword [0x7815b4]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 0x64f2f0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xa
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 3
call fcn.00491e00
mov ecx, esi
mov byte [esp + 0x10], 4
mov dword [esi], 0x64f290
call fcn.004bd820
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4c0100
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov dword [esi + 4], 0
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x4c0080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xc], eax
je 0x4c014d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x4c0150
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
je 0x4c01d6
mov eax, dword [esi + 0x14]
push ebp
push edi
push eax
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push edx
call edi
test eax, eax
je 0x4c01c3
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], 0x103
jne 0x4c01c3
inc ebx
cmp ebx, 0xa
ja 0x4c01b7
mov eax, dword [esi + 0xc]
push 0x64
push eax
call ebp
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
test eax, eax
jne 0x4c018e
jmp 0x4c01c3
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 0xc], 0
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x4c29c0
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x4c29f0
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov ax, word [esp]
pop ecx
ret
Function at 0x4c3310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov dword [esp + 8], ecx
push esi
mov ecx, dword [esp + 0x1c]
push edi
call fcn.005e36db
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, edi
push 6
shr eax, 4
inc eax
and eax, 0xffff
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x4c334d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4c3361
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4c3376
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4c3395
cmp esi, eax
jae 0x4c3399
xor ecx, ecx
dec edi
mov cx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4c3385
cmp esi, eax
jb 0x4c33a3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
xor ebx, ebx
mov bx, word [esi]
test ebx, ebx
jne 0x4c33b6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4c33c6
mov ebp, dword [eax + 4]
jmp 0x4c33c8
xor ebp, ebp
push 0
push 0
push 0
lea edi, [esi + 2]
push 0
push ebx
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x20]
mov esi, eax
push esi
call fcn.005e3bf7
push 0
push 0
push esi
push eax
push ebx
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x20]
push esi
call fcn.005e3bcf
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x4c4a80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, ecx
push 1
call esi
test ax, ax
jl 0x4c4b6f
push 2
call esi
test ax, ax
jl 0x4c4b6f
push 4
call esi
test ax, ax
jl 0x4c4b6f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x44]
xor ebp, ebp
test eax, eax
jle 0x4c4b6f
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [edi + 0x40]
mov esi, dword [ecx + ebp*4]
mov edx, dword [esi + 0x20]
push edx
call ebx
test eax, eax
je 0x4c4b63
mov eax, dword [esi + 0x20]
push eax
call fcn.005dfba6
lea ecx, [esi + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
mov cl, byte [esi + 8]
test cl, 1
je 0x4c4b25
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4c4b31
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.005e78ff
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4c4b63
test byte [esi + 8], 1
jne 0x4c4b79
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0
call fcn.004c4640
cmp eax, dword [esi + 0x20]
je 0x4c4b79
mov eax, dword [edi + 0x44]
inc ebp
cmp ebp, eax
jl 0x4c4ad4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4c94a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.004c85c0
mov ecx, eax
jmp fcn.004c9530