joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4552d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x583838
push dword [ebp + 8]
call fcn.0052aaa4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x45532d
push ebx
push edi
push esi
call fcn.00536e63
push eax
call fcn.00536fa8
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x45530c
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x455322
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.0052960e
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.00528d48
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x455387
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.00455ea2
mov ebx, eax
test ebx, ebx
je 0x4553bd
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4553bd
cmp dword [ebp + 0x14], edi
jae 0x4553c6
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 0x4553bd
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4553bd
push edi
push eax
push dword [ebp + 0x10]
call fcn.0051e150
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x4553bf
Function at 0x459ae2
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.00459c87
test eax, eax
jne 0x459bf4
mov ecx, dword [0x5dab84]
test ecx, ecx
je 0x459b10
call fcn.00444858
mov esi, eax
jmp 0x459b12
xor esi, esi
push ebx
push 0x2800
call fcn.00533222
mov edi, eax
mov dword [esp], 0x5000
call fcn.00533222
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.0044f092
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 0x459b73
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.005221d0
pop ecx
test esi, esi
je 0x459baf
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x459baf
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 0x459be8
mov ebx, 0x2800
push ebx
call fcn.00533222
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.0044f073
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005221d0
pop ecx
push edi
call fcn.005221d0
pop ecx
xor eax, eax
pop ebx
jmp 0x459c10
mov ecx, dword [edi + 8]
push esi
call fcn.00459934
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.00459ea1
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x45e4f9
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 0x45e59c
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 0x45e56b
mov ecx, edi
call fcn.0045fd26
mov ecx, dword [ebp - 4]
inc ebx
cmp bx, si
jl 0x45e540
jmp 0x45e5a1
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.0044d0bd
jmp 0x45e5a1
test si, si
je 0x45e5db
mov ecx, edi
call fcn.0044b011
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 0x46226c
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 0x462292
call fcn.0044da89
jmp 0x4622be
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044cf1b
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x4622be
push 1
push ecx
push ecx
push eax
push 0x5860c4
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc

Function at 0x4644b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5d2640]
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.0051e6d0
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 0x46450b
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x46451f
cmp byte [ebp - 6], 1
jne 0x46451f
cmp dword [ebp - 0x11c], 6
jne 0x46451f
xor eax, eax
inc eax
jmp 0x464521
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050f496
leave
ret
Function at 0x470554
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x56f7c3
call fcn.0050febf
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.00449851
mov dword [ebp - 0x68], 0x587dd4
mov dword [ebp - 0x60], 0x587de8
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x40], 0
push ecx
mov ecx, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x40], 0
jne 0x470740
cmp dword [ebp + 0x10], 0
je 0x4705cd
cmp edi, 0xffffffff
je 0x470711
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], eax
sete al
mov dword [ecx + 8], eax
jmp 0x470703
cmp dword [esi + 0x264], 0
jne 0x4705df
cmp dword [esi + 0x260], 0
je 0x4705ec
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4705ab
cmp dword [esi + 0x264], 0
jne 0x470602
cmp dword [esi + 0x260], 0
je 0x470697
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x470697
cmp edi, 0xffffffff
je 0x470711
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
mov ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
cmove ecx, edi
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], ecx
mov ecx, esi
call fcn.0047025b
test eax, eax
jle 0x470711
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [esi + 0x26c]
mov edx, dword [ecx + ebx + 8]
cmp edi, dword [ebp - 0x10]
jl 0x47066e
cmp edi, dword [ebp - 0x14]
jg 0x47066e
xor eax, eax
inc eax
jmp 0x470670
xor eax, eax
mov dword [ecx + ebx + 8], eax
cmp edx, eax
je 0x470680
push edi
mov ecx, esi
call fcn.00470c12
mov ecx, esi
inc edi
add ebx, 0xc
call fcn.0047025b
cmp edi, eax
jl 0x470655
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x470711
or dword [esi + 0x220], 0xffffffff
mov ecx, esi
and dword [ebp + 0x10], 0
call fcn.0047025b
test eax, eax
jle 0x4706ee
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x4706d6
cmp dword [eax + ecx + 8], 0
je 0x4706d6
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.00470c12
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.0047025b
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x4706b5
mov ebx, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x470711
imul eax, edi, 0xc
add eax, dword [esi + 0x26c]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x220], edi
call fcn.00470c12
push esi
lea ecx, [ebp - 0x3c]
call fcn.00449851
mov dword [ebp - 0x3c], 0x587e58
mov dword [ebp - 0x34], 0x587e6c
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x94]
call fcn.0050fe8d
ret 0xc
Function at 0x473c0c
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 0x473c6c
sub eax, 1
je 0x473c4f
sub eax, 3
je 0x473c4f
test dword [edi + 0x370], 0x2000
je 0x473c84
push esi
call fcn.00532450
pop ecx
test eax, eax
jne 0x473c84
cmp esi, 0x2d
je 0x473c84
cmp esi, 0x2e
je 0x473c84
cmp esi, 0x2c
je 0x473c84
jmp 0x473c9f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x473c84
test dword [edi + 0x370], 0x1000
je 0x473c9f
jmp 0x473c84
test byte [edi + 0x374], 0x80
jne 0x473c84
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x473c9f
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 0x473f43
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x56dcf0
call fcn.0050febf
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00449851
mov dword [ebp - 0x38], 0x5884c0
mov dword [ebp - 0x30], 0x5884d4
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 0x473fcb
cmp edi, 0xd
jne 0x473faf
test dword [esi + 0x370], 0x1000
jne 0x473faf
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x473fcb
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 0x473fce
mov dword [esi + 0x10], ebx
call fcn.0050fe8d
ret 0xc
Function at 0x474978
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 0x474a92
cmp dword [ebx], 0x74
je 0x474a92
mov ecx, dword [0x5dab84]
test ecx, ecx
je 0x4749ae
call fcn.00444858
mov esi, eax
jmp 0x4749b0
xor esi, esi
push 0x2800
call fcn.00533222
mov edi, eax
mov dword [esp], 0x5000
call fcn.00533222
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.0044f092
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 0x474a0a
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.005221d0
pop ecx
test esi, esi
je 0x474a49
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x474a49
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 0x474a87
mov ebx, 0x2800
push ebx
call fcn.00533222
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.0044f073
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005221d0
pop ecx
push edi
call fcn.005221d0
pop ecx
xor eax, eax
jmp 0x474ad3
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 0x474ad0
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 0x47658f
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x56de8f
call fcn.0050febf
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 0x4765f8
cmp dword [ebp - 0x10], 0
jne 0x4765e2
test eax, eax
jne 0x4765db
inc eax
xor ecx, ecx
jmp 0x476624
push 2
pop eax
push 4
jmp 0x476623
test eax, eax
jne 0x4765ed
push 4
pop eax
push 2
jmp 0x476623
push 6
pop eax
push 0x10
mov word [esi], ax
pop eax
jmp 0x476627
cmp dword [ebp - 0x10], 0
jne 0x476611
test eax, eax
jne 0x47660a
push 8
xor ecx, ecx
pop eax
inc ecx
jmp 0x476624
push 0x20
pop eax
push 5
jmp 0x476623
test eax, eax
jne 0x47661c
push 0x40
pop eax
push 3
jmp 0x476623
mov eax, 0x80
push 7
pop ecx
mov word [esi], cx
test word [ebx + 0x174], ax
je 0x47663a
mov ax, word [ebx + 0x176]
mov word [esi], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.00449851
mov dword [ebp - 0x34], 0x588c74
mov dword [ebp - 0x2c], 0x588c88
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.0050fe8d
ret

Function at 0x48b93a
Capabilities:
Log keystrokes via polling

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

Disassembly:
push 4
mov eax, 0x570ad5
call fcn.0050febf
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.0048b93a
test eax, eax
je 0x48ba98
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.0048b4f3
xor eax, eax
inc eax
jmp 0x48bb8c
push dword [ebx + 4]
call fcn.0045a437
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x48bb36
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x48bb36
cmp edi, 0x25
je 0x48bad1
cmp edi, 0x27
je 0x48bacd
cmp edi, 0x26
je 0x48bad1
cmp edi, 0x28
jne 0x48bb36
push 3
jmp 0x48bad3
push 2
pop edi
jmp 0x48bae1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x48bb20
push edi
mov ecx, esi
call fcn.0044b83b
mov esi, eax
test esi, esi
jne 0x48bad6
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.0044b53f
mov ecx, eax
jmp 0x48bb10
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x48bb20
push edi
mov ecx, esi
call fcn.0044b83b
mov esi, eax
test esi, esi
jne 0x48bb02
jmp 0x48ba90
push 1
mov ecx, esi
call fcn.0044b771
push eax
mov ecx, ebx
call fcn.0048be08
jmp 0x48ba90
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.0048d57f
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.0048bbe0
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.0050fe8d
ret 4
Function at 0x48d6d1
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x570cb5
call fcn.0050febf
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x5d200c]
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 0x48d77a
je 0x48d770
mov eax, edx
sub eax, 0xd
je 0x48d766
sub eax, 0xe
je 0x48d75c
sub eax, 5
je 0x48d752
sub eax, ebx
je 0x48d748
sub eax, ebx
je 0x48d73e
sub eax, ebx
je 0x48d734
sub eax, ebx
jne 0x48d7b1
push str.Home
jmp 0x48d8d2
push 0x58bc7c
jmp 0x48d8d2
push str.PageDown
jmp 0x48d8d2
push str.PageUp
jmp 0x48d8d2
push str.Space
jmp 0x48d8d2
push 0x58bc30
jmp 0x48d8d2
push 0x58bc38
jmp 0x48d8d2
push str.Left
jmp 0x48d8d2
mov eax, edx
sub eax, 0x26
je 0x48d8cd
sub eax, 1
je 0x48d8c6
sub eax, 1
je 0x48d8bf
sub eax, edi
je 0x48d8b8
sub eax, 3
je 0x48d8b1
sub eax, 1
je 0x48d8aa
cmp cx, 0x30
jb 0x48d7bd
cmp cx, 0x39
jbe 0x48d7c6
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x48d7dd
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00419f20
jmp 0x48d8d9
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x48d801
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.00440463
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x48d853
cmp cx, 0x6a
jne 0x48d811
push 0x58bcf0
jmp 0x48d8d2
cmp cx, 0x6b
jne 0x48d821
push str.Num_
jmp 0x48d8d2
cmp cx, 0x6e
jne 0x48d831
push str.Num_Del
jmp 0x48d8d2
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x48d868
lea eax, [edx - 0x6f]
push eax
push 0x58bd18
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.00440463
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x5d2008]
je 0x48d8d9
call fcn.0043f459
jmp 0x48d8d9
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp al, 0x3d
jg 0x48d888
je 0x48d894
cmp al, 0x27
je 0x48d894
cmp al, 0x2b
jle 0x48d8d9
cmp al, 0x2f
jle 0x48d894
cmp al, 0x3b
je 0x48d894
jmp 0x48d8d9
cmp al, 0x5b
jl 0x48d8d9
cmp al, 0x5d
jle 0x48d894
cmp al, 0x60
jne 0x48d8d9
cbw
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.004550fe
jmp 0x48d8d9
push str.Delete
jmp 0x48d8d2
push str.Insert
jmp 0x48d8d2
push str.Print
jmp 0x48d8d2
push str.Down
jmp 0x48d8d2
push str.Right
jmp 0x48d8d2
push 0x58bc44
mov ecx, esi
call fcn.00419b20
mov eax, esi
call fcn.0050fe8d
ret

Function at 0x49394a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4939b2
mov ecx, esi
call fcn.004939b7
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3ac]
test ecx, ecx
je 0x49398d
push 0
call fcn.0044de21
and dword [esi + 0x3ac], 0
mov ecx, dword [0x5dacc4]
lea ecx, [ecx + 8]
call fcn.004402f8
mov ecx, dword [esi + 0x3a4]
test ecx, ecx
je 0x4939b2
pop esi
mov ecx, dword [ecx + 0x174]
pop ebp
jmp fcn.004944e9
pop esi
pop ebp
ret 4
Function at 0x49a4b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x5dacdb], 0
jne 0x49a568
push esi
push 0x58d11c
call fcn.004a7b91
mov dword [esp], 0x58d0f8
call fcn.004a7b91
mov dword [esp], 0x58d23c
call fcn.004a7b91
mov dword [esp], 0x58d2b8
call fcn.004a7b91
mov dword [esp], 0x58d218
call fcn.004a7b91
mov esi, 0x58d388
push esi
call fcn.004b1e25
push esi
call fcn.004b1e25
push 0x58d3a8
call fcn.004b1e25
push 0x58d3c8
call fcn.004b1e25
push 0x58d1c0
call fcn.004b1e25
push 0x58d348
call fcn.004b1e25
push 0x58d368
call fcn.004b1e25
push 0x58d260
call fcn.004b1e25
push 0x58d280
call fcn.004b1e25
add esp, 0x28
mov byte [0x5dacdb], 1
pop esi
jmp 0x4ba137
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 0x4ba13f
mov dword [edx*4 + 0x5ee680], ecx
inc edx
cmp edx, 0x100
jb 0x4ba13a
mov esi, 0x800
jmp 0x4ba187
mov ecx, dword [edx*4 + 0x5ee280]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x5ee680]
mov dword [edx*4 + 0x5ee680], ecx
inc edx
cmp edx, esi
jb 0x4ba16b
mov eax, 0x5693c0
mov esi, 0x5692e0
mov dword [0x5ee664], eax
mov dword [0x5ee65c], eax
mov dword [0x5ee660], esi
call fcn.004d295d
mov ecx, dword [0x5ee65c]
test eax, eax
cmove ecx, esi
mov dword [0x5ee65c], ecx
pop esi
ret

Function at 0x49b13c
Capabilities:
Move file

Disassembly:
push 0x3c
mov eax, 0x571c36
call fcn.0050fef2
mov esi, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x49b162
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x49b16c
mov ecx, dword [edi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x49b1c2
cmp dword [esi + 0x14], 8
jb 0x49b182
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x40]
call fcn.00404440
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x44], ebx
jb 0x49b19d
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x28]
call fcn.00404440
push 3
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
pop ebx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], ebx
push eax
call fcn.0049b13c
pop ecx
pop ecx
test al, al
je 0x49b1c6
mov byte [ebp - 0x48], 1
test bl, 2
je 0x49b1d6
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00405e70
test bl, 1
je 0x49b1e3
lea ecx, [ebp - 0x40]
call fcn.00405e70
mov al, byte [ebp - 0x48]
call fcn.0050fea1
ret

Function at 0x49b563
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 0x49b571
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret
Function at 0x49b580
Capabilities:
Copy file
Delete file

Disassembly:
push 0x44
mov eax, 0x571ce4
call fcn.0050fef2
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x49b671
cmp dword [esi + 0x10], 0x104
ja 0x49b671
push esi
call fcn.0049b563
pop ecx
test al, al
jne 0x49b5b8
inc al
jmp 0x49b673
xor edi, edi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00495bc6
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push edi
add eax, 2
mov dword [ebp - 4], edi
push eax
call fcn.0049b97d
push 0x1e
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.0051e6d0
mov eax, dword [ebp - 0x40]
add esp, 0xc
and eax, 0xffbf
mov dword [ebp - 0x3a], edi
or eax, 0x414
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x36], edi
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x44], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
cmp ecx, 8
jb 0x49b66d
mov eax, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
cmp ecx, 0x1000
jb 0x49b664
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00405a90
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.0050f149
pop ecx
pop ecx
mov al, bl
jmp 0x49b673
xor al, al
call fcn.0050fea1
ret