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

Disassembly:
push 0xffffffffffffffff
push 0x53faee
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.005278e9
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.005218b8
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.00449c60
test eax, eax
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x30]
jne 0x44b443
call fcn.00521994
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00527972
xor eax, eax
jmp 0x44b4e0
call fcn.00521994
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.005218b8
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.0044bfb0
test eax, eax
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x74]
jne 0x44b4c2
call fcn.00521994
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00527972
xor eax, eax
jmp 0x44b4e0
call fcn.00521994
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00527972
mov eax, 1
mov ecx, dword [esp + 0xb8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4

Function at 0x44b500
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53fb13
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 0x44b53c
pop edi
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
xor eax, eax
mov ax, word [0x59a5b4]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x44b56d
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.0053310a
push 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0
call fcn.0053318e
push 0
push 0x1000
lea ecx, [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x4c]
call fcn.005218b8
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.0044bfb0
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.00521a1c
lea ecx, [esp + 8]
call fcn.0053322f
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 0
call fcn.00521994
lea ecx, [esp + 8]
mov dword [esp + 0x88], 0xffffffff
call fcn.00533150
mov ecx, dword [esp + 0x80]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x455b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5404d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x596a0c]
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 0x455b53
mov dword [edi], edx
mov ecx, dword [ebp + 0x170]
mov dword [esp + 0x38], edx
cmp ecx, edx
mov dword [esp + 0x24], ecx
jle 0x455c27
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.004507a0
test eax, eax
je 0x455c0d
add esi, 4
push 0x588e7c
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00519bbf
lea edx, [esp + 0x14]
mov byte [esp + 0x34], 3
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00519b59
push 0x588720
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x40], bl
call fcn.00519bbf
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call fcn.00519d42
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00519976
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 3
call fcn.00519976
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call fcn.00519976
test edi, edi
je 0x455c0d
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 0x455b6c
mov eax, dword [esp + 0x18]
pop esi
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x455c39
push eax
call fcn.004dc540
add esp, 4
jmp 0x455cab
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x455cee
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push eax
push 0x589988
push ecx
call fcn.00519c33
push 0x589970
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x3c], 6
call fcn.00519bbf
mov eax, dword [eax]
push 0x24
push eax
mov ecx, 0x599ae0
mov byte [esp + 0x38], 7
call fcn.00432c30
cmp eax, 6
lea ecx, [esp + 0x38]
setne bl
mov byte [esp + 0x30], 6
call fcn.00519976
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 2
call fcn.00519976
test bl, bl
je 0x455cee
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00519976
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00519976
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00519976
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.00519976
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00519976
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.00519976
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 0x4575b0
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 0x4575e7
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 0x4575c8
mov eax, dword [esp + 0xc]
pop esi
pop ebx
pop edi
pop ecx
ret
Function at 0x458930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540f48
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 0x458984
push 0x124
push 0x589e80
call fcn.00432c30
cmp eax, 6
je 0x45897d
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.00425d40
jmp 0x458987
lea edi, [esi + 0xc0]
mov ecx, edi
call fcn.004502c0
cmp eax, 1
jne 0x458a38
push 0x23
push 0x589e5c
mov ecx, esi
call fcn.00432c30
cmp eax, 2
jne 0x4589c2
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 0x458a0e
mov eax, dword [0x596a0c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push 0
push ecx
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00447e20
test eax, eax
je 0x458a4d
mov edx, dword [ebp - 0x10]
push 1
push edx
mov ecx, edi
call fcn.00448490
test eax, eax
je 0x458a4d
mov ecx, edi
call fcn.004502f0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00519976
mov eax, dword [esi + 0x8a4]
test eax, eax
jne 0x458a38
cmp dword [esi + 0x958], 1
jne 0x458a38
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.00519976
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 0x459150
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
call fcn.00456f40
mov eax, dword [esi + 0x8ac]
test eax, eax
je 0x459180
push 0
lea ecx, [eax + 0x818]
call fcn.00494940
mov ecx, dword [esi + 0x8ac]
add ecx, 0x818
call fcn.00495110
mov eax, dword [esi + 0x384]
not eax
test al, 1
jne 0x45923e
push ebp
push edi
lea edi, [esi + 0xc0]
mov ecx, edi
call fcn.00450310
push 1
mov ecx, esi
mov ebp, eax
call fcn.00528f06
mov ecx, edi
call fcn.00450320
mov ecx, 0x59a584
mov dword [0x59a57c], 0xffffffff
mov dword [0x59a580], 0
call fcn.00473690
mov ecx, 0x59a598
call fcn.00473690
mov ecx, esi
mov dword [0x59a5ac], 0
call fcn.00457ea0
mov ecx, edi
call fcn.00450310
xor ecx, ecx
cmp ebp, eax
setne cl
push ecx
mov ecx, esi
call fcn.00457240
mov eax, dword [esi + 0x8a4]
test eax, eax
jne 0x45922c
mov eax, dword [esi + 0x958]
mov edi, 1
cmp eax, edi
jne 0x45922c
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 0x459900
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x541020
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 0x459a1a
lea edi, [esi + 0xc0]
mov ecx, edi
call fcn.004502c0
cmp eax, 1
jne 0x459a1a
mov ecx, dword [0x596a0c]
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.004db7a0
push 0
push 0x589fa4
mov ecx, esi
call fcn.00463800
lea ebp, [esi + 0x388]
lea ecx, [esp + 0x10]
push ebp
call fcn.005196eb
mov eax, dword [esi + 0x8a0]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.00448490
test eax, eax
jne 0x4599c8
push eax
push 0x589f84
mov ecx, esi
call fcn.00463800
mov eax, dword [esi + 0x8a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x8a4], 1
jmp 0x4599ee
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4599d8
push eax
jmp 0x4599dd
push 0x589f68
mov ecx, esi
call fcn.00463800
mov dword [esi + 0x8a4], 0
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00519a63
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00519976
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00519976
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45f4f0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x114]
push esi
call fcn.004742e0
add esp, 4
test eax, eax
jne 0x45f564
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0051f512
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
test ax, ax
je 0x45f564
lea edx, [esp + 4]
mov word [esp + 4], ax
push edx
push 0x45f570
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp word [esp + 4], 0
jne 0x45f559
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 0x464a98
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5429a8
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.005228fc
push 0x5998e4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call fcn.005228a5
push 0
lea ecx, [esp + 0x18]
call fcn.005225fd
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.00521f9a
push 1
push 0x57
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00515b92
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.00519976
push edi
lea ecx, [esp + 0x18]
call fcn.00521f9a
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0052266f
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x46b780
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 0x46b7e2
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 0x46b7f0
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 0x46b8de
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0
push eax
push str..htm
push 0x80000000
call fcn.0046b780
add esp, 0xc
test eax, eax
jne 0x46b8de
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.0046b780
add esp, 0xc
test eax, eax
jne 0x46b8de
lea ecx, [esp + 0x10]
push 0x58ec74
push ecx
call fcn.00503c5a
mov esi, eax
add esp, 8
test esi, esi
jne 0x46b8b8
lea edx, [esp + 0x10]
push 0x58ec70
push edx
call fcn.00501f70
mov esi, eax
add esp, 8
test esi, esi
jne 0x46b8b8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x46b8bb
mov byte [esi], 0
push 0x588608
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 0x475310
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.00474db0
mov dword [0x5a67f8], esi
mov dword [esi + 0xa4], edi
call fcn.005358e8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2c]
push eax
push edi
push 0x4752c0
push 0xffffffffffffffff
call ebx
mov dword [0x5a67fc], 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 [0x5a67fc]
push ecx
call ebp
mov dword [0x5a67fc], edi
mov dword [0x5a67f8], edi
cmp dword [esi + 0xa4], 1
je 0x475338
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00474db0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4783a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x543a78
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.00519df1
sub ebx, eax
lea edx, [esp + 0x28]
dec ebx
mov ecx, edi
push ebx
push edx
mov dword [esp + 0x1c], eax
call fcn.00515f1c
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.00515f98
push ebx
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x60], 1
call fcn.00519b59
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 4
call fcn.00519976
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 3
call fcn.00519976
mov edi, dword [esp + 0x5c]
push 1
mov ecx, edi
call fcn.00522031
mov eax, dword [edi]
push 0x5a67f0
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [0x58f034]
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.005223ea
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.00522436
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.00519976
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 0x495250
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5450e0
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, 0x599ae0
push eax
mov dword [esp + 0x30], 1
call fcn.00465a60
mov dword [esp + 0x24], eax
mov eax, dword [0x596a0c]
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 0x49541b
push esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
test eax, eax
mov edi, 0x599310
jne 0x4952ea
mov esi, edi
jmp 0x495376
push ebx
lea ecx, [ebp + 0x1c0]
call fcn.0051749a
mov edx, dword [0x59a44c]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0x1c]
mov esi, dword [edx - 8]
lea ecx, [eax + 0x1c]
test esi, esi
je 0x49533b
push ecx
lea eax, [esp + 0x28]
push 0x58c1cc
push eax
call fcn.00519c33
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.00519a63
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 2
call fcn.00519976
jmp 0x495372
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, 0x599ae0
push edx
call fcn.00465e70
test eax, eax
jne 0x49536e
mov esi, dword [0x59a444]
jmp 0x495376
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.00504230
mov edi, eax
add esp, 8
test edi, edi
jne 0x4953bd
push 0xa
push esi
call fcn.00504230
mov edi, eax
add esp, 8
test edi, edi
je 0x4953e8
mov dl, byte [edi]
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], dl
mov byte [edi], 0
call fcn.00519ab3
mov al, byte [esp + 0x13]
push str._...
lea ecx, [esp + 0x1c]
mov byte [edi], al
call fcn.00519d06
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 0x4952d2
pop esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.00519976
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.00519976
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00519976
mov ecx, dword [esp + 0x54]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x495af0
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 0x495b63
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
mov edi, dword [0x58f740]
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 0x495b63
test byte [edx + 0x27], 0x20
jne 0x495b38
add edx, 0x28
inc eax
cmp eax, ecx
jl 0x495b26
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.004de7b0
mov edx, dword [ebx + 0x764]
add esp, 8
cmp eax, dword [edi + edx*4]
jmp 0x495b63
pop edi
pop esi
pop ebx
ret
Function at 0x4af430
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x546ad0
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.0047e860
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4af600
cmp esi, 0xd
mov dword [esp + 0x10], 0
jne 0x4af579
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x4af4a6
xor eax, eax
jmp 0x4af4a9
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 0x4af4be
xor eax, eax
jmp 0x4af4c4
mov eax, dword [ecx + 0xc0]
lea edi, [eax + esi]
push edi
call fcn.004cd260
test al, 1
je 0x4af600
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4af4ed
lea ecx, [edi + 1]
call fcn.004ca320
test eax, eax
je 0x4af600
mov eax, dword [0x596a0c]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
push ecx
push esi
mov ecx, ebx
call fcn.004cb6e0
mov eax, dword [esp + 0x3c]
mov edi, 1
cmp eax, edi
jne 0x4af539
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.004afa40
add esp, 0x28
jmp 0x4af562
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.004af2a0
add esp, 0x34
test eax, eax
je 0x4af566
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519976
jmp 0x4af5ef
mov eax, dword [0x596a0c]
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.004b0ba0
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.00496f60
mov ecx, dword [ebp + 0x5c]
push eax
call fcn.004af620
test eax, eax
je 0x4af5d9
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00519976
mov edi, 1
cmp dword [esp + 0x10], edi
jne 0x4af600
push 0
push 0
mov ecx, ebp
call fcn.004a98d0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10