joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4249b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4ff12c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004a21c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x424a16
cmp dword [ebp - 0x11c], 6
jb 0x424a06
cmp dword [ebp - 0x118], 2
jae 0x424a16
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048aaf4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0048aaf4
mov esp, ebp
pop ebp
ret
Function at 0x4280d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x428101
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4280f0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4298c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5c0e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ff12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 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 [ebp - 4], 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 + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
je 0x4299aa
test dl, 0x10
jne 0x4299aa
mov al, 1
jmp 0x4299ac
xor al, al
mov edx, dword [ebp + 0x10]
push ecx
mov byte [esi + 0x6c], al
mov dword [esi + 0x70], edx
push dword [edi + 0x18]
call fcn.0042a5a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42ad30
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42af4d
cmp eax, 0x7c
je 0x42af4d
cmp eax, 0x29
jne 0x42ad71
cmp dword [esi + 0x10], 0
jne 0x42af4d
cmp eax, eax
jne 0x42ad71
test dword [esi + 0x50], 0x10000000
je 0x42af5a
jmp 0x42af06
cmp eax, 0x2e
jne 0x42ad82
push 5
lea ecx, [esi + 0x24]
call fcn.0042afb0
jmp 0x42adfe
cmp eax, 0x5c
jne 0x42ade1
mov ecx, esi
call fcn.0042ace0
test byte [esi + 0x50], 0x80
je 0x42add5
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x42adb3
push 4
lea ecx, [esi + 0x24]
call fcn.0042afb0
mov ecx, esi
call fcn.0042ace0
jmp 0x42af3f
cmp eax, 0x42
jne 0x42add5
push 4
lea ecx, [esi + 0x24]
call fcn.0042afb0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042ace0
jmp 0x42af3f
mov ecx, esi
call fcn.0042bcb0
jmp 0x42af38
cmp eax, 0x5b
jne 0x42ae4e
mov ecx, esi
call fcn.0042ace0
mov ecx, esi
call fcn.0042bbc0
cmp dword [esi + 0x4c], 0x5d
jne 0x42af68
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x42ae42
cmp word [eax], 0x5c
jne 0x42ae3d
lea ecx, [eax + 2]
cmp ecx, edx
je 0x42ae3d
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x42ae29
movzx edi, word [ecx]
cmp edi, 0x28
je 0x42ae3b
cmp edi, 0x29
je 0x42ae3b
test dl, 0x10
jne 0x42ae3d
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x42ae3b
cmp edx, 0x7d
jne 0x42ae3d
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00429bd0
jmp 0x42af38
cmp eax, 0x28
jne 0x42aec2
mov ecx, esi
call fcn.0042ace0
mov ecx, esi
call fcn.0042be50
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x42af5a
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x42aeb1
cmp word [eax], 0x5c
jne 0x42aeac
lea ecx, [eax + 2]
cmp ecx, edx
je 0x42aeac
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x42ae98
movzx edi, word [ecx]
cmp edi, 0x28
je 0x42aeaa
cmp edi, 0x29
je 0x42aeaa
test dl, 0x10
jne 0x42aeac
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x42aeaa
cmp edx, 0x7d
jne 0x42aeac
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00429bd0
test bl, bl
je 0x42af3f
jmp 0x42af38
cmp eax, 0x5e
jne 0x42aeda
push 2
lea ecx, [esi + 0x24]
call fcn.0042afb0
mov ecx, esi
call fcn.0042ace0
jmp 0x42af3f
cmp eax, 0x24
jne 0x42aef2
push 3
lea ecx, [esi + 0x24]
call fcn.0042afb0
mov ecx, esi
call fcn.0042ace0
jmp 0x42af3f
cmp eax, 0x2a
je 0x42af53
cmp eax, 0x2b
je 0x42af53
cmp eax, 0x3f
je 0x42af53
cmp eax, 0x7b
je 0x42af53
cmp eax, 0x7d
jne 0x42af16
test dword [esi + 0x50], 0x10000000
je 0x42af61
jmp 0x42af24
cmp eax, 0x5d
jne 0x42af24
test dword [esi + 0x50], 0x10000000
je 0x42af68
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042c110
mov ecx, esi
call fcn.0042ace0
mov ecx, esi
call fcn.0042bf60
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x42ad43
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.00429bc0
push 5
call fcn.00429bc0
push 6
call fcn.00429bc0
push 4
call fcn.00429bc0
int3
Function at 0x43e5dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
xor ebx, ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43e636
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x43e62e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43e636
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp + 8]
call fcn.00407040
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x43f713
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x43f736
or esi, 1
push 2
call edi
test ax, ax
jns 0x43f742
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43f74e
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43f75a
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x442a39
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x4b4]
call fcn.00436d03
mov edi, dword [ebp + 8]
test eax, eax
jle 0x442a91
push ebx
lea ecx, [esi + 0x4b4]
mov byte [ebp + 0xb], 0
call fcn.004368b6
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
mov ecx, eax
jne 0x442af5
lea ecx, [esi + 0x4b4]
inc ebx
call fcn.00436d03
cmp ebx, eax
jl 0x442a58
sub edi, 0x100
je 0x442b6a
sub edi, 4
je 0x442b01
dec edi
sub edi, 1
jne 0x442c24
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.004ae6ec
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x444a50
call dword [eax + 0x13c]
mov esi, eax
test esi, esi
je 0x442c24
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
jmp 0x442afa
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov al, 1
jmp 0x442c26
cmp dword [esi + 0x108], 0
je 0x442c24
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x124]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.0043f713
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x148]
jmp 0x442c24
cmp dword [ebp + 0xc], 9
jne 0x442c24
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x442bc7
mov eax, dword [ecx]
call dword [eax + 0x108]
test al, al
je 0x442bc7
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x114]
test al, al
je 0x442bc7
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004a2f7d
pop ecx
pop ecx
test eax, eax
je 0x442bc7
mov ecx, dword [esi + 0x108]
call fcn.0045fd20
test al, al
jne 0x442c24
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x442c0b
mov eax, dword [ecx]
call dword [eax + 0x108]
test al, al
je 0x442c0b
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x114]
test al, al
je 0x442c0b
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004a2f7d
pop ecx
pop ecx
test eax, eax
jne 0x442c24
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0044403e
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x443cb2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0xa8]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x443cde
cmp esi, dword [edi + 0x108]
je 0x443cde
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
cmp esi, eax
je 0x443dc4
test eax, eax
je 0x443d45
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x17
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x148]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.004437f3
and dword [edi + 0x108], 0
test esi, esi
je 0x443dc4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x443dc4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
test al, al
je 0x443dc4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x114]
test al, al
je 0x443dc4
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x148]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.004437f3
pop edi
pop esi
leave
ret 4
Function at 0x453c2d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x453c5b
cmp eax, edi
jge 0x453c4f
push esi
call fcn.0044f29f
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x453c7e
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x453c64
mov dword [esi + 8], edx
jmp 0x453c93
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x453c89
xor dl, dl
jmp 0x453c8e
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x453c7e
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x453ccb
push str.zlib_corrupt
call fcn.0044f1c4
pop ecx
jmp 0x453d0b
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x453cdb
push str.read_past_buffer
jmp 0x453cc3
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x453cf5
push edi
push ecx
push esi
call fcn.00456efe
add esp, 0xc
test eax, eax
je 0x453d0b
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004a2320
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x457aee
Capabilities:
Terminate process

Disassembly:
push 0x2e0
mov eax, 0x4c722e
call fcn.0048b203
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00436d03
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00436d03
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
mov ecx, edi
call dword [eax + 0x30]
push eax
push dword [edi + 4]
mov ecx, ebx
call fcn.0043f3e1
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.0043e3e9
lea ecx, [ebp - 0x2e8]
call fcn.00458c4f
mov eax, dword [edi]
lea ecx, [ebp - 0x118]
push ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call dword [eax + 0x28]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.00436eb0
lea ecx, [ebp - 0x94]
test al, al
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x457bde
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00408300
push eax
call fcn.004a6c97
pop ecx
lea ecx, [ebp - 0x94]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.004367b7
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
and ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x118]
call fcn.00408300
push eax
push esi
lea ecx, [ebp - 0x2e8]
call fcn.00459c71
mov esi, eax
jmp 0x457c1c
call dword [eax + 0x2c]
mov edx, edi
mov byte [ebp - 4], 3
neg edx
lea ecx, [edi + 0x28]
push esi
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push esi
call fcn.00408300
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x2e8]
call fcn.00459c71
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004367b7
test esi, esi
jne 0x457c85
push 0xffffffffffffffff
push 0x4cddbc
lea ecx, [ebp - 0x94]
call fcn.004366b5
mov eax, dword [edi]
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00436906
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 4
call fcn.004367b7
push 0x10
push str.Duilib
lea ecx, [ebp - 0x94]
call fcn.00408300
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.0043e493
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.0043e32f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.004367b7
lea ecx, [ebp - 0x2e8]
call fcn.0045a2b2
xor eax, eax
call fcn.0048b1be
ret 0x10
Function at 0x4589c1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x458a70
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x458a74
cmp dword [ebp - 0x1c], 0x10
jne 0x458a3f
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x458a3f
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.004446bf
pop ecx
test al, al
jne 0x458a61
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x458a74
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x458a0c
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x458a92
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x458a97
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x458ac9
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x45bd89
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00469637

Function at 0x45bd92
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c8
jmp method.DuiLib::CMenuUI.virtual_332

Function at 0x45cd86
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4ff12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
and dword [ebx + 0x780], 0
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x77c], ecx
mov dword [ebx + 0x784], eax
test ecx, ecx
jne 0x45cdf1
call fcn.0045cae0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x45cdf1
call fcn.0045cae0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0045cae0
mov edx, ebx
lea ecx, [ebx + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
mov ecx, dword [ebx + 0x77c]
test ecx, ecx
je 0x45ce19
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
mov ecx, edi
call fcn.0043f313
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.0043666c
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.0045859c
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jmp 0x45ce5e
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x45ce59
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048aaf4
leave
ret 0x1c
Function at 0x45e6f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ff12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x214], edi
test cx, cx
je 0x45e75c
add edi, 0x28
cmp word [eax], 0x3c
mov ecx, edi
jne 0x45e74e
push eax
call fcn.0045a4d4
test al, al
jne 0x45e7b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048aaf4
leave
ret 8
push 0
push eax
call fcn.0045a522
test al, al
je 0x45e73b
jmp 0x45e7b9
push edx
push eax
call fcn.0043f320
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x45e73b
push esi
call fcn.0043f320
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x45e78c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x45e73b
push 0
push esi
add edi, 0x28
call fcn.0043f320
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call fcn.0045a815
test al, al
je 0x45e73b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.0045a42c
sub esp, 0x20c
mov esi, eax
mov edi, esp
mov ecx, 0x83
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call fcn.0045e40c
jmp 0x45e73d

Function at 0x461ac1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x6a4], edi
je 0x461b2a
cmp dword [ebp + 8], 0x100
jne 0x461b19
cmp dword [ebp + 0xc], 0xd
jne 0x461b19
cmp byte [esi + 0x6aa], 0
je 0x461b00
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x461b19
cmp byte [esi + 0x6ab], 0
jne 0x461b19
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x461b15
push edi
push edi
push edi
push str.return
push esi
call fcn.004437f3
xor eax, eax
jmp 0x461b2d
mov eax, dword [esi + 0x6a4]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10