joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53f72e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
mov esi, ecx
push 0x400
lea ecx, [esp + 0xc]
call fcn.00527589
xor ebx, ebx
lea eax, [esp + 8]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], ebx
call fcn.00521558
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ebx
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 1
call fcn.004498f0
test eax, eax
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x30]
jne 0x44b0d3
call fcn.00521634
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00527612
xor eax, eax
jmp 0x44b170
call fcn.00521634
mov edx, dword [esp + 8]
push ebx
push ebx
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push ebx
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.00521558
mov esi, dword [esi + 0x2c8]
push ebx
push 1
push ebx
push ebx
lea ecx, [esp + 0x84]
push esi
push ecx
mov ecx, dword [esp + 0xe0]
mov byte [esp + 0xd8], 2
call fcn.0044bc40
test eax, eax
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x74]
jne 0x44b152
call fcn.00521634
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00527612
xor eax, eax
jmp 0x44b170
call fcn.00521634
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00527612
mov eax, 1
mov ecx, dword [esp + 0xb8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4

Function at 0x44b190
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53f753
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44b1cc
pop edi
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
xor eax, eax
mov ax, word [0x59a51c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x44b1fd
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
push 0x1000
push 0x2002
lea ecx, [esp + 0x10]
call fcn.00532daa
push 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0
call fcn.00532e2e
push 0
push 0x1000
lea ecx, [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x4c]
call fcn.00521558
push 0
push 1
push 0
push 0
lea edx, [esp + 0x4c]
push 0
push edx
mov ecx, edi
mov byte [esp + 0xa0], 1
call fcn.0044bc40
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.005216bc
lea ecx, [esp + 8]
call fcn.00532ecf
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 0
call fcn.00521634
lea ecx, [esp + 8]
mov dword [esp + 0x88], 0xffffffff
call fcn.00532df0
mov ecx, dword [esp + 0x80]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x4557a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x540110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x59697c]
push ebx
push ebp
push edi
mov ebp, ecx
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x38]
mov byte [esp + 0x30], 2
cmp edi, edx
je 0x4557e3
mov dword [edi], edx
mov ecx, dword [ebp + 0x170]
mov dword [esp + 0x38], edx
cmp ecx, edx
mov dword [esp + 0x24], ecx
jle 0x4558b7
push esi
mov bl, 4
mov eax, dword [ebp + 0x16c]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x18]
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
mov ecx, esi
call fcn.00450430
test eax, eax
je 0x45589d
add esi, 4
push 0x588e6c
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.0051985f
lea edx, [esp + 0x14]
mov byte [esp + 0x34], 3
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.005197f9
push 0x588710
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x40], bl
call fcn.0051985f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call fcn.005199e2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00519616
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 3
call fcn.00519616
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call fcn.00519616
test edi, edi
je 0x45589d
mov dword [edi], 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x4557fc
mov eax, dword [esp + 0x18]
pop esi
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4558c9
push eax
call fcn.004dc1b0
add esp, 4
jmp 0x45593b
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x45597e
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push eax
push 0x589978
push ecx
call fcn.005198d3
push 0x589960
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x3c], 6
call fcn.0051985f
mov eax, dword [eax]
push 0x24
push eax
mov ecx, 0x599a48
mov byte [esp + 0x38], 7
call fcn.004328e0
cmp eax, 6
lea ecx, [esp + 0x38]
setne bl
mov byte [esp + 0x30], 6
call fcn.00519616
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 2
call fcn.00519616
test bl, bl
je 0x45597e
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00519616
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00519616
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00519616
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00519616
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00519616
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00519616
mov ecx, dword [esp + 0x28]
pop edi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x457240
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
xor ecx, ecx
test edi, edi
mov dword [esp + 4], eax
jle 0x457277
push ebx
push esi
mov esi, dword [esp + 0x14]
mov eax, ecx
mov dl, byte [esi]
and eax, 3
mov bl, byte [esp + eax + 0xc]
lea eax, [esp + eax + 0xc]
xor bl, dl
inc ecx
inc esi
cmp ecx, edi
mov byte [eax], bl
jl 0x457258
mov eax, dword [esp + 0xc]
pop esi
pop ebx
pop edi
pop ecx
ret
Function at 0x4585b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x394]
test eax, eax
je 0x458604
push 0x124
push 0x589e70
call fcn.004328e0
cmp eax, 6
je 0x4585fd
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00425be0
jmp 0x458607
lea edi, [esi + 0xc0]
mov ecx, edi
call fcn.0044ff50
cmp eax, 1
jne 0x4586b8
push 0x23
push 0x589e4c
mov ecx, esi
call fcn.004328e0
cmp eax, 2
jne 0x458642
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x45868e
mov eax, dword [0x59697c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push 0
push ecx
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00447ab0
test eax, eax
je 0x4586cd
mov edx, dword [ebp - 0x10]
push 1
push edx
mov ecx, edi
call fcn.00448120
test eax, eax
je 0x4586cd
mov ecx, edi
call fcn.0044ff80
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00519616
mov eax, dword [esi + 0x8a4]
test eax, eax
jne 0x4586b8
cmp dword [esi + 0x958], 1
jne 0x4586b8
mov eax, dword [esi + 0x8a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x8a4], 1
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00519616
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x458dd0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
call fcn.00456bd0
mov eax, dword [esi + 0x8ac]
test eax, eax
je 0x458e00
push 0
lea ecx, [eax + 0x818]
call fcn.004945b0
mov ecx, dword [esi + 0x8ac]
add ecx, 0x818
call fcn.00494d80
mov eax, dword [esi + 0x384]
not eax
test al, 1
jne 0x458ebe
push ebp
push edi
lea edi, [esi + 0xc0]
mov ecx, edi
call fcn.0044ffa0
push 1
mov ecx, esi
mov ebp, eax
call fcn.00528ba6
mov ecx, edi
call fcn.0044ffb0
mov ecx, 0x59a4ec
mov dword [0x59a4e4], 0xffffffff
mov dword [0x59a4e8], 0
call fcn.00473310
mov ecx, 0x59a500
call fcn.00473310
mov ecx, esi
mov dword [0x59a514], 0
call fcn.00457b30
mov ecx, edi
call fcn.0044ffa0
xor ecx, ecx
cmp ebp, eax
setne cl
push ecx
mov ecx, esi
call fcn.00456ed0
mov eax, dword [esi + 0x8a4]
test eax, eax
jne 0x458eac
mov eax, dword [esi + 0x958]
mov edi, 1
cmp eax, edi
jne 0x458eac
mov edx, dword [esi + 0x8a0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x8a4], edi
mov ecx, dword [esi + 0x8ac]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe0]
pop edi
pop ebp
pop esi
ret
Function at 0x459580
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x540c60
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x384]
not eax
test al, 1
jne 0x45969a
lea edi, [esi + 0xc0]
mov ecx, edi
call fcn.0044ff50
cmp eax, 1
jne 0x45969a
mov ecx, dword [0x59697c]
push ebp
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x8ac]
lea edx, [esp + 0xc]
push edx
add ecx, 0xc0
mov dword [esp + 0x20], 0
call fcn.004db410
push 0
push 0x589f94
mov ecx, esi
call fcn.00463480
lea ebp, [esi + 0x388]
lea ecx, [esp + 0x10]
push ebp
call fcn.0051938b
mov eax, dword [esi + 0x8a0]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.00448120
test eax, eax
jne 0x459648
push eax
push 0x589f74
mov ecx, esi
call fcn.00463480
mov eax, dword [esi + 0x8a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x8a4], 1
jmp 0x45966e
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x459658
push eax
jmp 0x45965d
push 0x589f58
mov ecx, esi
call fcn.00463480
mov dword [esi + 0x8a4], 0
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00519703
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00519616
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00519616
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45f170
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x114]
push esi
call fcn.00473f60
add esp, 4
test eax, eax
jne 0x45f1e4
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0051f1b2
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
test ax, ax
je 0x45f1e4
lea edx, [esp + 4]
mov word [esp + 4], ax
push edx
push 0x45f1f0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp word [esp + 4], 0
jne 0x45f1d9
mov eax, dword [esp + 8]
pop esi
add esp, 0x10c
ret 4
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
xor eax, eax
pop esi
add esp, 0x10c
ret 4
Function at 0x464718
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5425e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x3b4]
mov ecx, edi
call fcn.0052259c
push 0x59984c
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call fcn.00522545
push 0
lea ecx, [esp + 0x18]
call fcn.0052229d
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00521c3a
push 1
push 0x57
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00515832
mov eax, dword [eax]
lea edx, [esp + 0xc]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x3bc], ecx
lea ecx, [esp + 8]
mov dword [esi + 0x3c0], edx
call fcn.00519616
push edi
lea ecx, [esp + 0x18]
call fcn.00521c3a
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0052230f
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x46b400
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x46b462
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x46b470
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46b55e
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0
push eax
push str..htm
push 0x80000000
call fcn.0046b400
add esp, 0xc
test eax, eax
jne 0x46b55e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push eax
push 0x80000000
call fcn.0046b400
add esp, 0xc
test eax, eax
jne 0x46b55e
lea ecx, [esp + 0x10]
push 0x58ec1c
push ecx
call fcn.005038fa
mov esi, eax
add esp, 8
test esi, esi
jne 0x46b538
lea edx, [esp + 0x10]
push 0x58ec18
push edx
call fcn.00501c10
mov esi, eax
add esp, 8
test esi, esi
jne 0x46b538
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x46b53b
mov byte [esi], 0
push 0x5885f8
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x474f80
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa4], 1
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0xa8]
mov ecx, esi
push edx
push 2
call fcn.00474a20
mov dword [0x5a6760], esi
mov dword [esi + 0xa4], edi
call fcn.00535588
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2c]
push eax
push edi
push 0x474f30
push 0xffffffffffffffff
call ebx
mov dword [0x5a6764], eax
mov ecx, dword [esi + 0xa8]
mov dword [esi + 0x88], 2
mov edx, dword [esi + 0x90]
push esi
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x5a6764]
push ecx
call ebp
mov dword [0x5a6764], edi
mov dword [0x5a6760], edi
cmp dword [esi + 0xa4], 1
je 0x474fa8
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00474a20
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x478010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5436b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x26
lea eax, [esi + 8]
lea edi, [esi + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov ebp, dword [eax + 4]
mov ebx, dword [ecx - 8]
mov ecx, edi
mov edx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
call fcn.00519a91
sub ebx, eax
lea edx, [esp + 0x28]
dec ebx
mov ecx, edi
push ebx
push edx
mov dword [esp + 0x1c], eax
call fcn.00515bbc
mov ebx, eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 0
call fcn.00515c38
push ebx
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x60], 1
call fcn.005197f9
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 4
call fcn.00519616
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 3
call fcn.00519616
mov edi, dword [esp + 0x5c]
push 1
mov ecx, edi
call fcn.00521cd1
mov eax, dword [edi]
push 0x5a6758
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [0x58efdc]
mov ebx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
sub eax, ecx
lea ecx, [ebp + 5]
add ebx, ecx
add edx, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push 0x920
mov dword [esp + 0x48], edx
mov edx, dword [edi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esp + 0x5c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x2c]
add ecx, ebp
add eax, edx
mov edx, dword [esp + 0x60]
add ecx, ebx
add eax, edx
push ecx
push eax
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0052208a
mov eax, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
add ebp, esi
add eax, ecx
add ebx, ebp
add eax, edx
push ebx
push eax
mov ecx, edi
call fcn.005220d6
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.00519616
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc
Function at 0x494ec0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x544d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov ecx, 0x599a48
push eax
mov dword [esp + 0x30], 1
call fcn.004656e0
mov dword [esp + 0x24], eax
mov eax, dword [0x59697c]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x1dc]
push ebx
push ebx
push 0x1004
push ecx
mov byte [esp + 0x6c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x49508b
push esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
test eax, eax
mov edi, 0x599280
jne 0x494f5a
mov esi, edi
jmp 0x494fe6
push ebx
lea ecx, [ebp + 0x1c0]
call fcn.0051713a
mov edx, dword [0x59a3b4]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0x1c]
mov esi, dword [edx - 8]
lea ecx, [eax + 0x1c]
test esi, esi
je 0x494fab
push ecx
lea eax, [esp + 0x28]
push 0x58c1bc
push eax
call fcn.005198d3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.00519703
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 2
call fcn.00519616
jmp 0x494fe2
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push ecx
push edx
mov edx, dword [eax]
neg edx
lea ecx, [eax + 8]
mov eax, dword [esp + 0x34]
sbb edx, edx
push ecx
and edx, eax
mov ecx, 0x599a48
push edx
call fcn.00465af0
test eax, eax
jne 0x494fde
mov esi, dword [0x59a3ac]
jmp 0x494fe6
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1dc]
lea eax, [esp + 0x30]
push eax
push 0
push 0x1006
push ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], 2
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xd
push esi
call fcn.00503ed0
mov edi, eax
add esp, 8
test edi, edi
jne 0x49502d
push 0xa
push esi
call fcn.00503ed0
mov edi, eax
add esp, 8
test edi, edi
je 0x495058
mov dl, byte [edi]
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], dl
mov byte [edi], 0
call fcn.00519753
mov al, byte [esp + 0x13]
push str._...
lea ecx, [esp + 0x1c]
mov byte [edi], al
call fcn.005199a6
mov esi, dword [esp + 0x18]
mov edx, dword [ebp + 0x1dc]
lea ecx, [esp + 0x30]
push ecx
push 0
push 0x1006
push edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], 3
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
inc ebx
cmp ebx, eax
jl 0x494f42
pop esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.00519616
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.00519616
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00519616
mov ecx, dword [esp + 0x54]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x495760
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 0x68]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4957d3
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
mov edi, dword [0x58f6e8]
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
xor eax, eax
test ecx, ecx
jle 0x4957d3
test byte [edx + 0x27], 0x20
jne 0x4957a8
add edx, 0x28
inc eax
cmp eax, ecx
jl 0x495796
pop edi
pop esi
pop ebx
ret
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
add ecx, esi
push eax
push ecx
call fcn.004de420
mov edx, dword [ebx + 0x764]
add esp, 8
cmp eax, dword [edi + edx*4]
je 0x4957d3
mov eax, dword [ebx + 0x89c]
or al, 0xff
mov dword [ebx + 0x89c], eax
pop edi
pop esi
pop ebx
ret
Function at 0x4af0a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x546710
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 4]
lea edx, [esp + 0xc]
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x30]
push edi
mov ebp, ecx
push 0
push eax
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push 0
push ebx
mov ecx, ebp
call fcn.0047e4d0
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4af270
cmp esi, 0xd
mov dword [esp + 0x10], 0
jne 0x4af1e9
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x4af116
xor eax, eax
jmp 0x4af119
mov eax, dword [ecx + 0x5c]
mov edx, dword [esp + 0x18]
mov esi, dword [eax + edx*4]
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x4af12e
xor eax, eax
jmp 0x4af134
mov eax, dword [ecx + 0xc0]
lea edi, [eax + esi]
push edi
call fcn.004cced0
test al, 1
je 0x4af270
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4af15d
lea ecx, [edi + 1]
call fcn.004c9f90
test eax, eax
je 0x4af270
mov eax, dword [0x59697c]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
push ecx
push esi
mov ecx, ebx
call fcn.004cb350
mov eax, dword [esp + 0x3c]
mov edi, 1
cmp eax, edi
jne 0x4af1a9
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
push edi
push edx
push esi
push ebx
push eax
call fcn.004af6b0
add esp, 0x28
jmp 0x4af1d2
mov ecx, dword [esp + 0x34]
push edi
push 0
push 0
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push esi
push ebx
push edx
call fcn.004aef10
add esp, 0x34
test eax, eax
je 0x4af1d6
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519616
jmp 0x4af25f
mov eax, dword [0x59697c]
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x48]
push 1
push ecx
push edi
push ebx
mov ecx, ebp
mov dword [esp + 0x44], 1
call fcn.004b0810
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push edi
push esi
mov ecx, ebp
call fcn.00496bd0
mov ecx, dword [ebp + 0x5c]
push eax
call fcn.004af290
test eax, eax
je 0x4af249
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519616
mov edi, 1
cmp dword [esp + 0x10], edi
jne 0x4af270
push 0
push 0
mov ecx, ebp
call fcn.004a9540
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10