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

Disassembly:
cmp ecx, dword [0x43e500]
jne 0x403fca
repz ret
jmp fcn.0040783c

Function at 0x409d4e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e500]
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.00405add
and dword [ebp - 0x14], 0
cmp dword [0x444bb0], 0
mov dword [ebp - 0x18], eax
jne 0x409e01
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409ea9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409ea9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444bb0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444bb4], eax
call edi
push eax
call esi
push 0x410814
push ebx
mov dword [0x444bb8], eax
call edi
push eax
call esi
mov dword [0x444bc0], eax
test eax, eax
je 0x409e01
push 0x4107fc
push ebx
call edi
push eax
call esi
mov dword [0x444bbc], eax
mov eax, dword [0x444bbc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409e5a
cmp dword [0x444bc0], ecx
je 0x409e5a
push eax
call esi
push dword [0x444bc0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409e5a
test ebx, ebx
je 0x409e5a
call edi
test eax, eax
je 0x409e51
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409e51
test byte [ebp - 8], 1
jne 0x409e5a
or dword [ebp + 0x10], 0x200000
jmp 0x409e8d
mov eax, dword [0x444bb4]
cmp eax, dword [ebp - 0x18]
je 0x409e8d
push eax
call esi
test eax, eax
je 0x409e8d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409e8d
mov eax, dword [0x444bb8]
cmp eax, dword [ebp - 0x18]
je 0x409e8d
push eax
call esi
test eax, eax
je 0x409e8d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444bb0]
call esi
test eax, eax
je 0x409ea9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409eab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc0
leave
ret
Function at 0x401860
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x14
mov eax, dword [0x4c1a10]
mov dword [esp + 4], str.Usage:__s__option_s___in_file_s__n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x29
mov dword [esp + 4], 1
mov dword [esp], str._Removes_symbols_and_sections_from_files_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str._The_options_are:_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x13b
mov dword [esp + 4], 1
mov dword [esp], str.___I___input_target_bfdname_______Assume_input_file_is_in_format__bfdname__n___O___output_target_bfdname______Create_an_output_file_in_format__bfdname__n___F___target_bfdname_____________Set_both_input_and_output_format_to__bfdname__n___p___preserve_dates______________Copy_modified_access_timestamps_to_the_output_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xe4
mov dword [esp + 4], 1
mov dword [esp], str.___D___enable_deterministic_archives_n___________________________________Produce_deterministic_output_when_stripping_archives_n___U___disable_deterministic_archives_n___________________________________Disable__D_behavior__default__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a6
mov dword [esp + 4], 1
mov dword [esp], str.___R___remove_section_name________Also_remove_section__name__from_the_output_n___s___strip_all___________________Remove_all_symbol_and_relocation_information_n___g__S__d___strip_debug___________Remove_all_debugging_symbols__sections_n_______strip_dwo___________________Remove_all_DWO_sections_n_______strip_unneeded______________Remove_all_symbols_not_needed_by_relocations_n_______only_keep_debug_____________Strip_everything_but_the_debug_information_n___N___strip_symbol_name__________Do_not_copy_symbol__name__n___K___keep_symbol_name___________Do_not_strip_symbol__name__n_______keep_file_symbols___________Do_not_strip_file_symbol_s__n___w___wildcard____________________Permit_wildcard_in_symbol_comparison_n___x___discard_all_________________Remove_all_non_global_symbols_n___X___discard_locals______________Remove_any_compiler_generated_symbols_n___v___verbose_____________________List_all_object_files_modified_n___V___version_____________________Display_this_programs_version_number_n___h___help________________________Display_this_output_n_______info________________________List_object_formats__architectures_supported_n___o__file_________________________Place_stripped_output_into__file__n
call sub.msvcrt.dll_fwrite
mov eax, dword [0x4c1a10]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0041d7a0
test esi, esi
je 0x40193f
mov dword [esp], esi
call sub.msvcrt.dll_exit
mov dword [esp + 8], str._http:__www.sourceware.org_bugzilla__
mov dword [esp + 4], str.Report_bugs_to__s_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
jmp 0x401937
Function at 0x401ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [esp], eax
mov dword [esp + 0x18], edx
call fcn.0041e010
mov esi, eax
or edx, esi
jne 0x401bcd
mov dword [0x4bd0cc], 1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 2]
mov dword [esp], eax
call fcn.004742f0
mov dword [esp + 4], 0x49647f
mov dword [esp], ebp
mov ebx, eax
call sub.msvcrt.dll_fopen
test eax, eax
mov edi, eax
je 0x401d97
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_fread
test eax, eax
je 0x401d87
mov dword [esp], edi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x401d87
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov byte [ebx + esi], 0xa
mov byte [ebx + esi + 1], 0
movzx eax, byte [ebx]
test al, al
je 0x401bc5
mov edx, 1
mov dword [esp + 0x1c], ebp
mov ebp, edx
cmp al, 0xa
mov esi, ebx
je 0x401c6f
lea esi, [esi]
jle 0x401ce7
cmp al, 0xd
je 0x401cf0
cmp al, 0x23
jne 0x401c65
mov byte [esi], 0
add esi, 1
movzx eax, byte [esi]
cmp al, 0xa
jne 0x401c50
xor eax, eax
cmp byte [esi + 1], 0xd
mov byte [esi], 0
sete al
add esi, eax
movzx eax, byte [ebx]
cmp al, 9
jne 0x401c8e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x401c84
cmp al, 0x20
je 0x401c84
cmp al, 9
mov edi, ebx
je 0x401d03
cmp al, 0xa
je 0x401cc2
cmp al, 0xd
nop
jne 0x401cba
jmp 0x401cc2
add edi, 1
movzx eax, byte [edi]
cmp al, 9
je 0x401d03
cmp al, 0x20
je 0x401d03
cmp al, 0xd
je 0x401cc2
cmp al, 0xa
je 0x401cc2
test al, al
lea esi, [esi]
jne 0x401ca4
cmp ebx, edi
mov byte [edi], 0
jb 0x401d61
movzx eax, byte [esi + 1]
add ebp, 1
lea ebx, [esi + 1]
test al, al
jne 0x401c47
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
test al, al
je 0x401c7d
jmp 0x401c65
xor eax, eax
cmp byte [esi + 1], 0xa
mov byte [esi], 0
sete al
add esi, eax
jmp 0x401c7d
cmp al, 0xa
je 0x401cc2
cmp al, 0xd
je 0x401cc2
test al, al
lea esi, [esi]
je 0x401cc2
movzx ecx, byte [edi + 1]
lea eax, [edi + 1]
cmp cl, 0x20
jne 0x401d80
nop
add eax, 1
movzx ecx, byte [eax]
cmp cl, 9
je 0x401d20
cmp cl, 0x20
je 0x401d20
cmp cl, 0xa
je 0x401cc2
cmp cl, 0xd
je 0x401cc2
test cl, cl
je 0x401cc2
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov dword [esp], str._s:_d:_Ignoring_rubbish_found_on_this_line
mov dword [esp + 4], eax
call fcn.0041d6c0
cmp ebx, edi
mov byte [edi], 0
jae 0x401ccd
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00474e30
mov dword [eax], ebx
jmp 0x401ccd
cmp cl, 9
je 0x401d20
jmp 0x401d30
mov dword [esp + 4], ebp
mov dword [esp], str._s:_fread_failed
call fcn.0041d690
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], ebp
mov dword [esp], str.cannot_open__s:__s
mov dword [esp + 8], eax
call fcn.0041d690
nop
lea esi, [esi]
Function at 0x401dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 8]
mov dword [esp + 4], 0x4964d3
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov esi, eax
je 0x401e92
mov dword [esp], 0x1000
mov edi, 0x1000
xor ebx, ebx
call fcn.004742f0
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x10], eax
jmp 0x401e39
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, edi
add eax, ebx
sub edx, ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [esp], esi
mov ebp, eax
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x401e7b
add ebx, ebp
mov dword [esp], esi
call sub.msvcrt.dll_feof
test eax, eax
jne 0x401e64
cmp ebx, edi
jne 0x401e04
mov ebp, dword [esp + 0x1c]
lea edi, [ebx + ebx]
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00474370
mov dword [ebp + 0x10], eax
jmp 0x401e0b
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], ebx
mov dword [esp], esi
call sub.msvcrt.dll_fclose
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp], str._s:_fread_failed
mov dword [esp + 4], eax
call fcn.0041d690
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp], str.cannot_open:__s:__s
mov dword [esp + 4], eax
call fcn.0041d690
lea esi, [esi]
Function at 0x405500
Capabilities:
Delete file
Move file

Disassembly:
push edi
push esi
push ebx
sub esp, 0x40
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x10]
mov edi, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll__stati64]
test eax, eax
je 0x405570
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.msvcrt.dll_rename
test eax, eax
mov esi, eax
je 0x405561
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], ebx
mov dword [esp], str.unable_to_rename__s__reason:__s
mov dword [esp + 8], eax
call fcn.0041d6c0
mov dword [esp], edi
call sub.msvcrt.dll__unlink
add esp, 0x40
mov eax, esi
pop ebx
pop esi
pop edi
ret
mov dword [esp], ebx
call sub.msvcrt.dll_remove
jmp 0x405523

Function at 0x405640
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x21
mov dword [esp + 4], 1
mov dword [esp], str.Last_stabs_entries_before_error:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.n_type_n_desc_n_value__string_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov ebx, dword [0x4bd100]
jmp 0x40573f
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.__6s
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 4]
mov dword [esp + 4], str.___6d
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 8]
mov dword [esp + 4], 0x498337
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esi + 0x4bd120]
test eax, eax
jne 0x4057a0
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
add ebx, 1
mov eax, ebx
sar eax, 0x1f
shr eax, 0x1c
add ebx, eax
and ebx, 0xf
sub ebx, eax
cmp ebx, dword [0x4bd100]
je 0x4057e5
mov esi, ebx
shl esi, 4
lea edi, [esi + 0x4bd120]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x405721
mov eax, dword [esi + 0x4bd120]
mov dword [esp], eax
call fcn.0042a180
test eax, eax
jne 0x4056a1
mov eax, dword [esi + 0x4bd120]
test eax, eax
jne 0x4057c4
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], str.HdrSym
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x4056bd
mov eax, dword [edi + 0xc]
mov dword [esp + 4], 0x49833d
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x405709
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.__6d
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4056bd
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x40a630
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
mov dword [esp], 0x28
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004742f0
test ebx, ebx
mov ebp, eax
mov eax, dword [esp + 0x50]
mov dword [eax], 0
je 0x40a76b
cmp dword [ebx], 0x2e
jne 0x40a725
mov ecx, dword [ebx + 4]
xor esi, esi
test ecx, ecx
je 0x40a713
mov edi, 0xa
jmp 0x40a6a1
mov dword [ebp + esi*4], edx
mov ebx, dword [ebx + 8]
mov esi, ecx
test ebx, ebx
je 0x40a710
cmp dword [ebx], 0x2e
jne 0x40a725
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x40a710
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov dword [esp], 0
call fcn.00409eb0
test eax, eax
mov edx, eax
je 0x40a6f4
lea ecx, [esi + 1]
cmp ecx, edi
jb 0x40a680
add edi, 0xa
mov dword [esp + 0x18], eax
lea eax, [edi*4]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 0x1c], ecx
call fcn.00474370
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebp, eax
jmp 0x40a680
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40a75f
mov eax, dword [esp + 0x50]
mov dword [eax], 1
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40a691
lea esi, [esi]
shl esi, 2
mov dword [ebp + esi], 0
add esp, 0x3c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x29
mov dword [esp + 4], 1
mov dword [esp], str.Unexpected_type_in_v3_arglist_demangling_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], ebp
call fcn.0048d280
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
call fcn.0048d280
xor eax, eax
jmp 0x40a757
xor esi, esi
jmp 0x40a713
Function at 0x4106e0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x4c
cmp edx, 0x7f
jbe 0x410783
mov eax, edx
lea ebx, [esp + 0x40]
sub ebx, 1
mov byte [ebx], al
shr eax, 8
test eax, eax
jne 0x4106f8
lea ebp, [esp + 0x40]
sub ebp, ebx
cmp ebp, 8
mov esi, ebp
ja 0x4107c0
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
cmp eax, 0x1e9
ja 0x410830
lea ecx, [eax + 1]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x80]
mov byte [edx + eax + 8], cl
lea eax, [edi + 0xc]
test ebp, ebp
mov dword [esp + 0x1c], eax
lea eax, [edi + 8]
je 0x41079a
mov ebp, eax
jmp 0x41075a
lea ecx, [eax + 1]
mov dword [edx + 4], ecx
movzx ecx, byte [ebx]
mov byte [edx + eax + 8], cl
add ebx, 1
sub esi, 1
je 0x41079a
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
cmp eax, 0x1e9
jbe 0x410745
movzx ecx, byte [ebx]
mov eax, ebp
mov edx, dword [esp + 0x1c]
call fcn.0040fb80
test eax, eax
jne 0x410752
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 4]
cmp eax, 0x1e9
ja 0x4107a7
lea ebx, [eax + 1]
mov dword [ecx + 4], ebx
mov byte [ecx + eax + 8], dl
add esp, 0x4c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [edi + 0xc]
mov ecx, edx
lea eax, [edi + 8]
mov edx, ebx
call fcn.0040fb80
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.IEEE_numeric_overflow:_0x
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], 0x499acd
add eax, 0x40
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp + 0x80]
lea edx, [edi + 0xc]
lea eax, [edi + 8]
call fcn.0040fb80
test eax, eax
jne 0x410733
xor eax, eax
jmp 0x41077b
Function at 0x41d7a0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test eax, eax
je 0x41d813
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_supported_targets:
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
call fcn.0042b080
mov edx, dword [eax]
mov edi, eax
lea ebx, [eax + 4]
test edx, edx
je 0x41d7f4
mov dword [esp + 8], edx
add ebx, 4
mov dword [esp + 4], 0x49b00b
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov edx, dword [ebx - 4]
test edx, edx
jne 0x41d7d6
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov dword [esp + 0x20], edi
add esp, 0x10
pop ebx
pop esi
pop edi
jmp fcn.0048d280
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Supported_targets:
call sub.msvcrt.dll_fwrite
jmp 0x41d7c6
Function at 0x41df80
Capabilities:
Create directory

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [esp + 0x20]
call fcn.0041d490
mov dword [esp], eax
call sub.msvcrt.dll__mktemp
test eax, eax
mov ebx, eax
je 0x41dfb0
mov dword [esp], eax
call sub.msvcrt.dll__mkdir
test eax, eax
jne 0x41dfb0
add esp, 0x18
mov eax, ebx
pop ebx
ret
add esp, 0x18
xor eax, eax
pop ebx
ret

Function at 0x41e1e0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
call fcn.00420a00
mov dword [esp], eax
call fcn.00420a10
mov ebp, eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 4], eax
mov eax, dword [0x4c1a10]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41e2e0
test ebx, ebx
je 0x41e301
test edi, edi
je 0x41e2e0
mov eax, dword [edi]
test eax, eax
je 0x41e2e0
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.:_s__s_
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
test esi, esi
je 0x41e2b9
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x49b231
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], esi
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], ebp
mov dword [esp + 4], str.:__s_n
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x49b22d
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41e271
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0041e0f0
mov ebx, eax
jmp 0x41e23f
Function at 0x425d50
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
test edx, edx
je 0x425eb5
mov eax, dword [esp + 0x44]
test eax, eax
je 0x425eb5
test edi, edi
je 0x425eb5
mov dword [esp + 4], 0x49c06b
mov dword [esp], edi
call fcn.00429ce0
test eax, eax
mov esi, eax
je 0x425edd
xor ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x2000
mov dword [esp + 4], 1
mov dword [esp], 0x4bd260
call sub.msvcrt.dll_fread
test eax, eax
je 0x425ded
add eax, 0x4bd260
not ebx
cmp eax, 0x4bd260
jbe 0x425de9
mov edx, 0x4bd260
nop
mov ecx, ebx
add edx, 1
xor cl, byte [edx - 1]
shr ebx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x49c0a0]
cmp edx, eax
jne 0x425dd0
not ebx
jmp 0x425d97
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov dword [esp], edi
call fcn.004885a0
mov dword [esp], eax
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_strlen
lea edi, [eax + 4]
mov ebp, eax
and edi, 0xfffffffc
lea eax, [edi + 4]
mov dword [esp], eax
mov dword [esp + 0x18], eax
call fcn.0042b400
mov esi, eax
xor eax, eax
test esi, esi
je 0x425ead
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov dword [esp], esi
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, edi
add edi, esi
sub edx, ebp
mov eax, edx
lea edx, [esi + ebp]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x30]
mov dword [esp + 4], edi
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0041ee20
mov edx, eax
mov eax, 1
test edx, edx
je 0x425ecb
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 5
call fcn.00420c50
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call fcn.0048d280
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 1
call fcn.00420c50
xor eax, eax
jmp 0x425ead