joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401320
Capabilities:
Terminate process

Disassembly:
cmp eax, 0x30
je 0x4013b0
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
lea eax, [eax - 0x68]
sub esp, 0x10
cmp eax, 0xf
ja case.0x40133b.105
jmp dword [eax*4 + 0x404070]
mov dword [esp + 4], str.winepath
mov dword [esp], str.Usage:__s__OPTION___PATH_..._n
call sym._printf
mov dword [esp], str.Convert_PATH_s__to_Unix_or_Windows_long_or_short_paths._n_n___u____unix____converts_a_Windows_path_to_a_Unix_path_n___w____windows_converts_a_Unix_path_to_a_long_Windows_path_n___l____long____converts_the_short_Windows_path_of_an_existing_file_or_n________________directory_to_the_long_format_n___s____short___converts_the_long_Windows_path_of_an_existing_file_or_n________________directory_to_the_short_format_n___0____________separate_output_with_0_character__instead_of_a_newline_n___h____help____output_this_help_message_and_exit_n_nIf_more_than_one_option_is_given_then_the_input_paths_are_output_in_nall_formats_specified__in_the_order_long__short__Unix__Windows._nIf_no_option_is_given_the_default_is_Unix_format._n
call sym._printf
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
mov eax, 2
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
add esp, 0x10
mov eax, 8
pop ebx
pop esi
pop ebp
ret
mov eax, 1
jmp 0x40137d
mov eax, 4
jmp 0x40137d
mov eax, 0x10
ret
mov dword [ebp - 0xc], edx
mov esi, dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], 2
call esi
mov dword [esp + 8], str.winepath
mov dword [esp + 4], str._s:_invalid_option
mov dword [esp], eax
call sym._fprintf
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x40143b
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 2
mov ebx, eax
call esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x404049
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], str.winepath
mov dword [esp + 4], str.Try__s___help_for_help_n
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll_exit]
mov dword [esp], 2
call esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.__c_n
mov dword [esp], eax
call sym._fprintf
jmp 0x40140d
Function at 0x401d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d78
cmp byte [esi + ebx - 1], 0xa
je 0x401d4c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x406084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x402320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x406094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x4024e0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x406094]
movzx eax, al
bt eax, esi
jae 0x402540
mov ecx, dword [0x406084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x4023e5
test byte [0x403008], 8
jne 0x402480
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x403018], 8
jne 0x402430
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4023b4
cmp esi, 3
jbe 0x4023f0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x404568]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x4023b4
mov ecx, dword [0x406094]
test ecx, ecx
je 0x402520
mov dword [esp], 0x403018
call dword [0x406094]
test al, 8
je 0x40238b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x40238b
mov ebx, dword [0x406094]
test ebx, ebx
je 0x402500
mov dword [esp], 0x403008
call dword [0x406094]
test al, 8
je 0x402376
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x40237e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x406094
call sym._load_func.part.0
jmp 0x40233d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x406094
call sym._load_func.part.0
jmp 0x40248a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x406094
call sym._load_func.part.0
jmp 0x40243e
mov eax, 0xffffffff
jmp 0x4023e5
Function at 0x4026a0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1002aaee
pop dword [ebp - 0x2c]
mov eax, 0x8d202b55
add eax, 0x82e27f99
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xdadb11bc
sub dword [ebp - 0x3c], 0x8c88cc71
mov dword [ebp - 0x38], 0x152e24e2
add dword [ebp - 0x38], 0x1d052763
mov dword [ebp - 0x34], 0xd4d993b8
sub dword [ebp - 0x34], 0x888d4f8a
mov dword [ebp - 0x30], 0x51314186
sub dword [ebp - 0x30], 0x51314186
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xd1029f3a
add dword [ebp - 0x3c], 0xa36fca1c
mov dword [ebp - 0x38], 0x9d36b632
add dword [ebp - 0x38], 0xa435ab43
mov dword [ebp - 0x34], 0xd4760224
sub dword [ebp - 0x34], 0x710695b8
mov dword [ebp - 0x30], 0xf7fea6ad
sub dword [ebp - 0x30], 0xf7fea6ad
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xa37a67a2
sub eax, 0x9377a77a
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x33f14
push 0
call eax
mov ecx, 0x984b4e2e
sub ecx, 0x984b1048
mov ebx, eax
mov esi, 0x64801054
sub esi, 0x547c7a54
add esi, dword [ebp - 0x2c]
mov edx, 0x7195004a
sub edx, 0x5e8253bf
sub dword [ebp - 0x20], ecx
mov edi, dword [esi]
xor edi, edx
xor dword [ebp - 4], edi
mov dword [ebx], edi
mov dword [ebp - 8], 0x69db608e
add ebx, 0x82322fbb
sub ebx, 0x82322fb7
add esi, 4
loop 0x1002ac0b
add eax, 0xea6b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd81813a9
add ecx, 0x37e7ec57
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d004]
jne 0x401065
repz ret
jmp fcn.00401684

Function at 0x4048ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040382b
and dword [ebp - 0x14], 0
cmp dword [0x43fa2c], 0
mov dword [ebp - 0x18], eax
jne 0x40495e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404a06
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404a06
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43fa2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43fa30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43fa34], eax
call edi
push eax
call esi
mov dword [0x43fa3c], eax
test eax, eax
je 0x40495e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43fa38], eax
mov eax, dword [0x43fa38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4049b7
cmp dword [0x43fa3c], ecx
je 0x4049b7
push eax
call esi
push dword [0x43fa3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4049b7
test ebx, ebx
je 0x4049b7
call edi
test eax, eax
je 0x4049ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4049ae
test byte [ebp - 8], 1
jne 0x4049b7
or dword [ebp + 0x10], 0x200000
jmp 0x4049ea
mov eax, dword [0x43fa30]
cmp eax, dword [ebp - 0x18]
je 0x4049ea
push eax
call esi
test eax, eax
je 0x4049ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4049ea
mov eax, dword [0x43fa34]
cmp eax, dword [ebp - 0x18]
je 0x4049ea
push eax
call esi
test eax, eax
je 0x4049ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43fa2c]
call esi
test eax, eax
je 0x404a06
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404a08
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x405dee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ch, 0
add byte [eax], al
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x405e4b
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x405e50
jmp 0x4057a3
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
invalid
invalid
pop esp

Function at 0x405fb9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x405fc5
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00403e01
insb byte es:[edi], dx
pushfd
out dx, al
in eax, 0x8b
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
invalid
pop ss
invalid
Function at 0x416fb0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x41707b
jmp 0x41706f
cmp dword [esi + 0x10], 0x1000
jne 0x41705b
test byte [esi + 0x15], 1
jne 0x41705b
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x41700c
cmp ebp, 2
je 0x41700c
cmp ebp, 0x10
je 0x41700c
cmp ebp, 0x20
jne 0x417028
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x417028
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x417039
mov eax, dword [esi]
add eax, ebx
call fcn.00416fa8
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x41702c
cmp byte [esp + 4], 0
je 0x41705b
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x41707b
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x416fe1
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10031e1d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10031d9f

Function at 0x10032709
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10043790
push 0x10043788
push str.FlsAlloc
push 0x1e
call fcn.100325a7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003273d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003c110]
call esi
jmp 0x10032743
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10032787
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100437a0
push 0x10043798
push str.FlsGetValue
push 0x20
call fcn.100325a7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100327be
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003c110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100350be
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1003515b
push ebx
push esi
call fcn.10035087
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10034fd0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10035108
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003515a
push edi
push eax
call fcn.1002ffd8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10035128
call fcn.1002ff9e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10035159
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10034fd0
add esp, 0x20
test eax, eax
jne 0x10035147
push edi
call fcn.1002ff9e
jmp 0x1003514f
push ebx
call fcn.1002ff9e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1003aad0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003aafd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003aafd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40a6a0
Capabilities:
Log keystrokes
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
add eax, 0xfffffff8
cmp eax, 0xd6
ja case.0x40a6b9.10
movzx eax, byte [eax + 0x40ab30]
jmp dword [eax*4 + 0x40a9a4]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x421470]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x420c4c]
cmp eax, dword [ecx + 4]
jg 0x40a966
mov eax, dword [esp + 8]
sar eax, 0x10
movzx ecx, al
xor eax, eax
cmp ecx, dword [0x420c48]
setne al
lea eax, [eax*4 + 0x26]
ret
mov eax, dword [esp + 8]
shr eax, 0x10
and eax, 0x100
neg eax
sbb eax, eax
and eax, 4
add eax, 0x27
ret
mov eax, dword [esp + 8]
shr eax, 0x10
and eax, 0x100
neg eax
sbb eax, eax
and eax, 4
add eax, 0x25
ret
mov eax, 0x28
ret
mov eax, 0x2c
ret
mov eax, 0x2d
ret
mov eax, 0x30
ret
mov eax, 0x34
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x2e
ret
mov eax, 0x2f
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x24
ret
mov eax, 0x39
ret
mov eax, 0x3a
ret
mov eax, 0x3b
ret
mov eax, 0x3c
ret
mov eax, 0x3d
ret
mov eax, 0x3e
ret
mov eax, 0x3f
ret
mov eax, 0x40
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x64
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x5b
ret
mov eax, 0x5c
ret
mov eax, 0x5d
ret
mov eax, 0x5e
ret
mov eax, 0x5f
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x63
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
xor eax, eax
ret
mov eax, 0x19
ret
mov eax, 4
ret
mov eax, 0x11
ret
mov eax, 0x13
ret
mov eax, 0x18
ret
mov eax, 0x14
ret
mov eax, 8
ret
mov eax, 0xe
ret
mov eax, 0xf
ret
mov eax, 0x10
ret
mov eax, 0x12
ret
mov eax, 3
ret
mov eax, 5
ret
mov eax, 6
ret
mov eax, 7
ret
mov eax, 9
ret
mov eax, 0xa
ret
mov eax, 0xb
ret
mov eax, 0xc
ret
mov eax, 0x16
ret
mov eax, 0x17
ret
mov eax, 2
ret
mov eax, 0x15
ret
mov eax, 1
ret
mov eax, 0xd
ret
mov eax, 0x1a
ret
mov eax, 0x1b
ret
mov eax, 0x1c
ret
mov eax, 0x1d
ret
mov eax, 0x1e
ret
mov eax, 0x1f
ret
mov eax, 0x20
ret
mov eax, 0x21
ret
mov eax, 0x22
ret
mov eax, 0x23
ret
or eax, 0xffffffff
ret
push 0x420c4c
call fcn.00413df8
add esp, 4
cmp dword [0x420c4c], 0xffffffff
jne 0x40a6e0
push 0
push 0xa0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0x420c4c
mov dword [0x420c48], eax
call fcn.00413dae
add esp, 4
jmp 0x40a6e0
Function at 0x40d3e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415623
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x41e504]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00401e00
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 0
call fcn.0040db10
push dword [ebp + 0x1c]
movq xmm0, qword [ebp + 8]
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov byte [ebp - 4], 1
sub esp, 0xc
mov dword [edi], vtable.sf::RenderWindow.0
mov ecx, esp
mov dword [edi + 0x30], vtable.sf::RenderWindow.1.0
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.00402050
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x412fb0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.DefaultErrStreamBuf.0
mov edi, dword [eax]
mov eax, dword [esi + 0x20]
mov ebx, dword [eax]
cmp edi, ebx
je 0x412ffe
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
sub ebx, edi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [esi + 0x30]
add esp, 0x14
mov ecx, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [esi + 0x10]
add edx, dword [ecx]
mov eax, dword [eax]
sub edx, eax
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
mov dword [eax], edx
mov eax, dword [esi + 0x10]
mov edi, dword [eax]
push edi
call fcn.00414339
add esp, 4
mov ecx, esi
pop edi
pop esi
pop ebx
jmp dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]

Function at 0x4131d0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
mov ebx, dword [eax]
mov eax, dword [esi + 0x20]
mov edi, dword [eax]
cmp ebx, edi
je 0x413213
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
sub edi, ebx
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [esi + 0x30]
add esp, 0x14
mov ecx, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [esi + 0x10]
add edx, dword [ecx]
mov eax, dword [eax]
sub edx, eax
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
mov dword [eax], edx
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4133f0
Capabilities:
Check for time delay via queryperformancecounter
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415a2c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x41e504]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x421470]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x421458]
cmp eax, dword [esi + 4]
jg 0x4134c0
cmp byte [0x42145c], 0
je 0x413471
mov eax, dword [0x421464]
cmp eax, dword [esi + 4]
jg 0x413515
push 0x421460
lea ecx, [ebp - 0x10]
call fcn.00413390
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x10]
call fcn.004133b0
jmp 0x41347b
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0xf4240
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004142f0
push dword [0x421454]
push dword [0x421450]
push edx
push eax
call fcn.00414240
mov esi, dword [ebp + 8]
push edx
push eax
push esi
call fcn.00412e90
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x421458
call fcn.00413df8
add esp, 4
cmp dword [0x421458], 0xffffffff
jne 0x413436
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [ebp - 0x14]
mov dword [0x421450], eax
mov eax, dword [ebp - 0x10]
mov dword [0x421454], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
push 0x421458
setb byte [0x42145c]
call fcn.00413dae
add esp, 4
jmp 0x413436
push 0x421464
call fcn.00413df8
add esp, 4
cmp dword [0x421464], 0xffffffff
jne 0x413450
mov ecx, 0x421460
mov dword [ebp - 4], 0
call fcn.004132d0
push 0x415de0
call fcn.00413cb0
push 0x421464
mov dword [ebp - 4], 0xffffffff
call fcn.00413dae
add esp, 8
jmp 0x413450

Function at 0x4146cd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41470c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41470c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41470c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41470c
cmp dword [ecx + 0x74], 0xe
jbe 0x41470c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret