joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429211
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x42926b
cmp byte [edi + 0x3d], bl
je 0x42926b
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x47e5b4]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x42929b
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x429272
sub eax, 1
je 0x429275
dec eax
sub eax, 1
jne 0x42929b
mov byte [edi + 0x3d], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [edi + 0x3d], bl
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x429293
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x42929b
cmp byte [edi + 0x3d], bl
sete al
jmp 0x42926d
xor al, al
jmp 0x42926d

Function at 0x42c980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x42c98c
pop esi
mov eax, edx
ret 4

Function at 0x42ce5f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x42cea7
lea edx, [esi + 8]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x42ce6f
jmp 0x42ceb4
cmp dword [esi], 0x4e0
jb 0x42ceb4
call fcn.0042ceee
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret
Function at 0x42ceee
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x42cf01
lea edi, [esi + 0xd50]
mov ebp, 0x18c
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x42cf48
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], ebp
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x42e6f5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x5eb6b9], 0
push esi
jne 0x42e735
cmp dword [0x5ea174], 0xffffffff
jne 0x42e715
mov ecx, str.Set_HotKey
jmp 0x42e721
mov eax, dword [0x5e9ba8]
mov ecx, dword [eax*4 + 0x481260]
push ecx
call fcn.0046719c
pop ecx
test al, al
je 0x42e795
mov byte [0x5eb6b9], 1
jmp 0x42e795
push ecx
mov ecx, 0x47ff78
call fcn.0046719c
and dword [ebp - 4], 0
lea edx, [ebp - 8]
pop ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 1
call fcn.0042998b
mov ecx, eax
call fcn.0042c9a4
xor esi, esi
push dword [esi*4 + 0x480f88]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x42e77d
inc esi
cmp esi, 0xb6
jb 0x42e760
jmp 0x42e795
mov eax, dword [esi*4 + 0x480f88]
mov dword [0x5e9ba8], eax
mov dword [0x5ea174], eax
mov byte [0x5eb6b9], 0
pop esi
leave
ret

Function at 0x42e798
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0043052d
xor edx, edx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x5edf78], cl
inc edx
cmp edx, 0x16
jb 0x42e7ac
mov ecx, 0x5edf78
mov byte [0x5edf8e], 0
call fcn.00468f4c
call fcn.0041ff22
lea edx, [ebp - 8]
mov dword [ebp - 8], 0x42be0000
mov dword [ebp - 4], 0x41e00000
call fcn.0042e6f5
call fcn.0044d1ce
push dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004305c3
xor edx, edx
mov cl, byte [eax + edx + 1]
xor cl, byte [eax]
mov byte [edx + 0x5ee004], cl
inc edx
cmp edx, 0x12
jb 0x42e7fd
push 0x5eb3f1
push 0x5ee004
mov byte [0x5ee016], 0
call fcn.00476f23
call fcn.0044d222
mov ecx, 0x47ed1e
call fcn.00468f4c
xorps xmm0, xmm0
call fcn.0044f989
leave
ret
Function at 0x42f3a4
Capabilities:
Delete file

Disassembly:
mov eax, 0x47bab0
call fcn.0047abb4
sub esp, 0xb8
cmp byte [ebp + 8], 0
push esi
push edi
mov esi, edx
mov edi, ecx
je 0x42f448
sub esp, 0xc
lea ecx, [ebp - 0xc0]
push str.log.config
call fcn.0042937f
and dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
je 0x42f435
mov edx, edi
lea ecx, [ebp - 0xc0]
call fcn.00429a5b
mov edi, 0x429a70
mov ecx, eax
push edi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.00429a5b
push edi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp + 8]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
push edi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xc0]
call fcn.00428bd4
lea ecx, [ebp - 0x58]
call fcn.00428bf5
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x42f454
push str.log.config
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x431cad
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x431d8b
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x431ce6
cmp dword [ebp - 8], ebx
jne 0x431d8b
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5fb770]
cmp eax, dword [ecx + 4]
jle 0x431d33
mov esi, 0x5fb770
push esi
call fcn.00479877
cmp dword [0x5fb770], 0xffffffff
pop ecx
jne 0x431d33
push str.NtQueryInformationProcess
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov dword [0x5f2e90], eax
call fcn.00479826
pop ecx
mov esi, dword [0x5f2e90]
test esi, esi
je 0x431d87
push ebx
push 0x18
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x47e5b4]
call esi
test eax, eax
js 0x431d87
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x431d87
push ebx
push 1
lea ecx, [ebp - 1]
mov byte [ebp - 1], bl
push ecx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x431d87
mov al, byte [ebp - 1]
and al, 1
jmp 0x431d8d
xor al, al
jmp 0x431d8d
mov al, 1
pop esi
pop ebx
leave
ret

Function at 0x4323a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4323c4
xor al, al
jmp 0x432411
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x432400
lea eax, [ebp - 0x208]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x432406
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4323de
jmp 0x432408
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4327b0
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x4327c9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp dword [sym.imp.KERNEL32.dll_FreeConsole]
ret
Function at 0x4384fa
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x47c40e
call fcn.0047abb4
push ecx
push ecx
push ebx
push esi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
mov edx, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, ebx
mov dword [ebp - 0x14], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
mov cx, word [edx + 0xc]
mov eax, 0xff
and cx, ax
xor cx, word [edx + esi*2]
movzx ecx, cx
push ecx
mov ecx, ebx
call fcn.0042ff1d
mov edx, dword [ebp - 0x14]
inc esi
cmp esi, 5
jb 0x438537
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x438750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0x811c9dc5
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
pop esi
sub edx, edi
je 0x438777
movzx eax, byte [edi + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, edx
jb 0x438766
pop edi
mov eax, ecx
pop esi
ret 8
Function at 0x43d7d7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47c678
call fcn.0047abb4
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], eax
lea ecx, [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.0043da62
xor edi, edi
inc edi
push 0x24
mov dword [ebp - 4], edi
call fcn.004798db
mov dword [ebp - 0x14], eax
pop ecx
mov ecx, esi
mov dword [eax + 4], 0x14
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], vtable.std::_Root_node.0
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0x100
mov dword [esi + 0x38], 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x50], 0x8775dfb
call fcn.0043dac5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x43e6ad
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 0x43e843
mov edx, 0x10000000
cmp eax, 0x7c
je 0x43e843
cmp eax, 0x29
jne 0x43e719
cmp dword [esi + 0x10], 0
jne 0x43e843
test dword [esi + 0x50], edx
je 0x43e849
cmp eax, 0x5d
jne 0x43e6f4
test dword [esi + 0x50], edx
je 0x43e7d9
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0043f337
mov bl, 1
mov ecx, esi
call fcn.0043e685
test bl, bl
je 0x43e715
mov ecx, esi
call fcn.0043f252
mov cl, 1
jmp 0x43e6b4
cmp eax, 0x2e
jne 0x43e731
push 5
lea ecx, [esi + 0x24]
call fcn.0043e910
mov ecx, esi
call fcn.0043e685
jmp 0x43e70e
cmp eax, 0x5c
jne 0x43e77d
mov ecx, esi
call fcn.0043e685
test byte [esi + 0x50], 0x80
je 0x43e774
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x43e75d
push 4
lea ecx, [esi + 0x24]
call fcn.0043e910
mov ecx, esi
call fcn.0043e685
jmp 0x43e715
cmp al, 0x42
jne 0x43e774
push 4
lea ecx, [esi + 0x24]
call fcn.0043e910
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x43e754
mov ecx, esi
call fcn.0043f0eb
jmp 0x43e70e
cmp eax, 0x5b
jne 0x43e7dd
mov ecx, esi
call fcn.0043e685
lea ecx, [esi + 0x24]
call fcn.0044031a
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x43e7aa
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0043e685
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x43e7c8
cmp eax, 0x5d
jne 0x43e7c8
push eax
lea ecx, [esi + 0x24]
call fcn.00440362
mov ecx, esi
call fcn.0043e685
mov ecx, esi
call fcn.0043ffe1
cmp dword [esi + 0x4c], 0x5d
je 0x43e728
push 4
jmp 0x43e84b
cmp eax, 0x28
jne 0x43e7fd
mov ecx, esi
call fcn.0043e685
mov ecx, esi
call fcn.0043f1c3
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x43e849
jmp 0x43e703
cmp eax, 0x5e
jne 0x43e809
push 2
jmp 0x43e74c
cmp eax, 0x24
jne 0x43e815
push 3
jmp 0x43e74c
cmp eax, 0x2a
je 0x43e83f
cmp eax, 0x2b
je 0x43e83f
cmp eax, 0x3f
je 0x43e83f
cmp eax, 0x7b
je 0x43e83f
cmp eax, 0x7d
jne 0x43e6e6
test dword [esi + 0x50], edx
jne 0x43e6f4
push 6
jmp 0x43e84b
push 0xa
jmp 0x43e84b
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0043daba
int3

Function at 0x441851
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47c812
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x441882
mov ecx, edi
call fcn.0044159f
mov ecx, edi
call fcn.00446a82
mov edi, dword [esi + 0x34]
test edi, edi
je 0x441897
mov ecx, edi
call fcn.0044159f
mov ecx, edi
call fcn.00446a82
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x455a30
push 2
push 0xc
push eax
call fcn.00479b98
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4433d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
mov edx, dword [esp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x481798]
inc edi
sub esi, 1
jne 0x4433dc
pop edi
not edx
pop esi
mov eax, edx
ret
Function at 0x4433fb
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x44345d
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x443425
cmp edi, 2
jb 0x443425
cmp byte [esi], al
jne 0x443425
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x481798]
test edi, edi
jne 0x44340e
jmp 0x443464
cmp al, 0x23
jne 0x44344b
cmp byte [esi], al
jne 0x44344b
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x481798]
mov al, byte [esi]
inc esi
test al, al
jne 0x44343d
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x443547
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x443556
and dword [ebx], 0
mov edx, 0x487b0c
call fcn.0044346c
mov esi, eax
test esi, esi
je 0x4435f0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
pop ecx
cmp ebp, 0xffffffff
je 0x4435e9
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4435e9
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
pop ecx
cmp edi, 0xffffffff
je 0x4435e9
push 0
push ebp
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4435e9
mov ecx, edi
call fcn.00446a6a
mov ebp, eax
test ebp, ebp
je 0x4435e9
push esi
push edi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, edi
je 0x4435da
call fcn.00443538
mov ecx, ebp
call fcn.00446a82
jmp 0x4435f0
call fcn.00443538
test ebx, ebx
je 0x4435e5
mov dword [ebx], edi
mov eax, ebp
jmp 0x4435f2
mov ecx, esi
call fcn.00443538
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x454742
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x5aac], 0
lea edi, [esi + 0x5ab0]
mov ecx, edi
je 0x45479d
push 0
call fcn.004563c1
push dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.00443cd5
mov edx, dword [edi]
mov ecx, 0x5eaf32
push dword [esi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
jmp 0x4547a7
push dword [esp + 0x10]
push ebx
call fcn.00443cd5
pop edi
pop esi
pop ebx
ret

Function at 0x454d8f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5eb148]
push esi
mov esi, ecx
push edi
and dword [eax + 0x5a44], 0
test esi, esi
je 0x454dde
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.00454de2
mov edx, 0x487b10
mov ecx, esi
mov edi, eax
call fcn.0044346c
mov esi, eax
test esi, esi
je 0x454dde
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, esi
call fcn.00443538
pop edi
pop esi
leave
ret
Function at 0x45c40c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45c426
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.00446a82
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.00455fa5
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x45c443
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.00446a82
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x45c464
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.00446a82
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x45c479
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.00446a82
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45c48e
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.00446a82
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0045eb3e
Function at 0x4640e1
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x5eb148]
push esi
push 0x11
lea esi, [eax + 8]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x1000
call fcn.00442e2f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x2000
call fcn.00442e2f
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x4000
call fcn.00442e2f
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x8000
call fcn.00442e2f
pop esi
ret
Function at 0x46accc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x78]
shl ebp, 4
push edi
mov dword [esp + 0x10], edx
add ebp, 0x485a50
call fcn.0046ab7d
mov edi, eax
cmp byte [edi], 0x25
jne 0x46ad29
mov ecx, edi
call fcn.0046ab93
mov ecx, eax
cmp byte [ecx], 0
je 0x46ad2c
sub ecx, edi
mov edx, edi
inc ecx
push 0x20
pop eax
cmp ecx, eax
cmovb eax, ecx
lea ecx, [esp + 0x48]
push eax
call fcn.0044324d
cmp byte [esp + 0x4c], 0
lea edi, [esp + 0x4c]
pop ecx
jne 0x46ad2c
mov edi, dword [ebp + 8]
push edi
push dword [esp + 0x7c]
lea ecx, [esp + 0x30]
push dword [esp + 0x7c]
push 0x20
pop edx
call fcn.004697ab
add esp, 0xc
lea esi, [esp + 0x28]
mov al, byte [esi]
cmp al, 0x20
je 0x46ad52
cmp al, 9
jne 0x46ad55
inc esi
jmp 0x46ad48
mov ebx, esi
test al, al
je 0x46ad73
inc esi
cmp byte [esi], 0
jne 0x46ad5b
jmp 0x46ad6f
mov al, byte [esi - 1]
cmp al, 0x20
je 0x46ad6e
cmp al, 9
jne 0x46ad73
dec esi
cmp esi, ebx
ja 0x46ad63
lea eax, [esp + 0x28]
cmp ebx, eax
je 0x46ad8e
mov eax, esi
sub eax, ebx
push eax
lea eax, [esp + 0x2c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sub esi, ebx
mov edx, edi
mov ebx, dword [esp + 0x74]
mov ecx, ebx
mov byte [esp + esi + 0x28], 0
call fcn.0046ac93
mov esi, dword [0x5eb148]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x598c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x10]
je 0x46adc5
xor edx, edx
xor ecx, ecx
call fcn.004465cc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x3e48]
mov dword [eax + 0xf0], ecx
mov dword [eax + 0xf4], edx
xor edx, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
xor eax, eax
push eax
push eax
mov eax, dword [esp + 0x24]
or eax, 0x18000010
movss dword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push 0x20
push eax
call fcn.0046c789
mov ecx, dword [esp + 0x3c]
add esp, 0x18
cmp ecx, dword [esp + 0x10]
je 0x46ae41
mov ecx, dword [esi + 0x3e94]
mov dword [esi + 0x598c], ecx
test al, al
je 0x46aed6
mov eax, dword [ebp]
mov ebp, dword [esp + 0x78]
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, ebx
push edi
push ebp
call fcn.00469852
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
pop ecx
pop ecx
test edi, edi
jne 0x46ae8a
test esi, esi
je 0x46aeb0
jmp 0x46aea3
test esi, esi
je 0x46aea3
push esi
mov edx, edi
mov ecx, ebx
call fcn.00469a18
pop ecx
test eax, eax
jle 0x46aea3
mov eax, edi
mov edi, esi
mov esi, eax
push esi
push edi
mov edx, ebp
mov ecx, ebx
call fcn.00469b40
pop ecx
pop ecx
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
setne bl
test bl, bl
je 0x46aed8
mov ecx, dword [esp + 0x10]
call fcn.00446745
jmp 0x46aed8
xor ebx, ebx
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x5c
ret