joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40604c], 1
mov dword [0x406050], 1
mov dword [0x406054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x4017f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00402808
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00402808
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x4023c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x4023e3
mov eax, 0
jmp 0x402427
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x402406
mov eax, 0
jmp 0x402427
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x402422
mov eax, 0
jmp 0x402427
mov eax, 1
leave
ret
Function at 0x402429
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x402488
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402480
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x402480
mov eax, dword [ebp - 4]
jmp 0x40249c
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x40245d
mov eax, 0
leave
ret
Function at 0x4374a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.00437fc1
mov ebx, eax
test ebx, ebx
je 0x4374dc
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x4374dc
cmp dword [ebp + 0x14], edi
jae 0x4374e5
push 0x7a
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x4374dc
push esi
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x4374dc
push edi
push eax
push dword [ebp + 0x10]
call fcn.004ffbc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
inc eax
jmp 0x4374de
Function at 0x43bbf2
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.0043bd97
test eax, eax
jne 0x43bd04
mov ecx, dword [0x5b4b40]
test ecx, ecx
je 0x43bc20
call fcn.00426db5
mov esi, eax
jmp 0x43bc22
xor esi, esi
push ebx
push 0x2800
call fcn.00801f5b
mov edi, eax
mov dword [esp], 0x5000
call fcn.00801f5b
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push str.Warning:_no_object__s_of_type:_d_in_SOUI__
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.0043240c
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 0x43bc83
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.007fc1d8
pop ecx
test esi, esi
je 0x43bcbf
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x43bcbf
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.E:_suohaonekeyfun_souiSOUI_srccoreSObjectFactory.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x43bcf8
mov ebx, 0x2800
push ebx
call fcn.00801f5b
push 0x3d
push str.E:_suohaonekeyfun_souiSOUI_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.004323ed
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push esi
call fcn.007fc1d8
pop ecx
push edi
call fcn.007fc1d8
pop ecx
xor eax, eax
pop ebx
jmp 0x43bd20
mov ecx, dword [edi + 8]
push esi
call fcn.0043ba44
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.0043bfb1
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x440609
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x78
pop ecx
mov ax, word [edi + 0x210]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x210], dx
cdq
xor eax, edx
sub eax, edx
movzx esi, ax
xor eax, eax
cmp ax, si
jge 0x4406ac
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 4], ecx
movzx eax, bx
push 0
mov dword [ebp - 8], eax
mov eax, dword [edi]
push ecx
push 1
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x44067b
mov ecx, edi
call fcn.00441e36
mov ecx, dword [ebp - 4]
inc ebx
cmp bx, si
jl 0x440650
jmp 0x4406b1
sub esi, dword [ebp - 8]
push dword [ebp + 0x14]
mov eax, esi
push dword [ebp + 0x10]
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, si
cmovg ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.004303ad
jmp 0x4406b1
test si, si
je 0x4406eb
mov ecx, edi
call fcn.0042e301
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
leave
ret 0x10

Function at 0x44437c
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 + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x4443a2
call fcn.00430d79
jmp 0x4443ce
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043020b
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x4443ce
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 0x45087f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
lea ecx, [ebp - 0x14]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
movups xmmword [ebp - 0x14], xmm0
call dword [eax + 0x50]
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x450967
mov edx, dword [ebp - 0x14]
xor edi, edi
cmp dword [ebx + 0x178], edi
push 2
pop eax
push 4
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x1a4], edi
jbe 0x450967
mov eax, edi
mov dword [ebp - 0x18], edi
mov esi, dword [ebx + 0x1a0]
mov ecx, ebx
add esi, eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebx]
call dword [eax + 0x60]
push eax
lea ecx, [esi + 4]
call fcn.00436e3c
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x450955
mov esi, dword [ebx + 0x1a0]
cmp byte [esi + eax + 0x28], 0
je 0x450955
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x60]
mov ecx, dword [ebp - 0x18]
add ecx, 4
push eax
add ecx, esi
call fcn.00436e3c
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x1c], edx
cmp dword [ebp + 8], eax
jl 0x4509a6
mov eax, edx
sub eax, ecx
cmp dword [ebp + 8], eax
jl 0x45099c
cmp dword [ebp + 8], edx
jl 0x45097b
mov eax, dword [ebp - 0x18]
jmp 0x450958
mov edx, dword [ebp - 0x1c]
inc edi
add eax, 0x2c
mov dword [ebp - 0x18], eax
cmp edi, dword [ebx + 0x1a4]
jb 0x4508e9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 8
movzx edx, di
mov esi, 0xffff
lea eax, [edx + 1]
movzx ecx, ax
cmp ecx, dword [ebx + 0x1a4]
cmovae ecx, esi
movzx eax, cx
shl eax, 0x10
or eax, edx
jmp 0x45096a
movzx ecx, di
mov eax, ecx
shl eax, 0x10
jmp 0x4509bc
xor eax, eax
movzx edx, di
cmp eax, edi
sbb eax, eax
lea ecx, [edx - 1]
and eax, ecx
mov ecx, edx
movzx eax, ax
shl ecx, 0x10
or eax, ecx
jmp 0x45096a

Function at 0x455d1b
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 0x455d7b
sub eax, 1
je 0x455d5e
sub eax, 3
je 0x455d5e
test dword [edi + 0x370], 0x2000
je 0x455d93
push esi
call fcn.0050c220
pop ecx
test eax, eax
jne 0x455d93
cmp esi, 0x2d
je 0x455d93
cmp esi, 0x2e
je 0x455d93
cmp esi, 0x2c
je 0x455d93
jmp 0x455dae
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x455d93
test dword [edi + 0x370], 0x1000
je 0x455dae
jmp 0x455d93
test byte [edi + 0x374], 0x80
jne 0x455d93
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x455dae
mov eax, dword [edi + 0x380]
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 0x456052
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x54dabe
call fcn.007dc22e
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.0042caaf
mov dword [ebp - 0x38], 0x56142c
mov dword [ebp - 0x30], 0x561440
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 0x4560da
cmp edi, 0xd
jne 0x4560be
test dword [esi + 0x370], 0x1000
jne 0x4560be
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x4560da
mov eax, dword [esi + 0x380]
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]
jmp 0x4560dd
mov dword [esi + 0x10], ebx
call fcn.007e8072
ret 0xc
Function at 0x456a87
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 0x456ba1
cmp dword [ebx], 0x74
je 0x456ba1
mov ecx, dword [0x5b4b40]
test ecx, ecx
je 0x456abd
call fcn.00426db5
mov esi, eax
jmp 0x456abf
xor esi, esi
push 0x2800
call fcn.00801f5b
mov edi, eax
mov dword [esp], 0x5000
call fcn.00801f5b
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.0043240c
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 0x456b19
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.007fc1d8
pop ecx
test esi, esi
je 0x456b58
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x456b58
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.E:_suohaonekeyfun_souiSOUI_srccontrolSRichEdit.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x456b96
mov ebx, 0x2800
push ebx
call fcn.00801f5b
mov dword [esp], 0x550
mov esi, eax
push str.E:_suohaonekeyfun_souiSOUI_srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.004323ed
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push esi
call fcn.007fc1d8
pop ecx
push edi
call fcn.007fc1d8
pop ecx
xor eax, eax
jmp 0x456be2
mov eax, dword [edi + 0x380]
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 0x456bdf
mov eax, dword [ebp - 4]
add edi, 0x218
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x380]
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
leave
ret 0xc
Function at 0x45869e
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x54dc5d
call fcn.007dc22e
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
and eax, 0x8000
lea esi, [ebx + 0x170]
and edi, 0x8000
jne 0x458707
cmp dword [ebp - 0x10], 0
jne 0x4586f1
test eax, eax
jne 0x4586ea
inc eax
xor ecx, ecx
jmp 0x458733
push 2
pop eax
push 4
jmp 0x458732
test eax, eax
jne 0x4586fc
push 4
pop eax
push 2
jmp 0x458732
push 6
pop eax
push 0x10
mov word [esi], ax
pop eax
jmp 0x458736
cmp dword [ebp - 0x10], 0
jne 0x458720
test eax, eax
jne 0x458719
push 8
xor ecx, ecx
pop eax
inc ecx
jmp 0x458733
push 0x20
pop eax
push 5
jmp 0x458732
test eax, eax
jne 0x45872b
push 0x40
pop eax
push 3
jmp 0x458732
mov eax, 0x80
push 7
pop ecx
mov word [esi], cx
test word [ebx + 0x174], ax
je 0x458749
mov ax, word [ebx + 0x176]
mov word [esi], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.0042caaf
mov dword [ebp - 0x34], 0x561bd4
mov dword [ebp - 0x2c], 0x561be8
mov ax, word [esi]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x172]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
call fcn.007e8072
ret

Function at 0x46c300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x46c338
push dword [ecx + 4]
call fcn.0043c547
pop ecx
test eax, eax
je 0x46c324
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x46c338
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x46c338
xor eax, eax
inc eax
jmp 0x46c33a
xor eax, eax
pop ebp
ret 4
Function at 0x46c423
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x550740
call fcn.007dc22e
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.0046c300
test eax, eax
je 0x46c45e
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.0046beb5
xor eax, eax
inc eax
jmp 0x46c552
push dword [ebx + 4]
call fcn.0043c547
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x46c4fc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x46c4fc
cmp edi, 0x25
je 0x46c497
cmp edi, 0x27
je 0x46c493
cmp edi, 0x26
je 0x46c497
cmp edi, 0x28
jne 0x46c4fc
push 3
jmp 0x46c499
push 2
pop edi
jmp 0x46c4a7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x46c4e6
push edi
mov ecx, esi
call fcn.0042eb2b
mov esi, eax
test esi, esi
jne 0x46c49c
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.0042e82f
mov ecx, eax
jmp 0x46c4d6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x46c4e6
push edi
mov ecx, esi
call fcn.0042eb2b
mov esi, eax
test esi, esi
jne 0x46c4c8
jmp 0x46c456
push 1
mov ecx, esi
call fcn.0042ea61
push eax
mov ecx, ebx
call fcn.0046c7ce
jmp 0x46c456
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.0046f681
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.0046c5a6
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call sym.steamworks.exe_public_virtual:_void___thiscall_Json::CharReader::destructor_void_
mov eax, ebx
call fcn.007e8072
ret 4
Function at 0x46f7d3
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x550a25
call fcn.007dc22e
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x5ac004]
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 0x46f87c
je 0x46f872
mov eax, edx
sub eax, 0xd
je 0x46f868
sub eax, 0xe
je 0x46f85e
sub eax, 5
je 0x46f854
sub eax, ebx
je 0x46f84a
sub eax, ebx
je 0x46f840
sub eax, ebx
je 0x46f836
sub eax, ebx
jne 0x46f8b3
push str.Home
jmp 0x46f9d4
push 0x564bd4
jmp 0x46f9d4
push str.PageDown
jmp 0x46f9d4
push str.PageUp
jmp 0x46f9d4
push str.Space
jmp 0x46f9d4
push 0x564b88
jmp 0x46f9d4
push 0x564b90
jmp 0x46f9d4
push str.Left
jmp 0x46f9d4
mov eax, edx
sub eax, 0x26
je 0x46f9cf
sub eax, 1
je 0x46f9c8
sub eax, 1
je 0x46f9c1
sub eax, edi
je 0x46f9ba
sub eax, 3
je 0x46f9b3
sub eax, 1
je 0x46f9ac
cmp cx, 0x30
jb 0x46f8bf
cmp cx, 0x39
jbe 0x46f8c8
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x46f8df
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.0040d0a0
jmp 0x46f9db
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x46f903
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0042e17c
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x46f955
cmp cx, 0x6a
jne 0x46f913
push 0x564c38
jmp 0x46f9d4
cmp cx, 0x6b
jne 0x46f923
push str.Num_
jmp 0x46f9d4
cmp cx, 0x6e
jne 0x46f933
push str.Num_Del
jmp 0x46f9d4
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x46f96a
lea eax, [edx - 0x6f]
push eax
push 0x564c60
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0042e17c
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x46f9db
call fcn.00638f54
jmp 0x46f9db
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp al, 0x3d
jg 0x46f98a
je 0x46f996
cmp al, 0x27
je 0x46f996
cmp al, 0x2b
jle 0x46f9db
cmp al, 0x2f
jle 0x46f996
cmp al, 0x3b
je 0x46f996
jmp 0x46f9db
cmp al, 0x5b
jl 0x46f9db
cmp al, 0x5d
jle 0x46f996
cmp al, 0x60
jne 0x46f9db
cbw
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.0043721d
jmp 0x46f9db
push 0x57de9c
jmp 0x46f9d4
push str.Insert
jmp 0x46f9d4
push str.Print
jmp 0x46f9d4
push str.Down
jmp 0x46f9d4
push str.Right
jmp 0x46f9d4
push 0x564b9c
mov ecx, esi
call fcn.0040cd30
mov eax, esi
call fcn.007e8072
ret
Function at 0x47c537
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x5b4c9b], 0
jne 0x47c5e6
push esi
push 0x566094
call fcn.0048992d
mov dword [esp], 0x566070
call fcn.0048992d
mov dword [esp], 0x5661b4
call fcn.0048992d
mov dword [esp], 0x566230
call fcn.0048992d
mov dword [esp], 0x566190
call fcn.0048992d
mov esi, 0x566300
push esi
call fcn.00493bbf
push esi
call fcn.00493bbf
push 0x566320
call fcn.00493bbf
push 0x566340
call fcn.00493bbf
push 0x566138
call fcn.00493bbf
push 0x5662c0
call fcn.00493bbf
push 0x5662e0
call fcn.00493bbf
push 0x5661d8
call fcn.00493bbf
push 0x5661f8
call fcn.00493bbf
add esp, 0x28
mov byte [0x5b4c9b], 1
pop esi
jmp 0x49bed1
ret
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x49bed9
mov dword [edx*4 + 0x5c8840], ecx
inc edx
cmp edx, 0x100
jb 0x49bed4
mov esi, 0x800
jmp 0x49bf21
mov ecx, dword [edx*4 + 0x5c8440]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x5c8840]
mov dword [edx*4 + 0x5c8840], ecx
inc edx
cmp edx, esi
jb 0x49bf05
mov eax, 0x54a790
mov esi, 0x54a6b0
mov dword [0x5c8830], eax
mov dword [0x5c8828], eax
mov dword [0x5c882c], esi
call fcn.004b46f9
mov ecx, dword [0x5c8828]
test eax, eax
cmove ecx, esi
mov dword [0x5c8828], ecx
pop esi
ret

Function at 0x47d470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x47d47e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret
Function at 0x47f47b
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xa8], 5
jne 0x47f4a2
cmp dword [ebp + 0xc], 0
je 0x47f4a2
mov ecx, esi
call fcn.0047f30e
mov eax, 0x80004005
jmp 0x47f5c4
xor ecx, ecx
push edi
cmp dword [esi + 0x64], ecx
jne 0x47f4d1
push 0x566bc4
call fcn.0047f749
pop ecx
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x47f5c1
mov edx, dword [ecx]
lea eax, [esi + 0x24]
push eax
call dword [edx + 0x14]
jmp 0x47f5c1
cmp byte [esi + 0x74], cl
jne 0x47f4e6
cmp byte [esi + 0x80], cl
jne 0x47f4e6
cmp byte [esi + 0x8c], cl
je 0x47f54d
lea eax, [esi + 0x54]
cmp dword [eax + 0x14], 8
jb 0x47f4f1
mov eax, dword [eax]
push ecx
push 0x80
push 3
push ecx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47f54d
xor edx, edx
lea ecx, [esi + 0x78]
cmp byte [esi + 0x74], dl
cmovne edx, ecx
xor eax, eax
cmp byte [esi + 0x80], al
lea ecx, [esi + 0x84]
push edx
cmovne eax, ecx
xor ecx, ecx
cmp byte [esi + 0x8c], cl
push eax
lea eax, [esi + 0x90]
cmovne ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [esi + 0x6d], 0
je 0x47f568
lea eax, [esi + 0x54]
cmp dword [eax + 0x14], 8
jb 0x47f55e
mov eax, dword [eax]
push dword [esi + 0x70]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea edi, [esi + 0x54]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x47f575
mov eax, dword [edi]
push eax
push str.FileDone:_s_n
call fcn.0047f749
pop ecx
pop ecx
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x47f5c1
push dword [esi + 0xa4]
mov eax, dword [ecx]
push dword [esi + 0xa0]
push edi
call dword [eax + 0x1c]
test al, al
jne 0x47f5a9
mov eax, 0x80004005
jmp 0x47f5c3
mov ecx, dword [esi + 0xac]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8