joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495c20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x495c53
push esi
call fcn.00498d30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x495c4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x495cd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x495cc2
mov eax, dword [esi + 8]
test eax, eax
je 0x495c77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x495cbe
cmp eax, 2
je 0x495cc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x495c6a
cmp eax, 3
je 0x495c9d
cmp eax, 1
jne 0x495c6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x495c6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x495c6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00495d00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x495ce8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00495d00
add esp, 4
pop esi
ret

Function at 0x4a35b8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51920c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00507351
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.004e9b20
call fcn.004a9940
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.004a9940
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.004a9940
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.004a9940
mov dword [edi], 0x562f7c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.00504120
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x56304c
mov eax, dword [0x599ea4]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.004a9940
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.00504120
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a36a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x519294
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.00504149
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x562f78
call fcn.004a9b40
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.00505c62
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.0050cc7d
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.00504149
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x562f78
call fcn.004a9b40
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x562f78
call fcn.004a9b40
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x562f78
call fcn.004a9b40
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x562f78
call fcn.004a9b40
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00503ce2
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4a60f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4a6193
test eax, eax
jbe 0x4a6193
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4a6193
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4a613e
xor esi, esi
jmp 0x4a6144
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4a616f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004aa0d0
add esi, eax
push esi
mov ebx, esi
call fcn.004aa0d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4a6150
pop ebp
test edi, edi
pop edi
jne 0x4a6193
test ebx, ebx
je 0x4a6193
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004f47c0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4a64c5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4a65dd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a65dd
mov eax, dword [esi + 0x3c]
push eax
call fcn.005077a3
mov esi, eax
test esi, esi
je 0x4a65dd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4a65dd
mov ecx, esi
call fcn.004a63d0
cmp edi, eax
jge 0x4a65dd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4a6563
mov dword [esp + 0x34], 1
jmp 0x4a65be
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4a65dd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004a2160
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4ae700
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ae773
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ae768
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004f5ba8
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x4c2aa0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x51acf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x599ea4]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.00508147
cmp dword [0x5c33e4], ebx
je 0x4c2b10
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00505c62
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x599ea4]
push ebp
push edi
mov edi, 1
mov dword [0x5c33e4], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x4c2b39
mov dword [esp + 0x20], ebx
jmp 0x4c2b40
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.0050a292
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.00505d4f
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x4c2b9e
mov dword [esp + 0x14], ebx
jmp 0x4c2ba5
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x4c2bbf
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4c2bb9
cmp eax, 2
jne 0x4c2bbf
mov dword [esp + 0x18], edi
jmp 0x4c2bc3
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4c2bd1
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0050777c
mov edi, eax
cmp edi, ebx
jne 0x4c2be1
xor eax, eax
jmp 0x4c2be4
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4c2c0c
mov ecx, esi
call fcn.0050a292
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x4c2c24
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x5c33e4], 0
test eax, eax
je 0x4c2c4d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x4c2c4d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.00505c62
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00505c62
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4c4d40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51af08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0050c97e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.004c4c80
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0050c8ac
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4c4e07
cmp dword [esp + 0x40], 1
jne 0x4c4e05
cmp ecx, eax
jge 0x4c4e07
mov eax, ecx
cmp eax, 0x12c
jge 0x4c4e13
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.004c4e60
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0050c9f0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4c92a0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x51b3f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x599ea4]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.00508147
mov edx, dword [0x599ea4]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x4c92fa
mov dword [esp + 0x1c], ebx
jmp 0x4c9301
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.0050a292
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.00505d4f
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x4c9352
mov dword [esp + 0x14], ebx
jmp 0x4c9359
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x4c9374
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4c936e
cmp eax, 2
jne 0x4c9374
mov dword [esp + 0x18], edi
jmp 0x4c9378
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4c9386
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0050777c
mov edi, eax
cmp edi, ebx
jne 0x4c9396
xor eax, eax
jmp 0x4c9399
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4c93c1
mov ecx, esi
call fcn.0050a292
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x4c93dd
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c93fc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x4c93fc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.00505c62
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.00505c62
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4d9b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4d9bac
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4d9bac
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4d9b96
push eax
call ebp
test ax, ax
jl 0x4d9ba4
inc esi
add edi, 4
cmp esi, 6
jb 0x4d9b88
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004d9860
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4dc290
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4dc2f0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4dc2f0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4dc2f0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4dc2f0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4dc300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4df5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x4df715
cmp di, 0x801
ja 0x4df715
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x4df715
cmp bx, 0xc
ja 0x4df715
mov al, byte [esp + 0x30]
test al, al
je 0x4df614
push edi
call fcn.004dfb50
add esp, 4
cmp ax, bx
je 0x4df614
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.004df720
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.004df540
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x4df715
test ebx, ebx
jne 0x4df6a9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x4df70b
test al, al
je 0x4df69c
push 0xffffffffffffffe1
jmp 0x4df69e
push 0x1f
push ebp
push edi
push esi
call fcn.004df4f0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.004df4f0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.004df720
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004df540
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4df676
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x4e0da0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51ce38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x5cf534
lea ecx, [esp + 4]
call fcn.00505cd0
push 0x595d14
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.00505cd0
push 0x595d10
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.00505cd0
push 0x595d0c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.00505cd0
push 0x595d08
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.00505cd0
push 0x595d04
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.00505cd0
push 0x595d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.00505cd0
push 0x595cfc
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.00505cd0
push 0x595cf8
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.00505cd0
push 0x595cf4
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.00505cd0
push 0x595cf0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.00505cd0
push 0x595cec
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.00505cd0
push 0x595ce8
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.00505cd0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4e0ed0
cmp eax, 0xc
jle 0x4e0ed0
mov ecx, dword [esp + 0x48]
push 0x5cf534
call fcn.00505d9f
jmp 0x4e0ede
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.00505d4f
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.00505c62
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.00505c62
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.00505c62
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.00505c62
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.00505c62
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.00505c62
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.00505c62
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.00505c62
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.00505c62
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.00505c62
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.00505c62
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.00505c62
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00505c62
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x4e4600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4e4643
mov eax, dword [esi]
jmp 0x4e4645
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x4e4661
push 0x596228
push edi
push eax
call fcn.00501e8e
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x4e46c1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4e46c1
mov eax, dword [esi]
test eax, eax
je 0x4e46a8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4e46b8
push eax
call fcn.005059cc
add esp, 4
push esi
call fcn.005059cc
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x506a94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x506ab6
cmp dword [edi + 0x3c], 0
jne 0x506ab6
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00510707
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00506ae3
pop edi
pop esi
pop ebx
ret 8

Function at 0x508147
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x50817f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005060bd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00506095
jmp 0x50818b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5099bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5099fe
call fcn.00510707
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5099fe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5099f5
xor eax, eax
jmp 0x509a06
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00509a0c
pop edi
pop esi
pop ebx
ret 4