joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f4f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f3d78
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov byte [esp + 0x18], 2
mov byte [esi + 0x45], 0
push 8
mov dword [esi + 0x48], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x48f5bb
mov byte [esp + 0xa], al
lea eax, [esp + 0xa]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 3
mov word [eax], cx
mov byte [esp + 0x18], 3
push 8
mov dword [esi + 0x54], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x48f5fa
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 3
mov word [eax], cx
mov byte [esp + 0x18], 4
mov byte [esi + 0x60], cl
push 8
mov dword [esi + 0x64], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x48f63c
mov byte [esp + 0xa], al
lea eax, [esp + 0xa]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 3
mov word [eax], cx
mov byte [esp + 0x18], 5
push 8
mov dword [esi + 0x70], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x48f67b
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 3
mov word [eax], cx
mov byte [esi + 0x7c], 1
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ecx
mov byte [esp + 0x18], 7
push 8
mov dword [esi + 0x8c], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x48f6d3
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esi + 0x8c], eax
xor ecx, ecx
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4918f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f3ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
push 8
mov dword [esp + 0x1c], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x49195b
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 3
mov word [eax], cx
mov dword [esp + 0x30], ecx
xorps xmm0, xmm0
movq qword [esp + 0xc], xmm0
push 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4919aa
mov byte [esp + 0xa], al
lea eax, [esp + 0xa]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 3
mov word [eax], cx
lea eax, [esp + 0xc]
mov byte [esp + 0x30], 1
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
lea eax, [esi + 0x54]
push eax
call fcn.00490980
test al, al
je 0x4919f9
lea eax, [esp + 0xc]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00490c40
mov ecx, esi
call fcn.00491a40
mov byte [esp + 0x30], 0
push dword [esp + 0xc]
call fcn.004df97b
mov dword [esp + 0x34], 0xffffffff
push dword [esp + 0x1c]
call fcn.004df97b
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004df96c
add esp, 0x2c
ret
Function at 0x4968b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov byte [ebx], 0
lea esi, [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
push esi
push edx
push ecx
call dword [eax + 0xc]
mov cx, word [esp + 0x14]
mov esi, eax
test esi, esi
jne 0x496939
cmp cx, 0x40
jne 0x496969
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
test eax, eax
jne 0x496930
cmp dword [edi], eax
je 0x496935
mov eax, 1
mov byte [ebx], al
xor esi, esi
test cx, cx
je 0x496947
lea ecx, [esp + 0x14]
call fcn.0041d410
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 8
test cx, cx
je 0x496937
mov esi, 0x80004005
jmp 0x496939

Function at 0x496980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ee1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0xc]
push edx
mov byte [edi], al
mov eax, dword [ecx]
push 0x3f
push ecx
call dword [eax + 0xc]
mov cx, word [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x4969ef
cmp cx, 0xb
jne 0x496a1e
cmp word [esp + 0x14], 0
setne al
mov byte [edi], al
xor esi, esi
test cx, cx
je 0x4969fd
lea ecx, [esp + 0xc]
call fcn.0041d410
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004df96c
add esp, 0x20
ret 4
test cx, cx
je 0x4969ed
mov esi, 0x80004005
jmp 0x4969ef

Function at 0x497780
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f1b48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
push dword [esp + 0x2c]
lea ecx, [edi + 0x18]
call fcn.004128e0
push dword [esp + 0x30]
lea edx, [edi + 0x18]
lea ecx, [esp + 0x14]
call fcn.004124b0
mov dword [esp + 0x24], 0
lea ecx, [edi + 0x28]
push dword [eax]
call fcn.00419180
test al, al
mov dword [esp + 0x24], 0xffffffff
push dword [esp + 0x10]
sete bl
call fcn.004df97b
add esp, 4
test bl, bl
je 0x49780a
push 0x51c2b0
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 1
push eax
call fcn.004ea58e
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x499c00
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x499c40
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004df96c
add esp, 0x118
ret
cmp dword [esp + 0x10], 2
jne 0x499c29
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x499c29
jbe 0x499c69
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004df96c
add esp, 0x118
ret
mov eax, dword [esp + 8]
cmp eax, 1
jb 0x499c29
mov ecx, dword [esp + 0x114]
seta al
xor ecx, esp
call fcn.004df96c
add esp, 0x118
ret
Function at 0x49cbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4e10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x40]
xorps xmm0, xmm0
mov edi, dword [esp + 0x44]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [esp + 0xc]
mov dword [esp + 0x38], 0
mov ecx, dword [eax + ecx*4]
push edx
call fcn.0049baf0
push 0x80
push 3
push 1
mov byte [esp + 0x44], 1
lea ecx, [esp + 0x28]
mov esi, dword [eax]
push SysReAllocStringLen
push esi
call fcn.00419d60
mov ecx, esi
mov byte [esp + 0x1b], al
call fcn.0041b300
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x24], al
call fcn.0041a2c0
cmp byte [esp + 0x1b], 0
mov byte [esp + 0x38], 0
push dword [esp + 0xc]
sete byte [esp + 0x1f]
call fcn.004df97b
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x49ccb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x49ccd2
cmp byte [esp + 0x21], 0
jne 0x49ccc3
mov esi, 0x80004005
jmp 0x49ccd2
mov eax, dword [esp + 0x24]
xor esi, esi
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x49ccea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004df96c
add esp, 0x30
ret 8
Function at 0x49d180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4d0e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call fcn.00412780
lea eax, [esi + 0xc]
mov dword [esp + 0x18], 0
push eax
lea ecx, [edi + 0xc]
call fcn.00412780
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
call fcn.00412780
lea eax, [esi + 0x3c]
mov byte [esp + 0x18], 2
push eax
lea ecx, [edi + 0x3c]
call fcn.00412780
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
movzx eax, byte [esi + 0x4c]
mov byte [edi + 0x4c], al
movzx eax, byte [esi + 0x4d]
mov byte [edi + 0x4d], al
movzx eax, byte [esi + 0x4e]
mov byte [edi + 0x4e], al
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4a0350
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4f5150
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x4c]
mov ecx, ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 0x18], esi
call fcn.0041ba70
mov ecx, esi
mov edi, eax
call fcn.0041ba70
mov esi, eax
cmp edi, 1
je 0x4a03ec
cmp esi, 1
je 0x4a03ec
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], 0
push 1
test eax, eax
je 0x4a03d1
lea ecx, [esp + 0x38]
push ecx
push ebx
push 0x4a0270
push dword [esp + 0x28]
push ebp
call eax
jmp 0x4a03dc
push dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
test al, al
je 0x4a03ec
mov al, 1
jmp 0x4a0552
test edi, edi
jne 0x4a03f8
test esi, esi
je 0x4a0550
cmp dword [ebx + 0x1c], 0
jne 0x4a0550
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movq qword [esp + 0x1c], xmm0
push 8
mov dword [esp + 0x20], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4a043c
mov byte [esp + 0x16], al
lea eax, [esp + 0x16]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 3
mov word [eax], cx
mov dword [esp + 0x44], ecx
xorps xmm0, xmm0
movq qword [esp + 0x28], xmm0
push 8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4a048b
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 3
mov word [eax], cx
mov byte [esp + 0x44], 1
cmp edi, 1
je 0x4a04b7
cmp esi, 1
je 0x4a04b7
mov al, 1
jmp 0x4a04b9
xor al, al
mov edx, dword [esp + 0x18]
mov ecx, ebp
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0041c0a0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
test al, al
jne 0x4a04df
xor bl, bl
jmp 0x4a0514
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x18], 0
push 1
test eax, eax
je 0x4a0501
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x4a0270
push edi
push esi
call eax
jmp 0x4a0509
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
test al, al
je 0x4a0534
mov bl, 1
push edi
mov byte [esp + 0x48], 0
call fcn.004df97b
push esi
mov dword [esp + 0x4c], 0xffffffff
call fcn.004df97b
add esp, 8
mov al, bl
jmp 0x4a0552
push edi
mov byte [esp + 0x48], 0
call fcn.004df97b
push esi
mov dword [esp + 0x4c], 0xffffffff
call fcn.004df97b
add esp, 8
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df96c
add esp, 0x34
ret 8
Function at 0x4a2220
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x4f5398
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
cmp si, cx
jne 0x4a23b9
mov eax, ecx
mov dword [esp + 0x20], 0
shr cx, 0xa
xorps xmm0, xmm0
movzx ebx, cx
and eax, 0x3ff
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ecx, eax
mov dword [esp + 0x48], 0
lea edx, [esp + 0x18]
call fcn.004a1ff0
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x30]
movq qword [esp + 0x30], xmm0
call fcn.004a1bf0
mov byte [esp + 0x48], 1
xor edi, edi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test edi, edi
jne 0x4a22ed
movzx eax, bx
jmp 0x4a22ef
xor eax, eax
cmp eax, esi
jae 0x4a2367
mov ebx, dword [ebp + eax*4]
cmp dword [ebx + 4], 0
je 0x4a2363
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x24]
push eax
movq qword [esp + 0x28], xmm0
call fcn.00412780
mov byte [esp + 0x48], 2
lea ecx, [esp + 0x24]
push dword [ebx]
call fcn.00412c30
push str..txt
lea ecx, [esp + 0x28]
call fcn.00412c30
push ecx
push dword [esp + 0x28]
mov ecx, 0x5236a4
call fcn.00411500
test al, al
jne 0x4a23d8
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x24]
push eax
call fcn.004df97b
add esp, 4
mov ebx, dword [esp + 0x14]
inc edi
cmp edi, 2
jb 0x4a22e4
mov byte [esp + 0x48], 0
push dword [esp + 0x30]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x48], 0xffffffff
test esi, esi
je 0x4a23b0
mov edi, edi
mov edi, dword [ebp + esi*4 - 4]
dec esi
test edi, edi
je 0x4a23ac
push dword [edi]
call fcn.004df97b
add esp, 4
push edi
call fcn.004df97b
add esp, 4
test esi, esi
jne 0x4a2390
push ebp
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004df96c
add esp, 0x38
ret
push dword [ebx]
mov ecx, 0x523698
call fcn.00412a60
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x24]
push eax
call fcn.004df97b
add esp, 4
mov byte [esp + 0x48], 0
push dword [esp + 0x30]
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00410a70
jmp 0x4a23b9
Function at 0x4a4860
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4f5640
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
movq qword [esp + 0x4c], xmm0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [esi + 8]
mov dword [esp + 0x64], 0
lea edx, [esp + 0x4c]
call fcn.004a3bd0
cmp dword [esp + 0x50], 1
jne 0x4a46ec
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x28]
xorps xmm0, xmm0
mov edi, dword [edi]
movdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x48], 0
movdqu xmmword [esp + 0x38], xmm0
call fcn.004a3a50
mov byte [esp + 0x64], 1
cmp dword [esi + 0x38], 1
mov eax, dword [esi + 0x1c]
push dword [eax + edi*4]
je 0x4a4625
lea ecx, [esp + 0x38]
call fcn.004128e0
cmp edi, dword [esi + 0x2c]
jae 0x4a462e
mov eax, dword [esi + 0x28]
push dword [eax + edi*4]
lea ecx, [esp + 0x44]
call fcn.004128e0
mov edx, dword [esp + 0x40]
mov eax, edx
movzx ecx, word [edx]
cmp ecx, 0xd
je 0x4a4651
lea esp, [esp]
test cx, cx
je 0x4a4657
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0xd
jne 0x4a4640
sub eax, edx
sar eax, 1
jns 0x4a46af
push 0x505ac0
lea ecx, [esp + 0x14]
call fcn.00412680
push 0x505ac8
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 2
call fcn.00412680
lea eax, [esp + 0x10]
mov byte [esp + 0x64], 3
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.00412fa0
mov byte [esp + 0x64], 2
push dword [esp + 0x1c]
call fcn.004df97b
mov byte [esp + 0x68], 1
push dword [esp + 0x14]
call fcn.004df97b
add esp, 8
lea eax, [esp + 0x28]
push eax
push 0x416220
push dword [esi + 4]
push 0x5e
push dword [0x52323c]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov byte [esp + 0x64], 0
push dword [esp + 0x40]
call fcn.004df97b
push dword [esp + 0x38]
call fcn.004df97b
add esp, 8
mov dword [esp + 0x28], vtable.NWindows::NControl::CDialog.0
mov dword [esp + 0x64], 0xffffffff
push dword [esp + 0x4c]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004df96c
add esp, 0x5c
ret
push esi
push 0x12
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x4a4880
cmp dword [esi + 0x38], 1
ja 0x4a4880
mov eax, dword [esi]
mov ecx, esi
pop esi
jmp dword [eax + 0x20]
mov ecx, esi
pop esi
jmp 0x4a4560
Function at 0x4a4890
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edi
mov eax, dword [ecx]
cmp eax, dword [esi + 8]
jne case.0x4a4909.47
mov eax, dword [ecx + 8]
add eax, 0x9b
cmp eax, 0x98
ja case.0x4a4909.47
movzx eax, byte [eax + 0x4a4978]
jmp dword [eax*4 + 0x4a4968]
cmp byte [0x5200c6], 0
je case.0x4a4909.47
mov ecx, esi
call fcn.004a4860
pop edi
mov al, 1
pop esi
ret 8
cmp byte [0x5200c6], 0
jne case.0x4a4909.47
mov ecx, esi
call fcn.004a4860
pop edi
mov al, 1
pop esi
ret 8
movzx eax, word [ecx + 0xc]
add eax, 0xffffffd3
cmp eax, 0x16
ja case.0x4a4909.47
movzx eax, byte [eax + 0x4a4a24]
jmp dword [eax*4 + 0x4a4a14]
cmp byte [esi + 0x19], 0
je case.0x4a4909.47
mov ecx, esi
call fcn.004a4720
pop edi
mov al, 1
pop esi
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je case.0x4a4909.47
lea ecx, [esi + 8]
call fcn.004a3b90
pop edi
mov al, 1
pop esi
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je case.0x4a4909.47
mov ecx, esi
call fcn.004a4290
pop edi
mov al, 1
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8
Function at 0x4a57d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f5708
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x60]
xorps xmm0, xmm0
mov dword [esp + 0x68], 0
push eax
movq qword [esp + 0x64], xmm0
call fcn.00412680
mov dword [esp + 0x98], 0
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4a5941
mov ebx, dword [esp + 0x60]
movzx eax, word [ebx]
mov esi, ebx
cmp eax, 0xa
je 0x4a5867
test ax, ax
je 0x4a5941
movzx eax, word [esi + 2]
add esi, 2
cmp eax, 0xa
jne 0x4a5852
sub esi, ebx
sar esi, 1
js 0x4a5941
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x68]
call fcn.00452930
push 0
push 0
push 0x1004
push dword [edi + 8]
mov ebx, dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
lea edx, [esp + 0x6c]
mov ecx, edi
call fcn.00411090
lea eax, [esp + 0x6c]
mov dword [esp + 0x24], 5
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0x104d
mov dword [esp + 0x34], edi
push dword [eax + 8]
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x24]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x14]
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [esp + 0x34], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x18]
call fcn.004df97b
mov ebx, dword [esp + 0x64]
add esp, 4
inc esi
je 0x4a5939
sub ebp, esi
lea eax, [ebp*2 + 2]
push eax
lea eax, [ebx + esi*2]
push eax
push ebx
call fcn.004dfa50
add esp, 0xc
mov dword [esp + 0x64], ebp
test ebp, ebp
jne 0x4a5848
mov esi, dword [esp + 0x60]
mov ecx, edi
push esi
call fcn.004a5720
push esi
mov dword [esp + 0x9c], 0xffffffff
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004df96c
add esp, 0x88
ret 4
Function at 0x4a6740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [0x523240]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetMenu]
push ebx
call edi
push 0x47
push dword [0x52323c]
mov esi, eax
call dword [sym.imp.USER32.dll_LoadMenuW]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
push esi
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
call esi
push ebx
call edi
cmp dword [0x52369c], 0
mov edi, eax
je 0x4a678c
push 0
xor edx, edx
mov ecx, edi
call fcn.004a6030
push ebx
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov eax, dword [0x5236c4]
test eax, eax
je 0x4a67a9
push eax
mov dword [0x5236c4], 0
call esi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0
mov esi, eax
push edi
mov dword [0x5236c4], esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edx, esi
mov ecx, eax
pop edi
pop esi
pop ebx
jmp fcn.004a6570