joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43742c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x43750d
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x437450
inc edx
cmp edx, 2
jg 0x43748e
cmp al, 0x7f
ja 0x43748e
movzx eax, al
mov al, byte [eax + 0x5de8e8]
cmp al, 0x7f
je 0x43748e
cmp al, 0x40
jae 0x437469
test edx, edx
jne 0x43748e
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x437443
test ecx, ecx
je 0x43750d
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x437493
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x437490
push 0xffffffffffffffee
pop eax
jmp 0x43750f
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x437507
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x5de8e8]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x4374f8
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x4374e3
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x4374f0
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x4374f8
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x4374a8
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x438f92
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x438fb5
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x439052
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.00438ba8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x438fd8
push ebx
call fcn.004a169c
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x43902e
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x64a420]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x439003
call fcn.004a169c
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x43902e
push esi
push 1
push eax
call fcn.004a18e8
push ebx
mov esi, eax
call fcn.004a169c
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x439037
push dword [ebp - 4]
call dword [0x64a424]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x439051
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00438f3d
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450495
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.0045063a
test eax, eax
jne 0x4505a7
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x4504c3
call fcn.004406e8
mov esi, eax
jmp 0x4504c5
xor esi, esi
push ebx
push 0x2800
call fcn.00499b65
mov edi, eax
mov dword [esp], 0x5000
call fcn.00499b65
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push 0x5e2868
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00450a63
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x450526
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00499b60
pop ecx
test esi, esi
je 0x450562
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x450562
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.srccoreSObjectFactory.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x45059b
mov ebx, 0x2800
push ebx
call fcn.00499b65
push 0x3d
push str.srccoreSObjectFactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.00450a44
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499b60
pop ecx
push edi
call fcn.00499b60
pop ecx
xor eax, eax
pop ebx
jmp 0x4505c3
mov ecx, dword [edi + 8]
push esi
call fcn.004502c9
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.0045086c
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x450fdb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x5dc4f0
push dword [ebp + 8]
call fcn.004a15f8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x451038
push ebx
push edi
push esi
call fcn.004a60b0
push eax
call fcn.004a61e6
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x451017
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x45102d
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004a18e8
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004a169c
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x451092
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.00451ba5
mov ebx, eax
test ebx, ebx
je 0x451101
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4510e5
cmp dword [ebp + 0x14], edi
jae 0x4510ca
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4510e5
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4510e5
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4510e9
xor eax, eax
jmp 0x451100
push edi
push eax
push dword [ebp + 0x10]
call fcn.00491c90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x45397d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x4539a3
call fcn.0044938b
jmp 0x4539cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00448833
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x4539cf
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x45d22f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x20c]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x20c], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x45d2d5
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
xor edx, edx
mov dword [ebp - 4], ecx
inc edx
mov eax, dword [edi]
push 0
push ecx
push edx
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x45d29d
mov ecx, edi
call fcn.0045e9d6
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x45d278
cmp si, bx
jge 0x45d2d5
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.004489d5
test bx, bx
je 0x45d314
mov ecx, edi
call fcn.0041939a
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45f3a1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00492210
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x45f3fc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x45f410
cmp byte [ebp - 6], 1
jne 0x45f410
cmp dword [ebp - 0x11c], 6
jne 0x45f410
xor eax, eax
inc eax
jmp 0x45f412
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00426902
mov esp, ebp
pop ebp
ret
Function at 0x46b2c8
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x5cd5e1
call fcn.004271b6
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00445405
mov dword [ebp - 0x64], 0x5e6c84
mov dword [ebp - 0x5c], 0x5e6c98
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x3c], ebx
jne 0x46b4c1
cmp dword [ebp + 0x10], ebx
je 0x46b336
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x46b481
cmp dword [esi + 0x260], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x46b34d
cmp dword [esi + 0x25c], 0
je 0x46b36f
push 0x11
call ebx
test ax, ax
jns 0x46b36f
cmp edi, 0xffffffff
je 0x46b48f
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], eax
jmp 0x46b32b
cmp dword [esi + 0x260], 0
jne 0x46b385
cmp dword [esi + 0x25c], 0
je 0x46b418
push 0x10
call ebx
test ax, ax
jns 0x46b418
cmp edi, 0xffffffff
je 0x46b48f
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
call fcn.0046afea
test eax, eax
jle 0x46b48f
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x268]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x46b3f3
cmp ebx, dword [ebp - 0x10]
jg 0x46b3f3
mov dword [eax + 8], 1
jmp 0x46b3f7
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x46b404
push ebx
mov ecx, esi
call fcn.0046b96e
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.0046afea
cmp ebx, eax
jl 0x46b3d5
mov edi, dword [ebp + 0xc]
jmp 0x46b48f
or dword [esi + 0x21c], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.0046afea
test eax, eax
jle 0x46b46c
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x268]
cmp ebx, edi
je 0x46b457
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x46b457
and dword [eax + ecx + 8], 0
test edx, edx
je 0x46b457
push ebx
mov ecx, esi
call fcn.0046b96e
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.0046afea
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x46b431
cmp edi, 0xffffffff
je 0x46b48f
imul eax, edi, 0xc
add eax, dword [esi + 0x268]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x21c], edi
call fcn.0046b96e
push esi
lea ecx, [ebp - 0x38]
call fcn.00445405
mov dword [ebp - 0x38], 0x5e6d08
mov dword [ebp - 0x30], 0x5e6d1c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
call fcn.00427190
ret 0xc
Function at 0x46ea8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x46eaed
sub eax, 1
je 0x46eacf
sub eax, 3
je 0x46eacf
test dword [edi + 0x36c], 0x2000
je 0x46eb08
push esi
call fcn.004a6464
pop ecx
test eax, eax
jne 0x46eb08
cmp esi, 0x2d
je 0x46eb08
cmp esi, 0x2e
je 0x46eb08
cmp esi, 0x2c
je 0x46eb08
jmp 0x46eb23
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46eb08
test dword [edi + 0x36c], 0x1000
jmp 0x46eb06
test byte [edi + 0x370], 0x80
jne 0x46eb08
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46eb23
mov eax, dword [edi + 0x37c]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x46edc7
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x5ce7be
call fcn.004271b6
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00445405
mov dword [ebp - 0x38], 0x5e735c
mov dword [ebp - 0x30], 0x5e7370
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x46ee36
cmp edi, 0xd
jne 0x46ee3b
test dword [esi + 0x36c], 0x1000
jne 0x46ee3b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46ee3b
mov dword [esi + 0x10], ebx
jmp 0x46ee55
mov eax, dword [esi + 0x37c]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.00427190
ret 0xc
Function at 0x46f803
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
test esi, esi
jne 0x46f91d
cmp dword [ebx], 0x74
je 0x46f91d
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x46f839
call fcn.004406e8
mov esi, eax
jmp 0x46f83b
xor esi, esi
push 0x2800
call fcn.00499b65
mov edi, eax
mov dword [esp], 0x5000
call fcn.00499b65
mov dword [esp], str.set_default_char_format_failed__only_CHARFORMAT2W_can_be_set_for_default_char_format
mov ebx, eax
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00450a63
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x46f895
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00499b60
pop ecx
test esi, esi
je 0x46f8d4
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x46f8d4
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.srccontrolSRichEdit.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x46f912
mov ebx, 0x2800
push ebx
call fcn.00499b65
mov dword [esp], 0x550
mov esi, eax
push str.srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.00450a44
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499b60
pop ecx
push edi
call fcn.00499b60
pop ecx
xor eax, eax
jmp 0x46f95e
mov eax, dword [edi + 0x37c]
push 0
push ebx
push esi
mov ecx, dword [eax + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test esi, esi
jne 0x46f95b
mov eax, dword [ebp - 4]
add edi, 0x214
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x37c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x471431
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x5cf23f
call fcn.004271b6
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [ebp - 0x10]
and eax, 0x8000
and edi, 0x8000
jne 0x471497
test ecx, ecx
jne 0x47147d
test eax, eax
jne 0x471476
inc eax
jmp 0x4714cb
push 2
pop eax
push 4
jmp 0x4714ca
test eax, eax
jne 0x471488
push 4
pop eax
push 2
jmp 0x4714ca
push 6
pop eax
push 0x10
mov word [ebx + 0x16c], ax
pop eax
jmp 0x4714d2
test ecx, ecx
jne 0x4714a9
test eax, eax
jne 0x4714a5
push 8
pop eax
inc ecx
jmp 0x4714cb
test ecx, ecx
je 0x4714b8
test eax, eax
jne 0x4714b4
push 0x40
pop eax
push 3
jmp 0x4714ca
test ecx, ecx
jne 0x4714c3
test eax, eax
je 0x4714c3
push 0x20
pop eax
push 5
jmp 0x4714ca
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x16c], cx
test word [ebx + 0x170], ax
je 0x4714e9
mov ax, word [ebx + 0x172]
mov word [ebx + 0x16c], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.00445405
mov dword [ebp - 0x34], 0x5e7ac0
mov dword [ebp - 0x2c], 0x5e7ad4
mov ax, word [ebx + 0x16c]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x16e]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
call fcn.00427190
ret

Function at 0x486119
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x486126
xor eax, eax
jmp 0x486154
push dword [ecx + 4]
call fcn.0045920a
pop ecx
test eax, eax
je 0x486141
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x486122
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4
Function at 0x486245
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x5ceb52
call fcn.004271b6
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00486119
test eax, eax
je 0x486280
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.00485c4e
xor eax, eax
inc eax
jmp 0x486382
push dword [ebx + 4]
call fcn.0045920a
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x48632c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x48632c
cmp edi, 0x25
je 0x4862b9
cmp edi, 0x27
je 0x4862c7
cmp edi, 0x26
je 0x4862b9
cmp edi, 0x28
jne 0x48632c
cmp edi, 0x27
je 0x4862c7
cmp edi, 0x28
je 0x4862c7
push 2
jmp 0x4862c9
push 3
pop edi
jmp 0x4862d7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x486316
push edi
mov ecx, esi
call fcn.00447133
mov esi, eax
test esi, esi
jne 0x4862cc
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.00446e20
mov ecx, eax
jmp 0x486306
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x486316
push edi
mov ecx, esi
call fcn.00447133
mov esi, eax
test esi, esi
jne 0x4862f8
jmp 0x486278
push 1
mov ecx, esi
call fcn.00447058
push eax
mov ecx, ebx
call fcn.004865e3
jmp 0x486278
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.0048744e
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004863d6
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.0059e630
mov eax, ebx
call fcn.00427190
ret 4
Function at 0x48759e
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x5ced18
call fcn.004271b6
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x64a3fc]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
and dword [ebp - 4], 0
inc ebx
movzx edx, cx
mov dword [ebp - 0x10], ebx
push 2
pop edi
cmp edx, 0x25
ja 0x487647
je 0x48763d
mov eax, edx
sub eax, 0xd
je 0x487633
sub eax, 0xe
je 0x487629
sub eax, 5
je 0x48761f
sub eax, ebx
je 0x487615
sub eax, ebx
je 0x48760b
sub eax, ebx
je 0x487601
sub eax, ebx
jne 0x48767e
push str.Home
jmp 0x4877b5
push 0x5ea964
jmp 0x4877b5
push str.PageDown
jmp 0x4877b5
push str.PageUp
jmp 0x4877b5
push str.Space
jmp 0x4877b5
push 0x5ea918
jmp 0x4877b5
push 0x5ea920
jmp 0x4877b5
push 0x5ea940
jmp 0x4877b5
mov eax, edx
sub eax, 0x26
je 0x4877b0
sub eax, 1
je 0x4877a9
sub eax, 1
je 0x4877a2
sub eax, edi
je 0x48779b
sub eax, 3
je 0x487794
sub eax, 1
je 0x48778d
cmp cx, 0x30
jb 0x48768a
cmp cx, 0x39
jbe 0x487693
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x4876aa
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00415c3e
jmp 0x4877bc
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x4876ce
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0043c6fa
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x487720
cmp cx, 0x6a
jne 0x4876de
push 0x5ea9c8
jmp 0x4877b5
cmp cx, 0x6b
jne 0x4876ee
push str.Num_
jmp 0x4877b5
cmp cx, 0x6e
jne 0x4876fe
push str.Num_Del
jmp 0x4877b5
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x48773c
lea eax, [edx - 0x6f]
push eax
push 0x5ea9f0
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0043c6fa
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x64a3f8]
je 0x4877bc
call fcn.00419df4
jmp 0x4877bc
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, al
movsx eax, cl
cmp eax, 0x3d
jg 0x487766
je 0x487775
cmp eax, 0x27
je 0x487775
cmp eax, 0x2b
jle 0x4877bc
cmp eax, 0x2f
jle 0x487775
cmp eax, 0x3b
je 0x487775
jmp 0x4877bc
cmp eax, 0x5b
jl 0x4877bc
cmp eax, 0x5d
jle 0x487775
cmp eax, 0x60
jne 0x4877bc
movsx ax, cl
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00450e07
jmp 0x4877bc
push str.Delete
jmp 0x4877b5
push str.Insert
jmp 0x4877b5
push str.Print
jmp 0x4877b5
push str.Down
jmp 0x4877b5
push 0x5ea94c
jmp 0x4877b5
push 0x5ea92c
mov ecx, esi
call fcn.0040dd70
mov eax, esi
call fcn.00427190
ret

Function at 0x48e489
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48e4f1
mov ecx, esi
call fcn.0048e4f6
push 0
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x48e4cc
push 0
call fcn.00449730
and dword [esi + 0x3a8], 0
mov ecx, dword [0x66b3e4]
lea ecx, [ecx + 8]
call fcn.0043c66f
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
je 0x48e4f1
pop esi
mov ecx, dword [ecx + 0x170]
pop ebp
jmp fcn.0048efae
pop esi
pop ebp
ret 4