joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb390
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5e5dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
mov edi, dword [esp + 0x238]
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.004ca990
mov dword [esp + 0x22c], 0
mov dword [esi], vtable.DBE::CDBGoods.0
test edi, edi
je 0x4cb486
push 1
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
mov eax, edi
mov dword [esp + 0x30], esp
lea ebp, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4cb421
sub eax, ebp
sar eax, 1
push eax
push edi
call fcn.00439ce0
call fcn.0059f0f0
add esp, 0x20
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x5c], eax
cmp eax, 0xffffffff
je 0x4cb53e
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cb470
sub eax, edx
sar eax, 1
push eax
push edi
jmp 0x4cb536
lea ecx, [esp + 0x18]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push str.box_db2_temp_item.db2
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.0057ee86
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esp
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4cb4d3
sub eax, edi
sar eax, 1
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00439ce0
call fcn.0059f0f0
add esp, 0x20
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x5c], eax
cmp eax, 0xffffffff
je 0x4cb53e
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cb521
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x60]
call fcn.00439ce0
mov eax, esi
mov byte [esi + 0x7c], 1
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005792fc
add esp, 0x220
ret 8
Function at 0x4cb570
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5e5e3b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
mov edi, dword [esp + 0x238]
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.004cada0
mov dword [esp + 0x22c], 0
mov dword [esi], vtable.DBE::CDBItemDisp.0
test edi, edi
je 0x4cb666
push 1
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
mov eax, edi
mov dword [esp + 0x30], esp
lea ebp, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4cb601
sub eax, ebp
sar eax, 1
push eax
push edi
call fcn.00439ce0
call fcn.0059f0f0
add esp, 0x20
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x40], eax
cmp eax, 0xffffffff
je 0x4cb71e
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cb650
sub eax, edx
sar eax, 1
push eax
push edi
jmp 0x4cb716
lea ecx, [esp + 0x18]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push str.box_dbc_temp_ItemDisplayInfo.dbc
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.0057ee86
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esp
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4cb6b3
sub eax, edi
sar eax, 1
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00439ce0
call fcn.0059f0f0
add esp, 0x20
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x40], eax
cmp eax, 0xffffffff
je 0x4cb71e
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cb701
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x44]
call fcn.00439ce0
mov eax, esi
mov byte [esi + 0x60], 1
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005792fc
add esp, 0x220
ret 8
Function at 0x4cf072
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x66dd74], 0
push esi
jne 0x4cefe5
call fcn.004cef0b
test eax, eax
je 0x4cf028
mov eax, dword [0x66dd74]
cmp eax, 1
jne 0x4cf006
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x4cf028
pop esi
ret
push eax
call dword [0x66dd7c]
test eax, eax
jne 0x4cf070
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4cf02c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x66dd74]
call dword [0x66dd7c]
mov edi, eax
test edi, edi
je 0x4cf051
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x4cf06d
mov edi, esi
add esi, 0xff0
push edi
push dword [0x66dd74]
call dword [0x66dd78]
add edi, 0x10
cmp edi, esi
jb 0x4cf059
mov eax, edi
pop edi
pop esi
ret
jmp 0x4cefd2

Function at 0x4d0800
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x4d081d
push ebx
push ebx
push ebx
push 2
call fcn.004d2550
pop ebp
xor al, al
pop ebx
ret 8
push edi
call fcn.004d0580
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.00579f20
push ebx
call fcn.00583efe
push 0
push 0
push ebx
mov edi, eax
call fcn.00579f20
add esp, 0x1c
test edi, edi
jg 0x4d0866
push 0
push 0
push 0
push 0xc
mov ecx, ebp
call fcn.004d2550
pop edi
pop ebp
xor al, al
pop ebx
ret 8
lea eax, [edi + 1]
push esi
push eax
call fcn.00506f00
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.005804bf
add esp, 0x14
cmp eax, 1
je 0x4d08a8
push esi
call fcn.00506f70
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebp
call fcn.004d2550
pop esi
pop edi
pop ebp
xor al, al
pop ebx
ret 8
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x4d08d1
mov dl, byte [eax]
cmp dl, 0xd
jne 0x4d08c8
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x4d08cc
jmp 0x4d08cb
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x4d08b5
mov eax, dword [esp + 0x18]
push eax
mov byte [ecx], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call edx
push esi
call fcn.00506f70
add esp, 4
pop esi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop edi
pop ebp
sete al
pop ebx
ret 8
Function at 0x4d1140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e65a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.004d0df0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x66e054
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x6183ae
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.004d0370
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4d53e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e6888
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 2
call fcn.004d49a0
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0xb0]
mov edx, dword [esi]
mov edx, dword [edx + 0x6c]
neg ecx
sbb ecx, ecx
and ecx, 0x8000
or ecx, dword [esi + 0x7c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [esp + 0x58]
push eax
mov ecx, esi
call edx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004d4ad0
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
cmp eax, dword [esi + 0xc]
jne 0x4d54b4
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
mov edx, dword [edx + 0x70]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x3c
ret 4
Function at 0x4d5740
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push edi
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edi, [esi + 0x48]
push edi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4d581a
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi]
mov eax, ecx
and eax, 0xfffffffd
push eax
mov dword [esi + 0xbc], eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
test eax, eax
je 0x4d57aa
cmp dword [esi + 0x118], 0
jne 0x4d57aa
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push edi
call eax
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4d57d6
cmp word [eax], 0
je 0x4d57d6
push 1
push 0
push 0
push eax
push 0x5f2da8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x18
ret 0xc
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4d581a
mov edx, dword [esi]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
mov ecx, esi
mov dword [esp + 0x10], 1
mov dword [esp + 8], 0
call eax
mov ecx, dword [esi + 0x11c]
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 8]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call edx
pop edi
pop esi
add esp, 0x18
ret 0xc
Function at 0x4d59a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e68e8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
xor ebp, ebp
cmp dword [ebx], ebp
jne 0x4d59e5
cmp esi, dword [esp + 0x74]
jne 0x4d59e5
mov dword [ebx], 1
cmp esi, dword [esp + 0x78]
jne 0x4d59f5
mov eax, 1
jmp 0x4d5b05
mov eax, dword [esi + 0xbc]
shr eax, 3
not eax
and eax, 1
je 0x4d5b03
mov edx, dword [esp + 0x6c]
lea ecx, [esi + 0x48]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4d5b03
xor edi, edi
cmp dword [ebx], ebp
mov ebx, dword [esp + 0x68]
je 0x4d5a60
push ebp
push ebx
push 0x14
mov ecx, esi
call fcn.004d4340
push ebp
push ebx
push 0xf
mov ecx, esi
call fcn.004d4340
or eax, 0xffffffff
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x70], ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x74]
push eax
mov ecx, esi
mov dword [esp + 0x68], ebp
call fcn.004d49a0
mov esi, dword [esi + 0x1c]
cmp esi, ebp
je 0x4d5aec
jmp 0x4d5ac0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push esi
push ecx
mov ecx, dword [esp + 0x28]
push ebx
call fcn.004d59a0
mov edi, eax
cmp edi, ebp
jne 0x4d5aff
mov esi, dword [esi + 0x24]
cmp esi, ebp
jne 0x4d5ac0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.004d4ad0
mov eax, edi
jmp 0x4d5b05
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
Function at 0x4d66a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e6940
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
lea eax, [ebx + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
xor edi, edi
mov dword [esp + 0x24], edx
cmp ecx, edi
je 0x4d6706
push eax
push ecx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
call edx
mov esi, dword [ebx + 0x18]
mov dword [esp + 0x80], eax
mov ebp, ebx
cmp dword [esp + 0x84], edi
jne 0x4d6755
cmp esi, edi
je 0x4d6755
mov edi, edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test eax, eax
jne 0x4d674c
cmp dword [ebp + 0xd8], edi
je 0x4d674c
cmp dword [ebp + 0x60], 0xffffffff
jne 0x4d6755
mov ebp, esi
mov esi, dword [esi + 0x18]
cmp esi, edi
jne 0x4d6730
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0xa
mov dword [esp + 0x78], edi
cmp esi, edi
je 0x4d67c1
jmp 0x4d6780
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.004d5ca0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov dword [eax + 8], esi
mov dword [esp + 0x38], ecx
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x30]
cmp ecx, edi
je 0x4d67ae
mov dword [ecx + 4], eax
jmp 0x4d67b2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov esi, dword [esi + 0x18]
cmp esi, edi
jne 0x4d6780
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
or ecx, 0xffffffff
mov byte [esp + 0x78], 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov esi, eax
cmp eax, edi
je 0x4d682c
cmp esi, edi
je 0x4d6881
lea edx, [esp + 0x40]
mov eax, esi
mov esi, dword [esi]
push edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 8]
call fcn.004d49a0
cmp esi, edi
jne 0x4d6812
cmp dword [esp + 0x84], edi
jne 0x4d685b
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x84]
push edx
push ebx
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x9c], edi
call fcn.004d59a0
lea ecx, [esp + 0x28]
call fcn.004d4e80
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8
push 0x80004005
call fcn.00436e20
int3
Function at 0x4d6cc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e6973
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 4], vtable.CDuiRef.0
mov dword [esi + 8], 1
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.CDuiWindow.0
mov dword [esi + 4], vtable.CDuiWindow.1.0
call fcn.004d6470
push 0x66e060
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
call fcn.004d6470
inc dword [eax + 0x30]
mov ebp, dword [eax + 0x30]
add eax, 0x30
push ebp
call fcn.004d6470
mov ecx, eax
call fcn.004e34e0
push 0x66e060
mov dword [eax], esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
lea ecx, [esi + 0x5c]
mov dword [esi + 0x58], edi
call fcn.004dd7e0
mov eax, dword [0x66dd30]
mov edx, dword [eax + 0xc]
mov ecx, 0x66dd30
call edx
add eax, 0x10
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov eax, dword [0x66dd30]
mov edx, dword [eax + 0xc]
mov ecx, 0x66dd30
call edx
add eax, 0x10
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], 1
mov eax, dword [0x66dd30]
mov edx, dword [eax + 0xc]
mov ecx, 0x66dd30
call edx
add eax, 0x10
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], 2
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0x114], 0xffffffff
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x4d8645
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 4], 0xd
push esi
mov esi, ecx
jne 0x4d868c
test dword [esi + 0x340], 0x1000
jne 0x4d868c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4d868c
mov ecx, esi
call fcn.004ea5a0
mov edx, dword [eax]
push 0
push 1
mov ecx, eax
mov eax, dword [edx + 4]
push 0x111
call eax
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret 0xc
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x348]
mov esi, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
push esi
mov esi, dword [eax + 4]
mov eax, dword [eax]
push esi
push eax
call edx
pop esi
ret 0xc
Function at 0x4dc2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e6cf1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
fld dword [0x5fc6d4]
lea esi, [edi + 4]
mov dword [edi], vtable.DuiFontPool.0
fstp dword [esi + 0xc]
fld dword [0x5fc6d0]
xor ebp, ebp
fstp dword [esi + 0x10]
mov ecx, esi
fld dword [0x5fc6cc]
mov dword [esi], ebp
fstp dword [esi + 0x14]
mov dword [esi + 4], ebp
mov dword [esi + 8], 0x11
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
call fcn.004e20f0
lea ebx, [edi + 0x90]
push 0x5fcb90
mov ecx, ebx
mov dword [esp + 0x30], ebp
call fcn.00455d90
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x6183ae
mov byte [esp + 0x34], 1
mov dword [edi + 0x94], 0xfffffff5
call fcn.00470ea0
push ebp
lea ecx, [esp + 0x24]
call fcn.004dbde0
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 2
call dword [sym.imp.KERNEL32.DLL_GetVersion]
lea ebp, [edi + 0x34]
push ebp
push 0x5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [ebx]
mov eax, dword [edi + 0x94]
push ebx
lea ecx, [edi + 0x50]
push 0x20
push ecx
mov dword [ebp], eax
call fcn.0057e6bb
add esp, 0xc
push ebp
mov byte [edi + 0x4e], 4
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
mov ebx, eax
call fcn.004dc280
mov dword [eax], ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4dc42e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret