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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x10]
jl 0x4064d8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + ecx + 0x64]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.0040d4cd
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x4064d8
push 0x49f190
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
pop ecx
pop ecx
push 1
call fcn.00486d64
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dl, byte [ebp + 0xc]
mov byte [ecx + eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
pop ebp
ret

Function at 0x406b01
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x406c13
call fcn.0046acf1
push dword [ebp + 8]
mov eax, dword [ebp + 8]
push dword [eax + 0x638]
call fcn.0040d90e
pop ecx
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [0x4b6ad4], eax
cmp dword [0x4b6ad4], 0
je 0x406b6d
push dword [0x4b6ad4]
call fcn.0040db2c
pop ecx
test eax, eax
jne 0x406b6d
push 0
push 0
push 0x4091c8
push 0
push 1
push 0
push str.shellstatic
push dword [0x4b6ad4]
call fcn.0040eb99
add esp, 0x20
cmp dword [0x4b6ad4], 0
je 0x406b86
push dword [0x4b6ad4]
call fcn.0040db2c
pop ecx
test eax, eax
je 0x406bc1
push dword [0x4b6ad4]
call fcn.0040dbb4
pop ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x638]
push str.Error:_unable_to_open_database___s_:__s_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x406bba
jmp 0x406c13
push 1
call fcn.00486d64
push 1
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0046aad5
pop ecx
pop ecx
push 0
push 0
push 0x40781b
push 0
push 1
push 1
push str.readfile
push dword [0x4b6ad4]
call fcn.0040eb99
add esp, 0x20
push 0
push 0
push 0x409bc2
push 0
push 1
push 2
push str.writefile
push dword [0x4b6ad4]
call fcn.0040eb99
add esp, 0x20
pop ebp
ret
Function at 0x407d91
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 0
je 0x407db3
mov eax, dword [ebp + 8]
push dword [eax + 0x38]
call fcn.00486a94
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x38], 0
cmp dword [ebp + 0xc], 0
jne 0x407dbe
jmp 0x407f2b
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
push eax
call fcn.0048655e
pop ecx
test eax, eax
jne 0x407de3
mov eax, dword [ebp + 0xc]
movsx eax, byte [eax]
cmp eax, 0x5f
je 0x407de3
mov dword [ebp - 0x14], 1
jmp 0x407de7
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x407e07
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movsx eax, byte [eax]
test eax, eax
je 0x407e54
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
call fcn.0048652f
pop ecx
test eax, eax
jne 0x407e52
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movsx eax, byte [eax]
cmp eax, 0x5f
je 0x407e52
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movsx eax, byte [eax]
cmp eax, 0x27
jne 0x407e52
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x407df9
cmp dword [ebp - 0x10], 0
je 0x407e62
mov eax, dword [ebp - 4]
inc eax
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00486a99
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x407ea1
push 0x49e8a8
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
pop ecx
pop ecx
push 1
call fcn.00486d64
and dword [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x407ebb
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], 0x27
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x407ec8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movsx eax, byte [eax]
test eax, eax
je 0x407f0c
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov cl, byte [ecx]
mov byte [eax], cl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movsx eax, byte [eax]
cmp eax, 0x27
jne 0x407f0a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], 0x27
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x407ec1
cmp dword [ebp - 0x10], 0
je 0x407f22
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], 0x27
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], 0
leave
ret
Function at 0x409b62
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x4b6adc]
push str.Usage:__s__OPTIONS__FILENAME__SQL__nFILENAME_is_the_name_of_an_SQLite_database._A_new_database_is_created_nif_the_file_does_not_previously_exist._n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x409ba4
push str.____ascii_______________set_output_mode_to_ascii_n____bail________________stop_after_hitting_an_error_n____batch_______________force_batch_I_O_n____column______________set_output_mode_to_column_n____cmd_COMMAND_________run__COMMAND__before_reading_stdin_n____csv_________________set_output_mode_to_csv_n____echo________________print_commands_before_execution_n____init_FILENAME_______read_process_named_file_n_____no_header__________turn_headers_on_or_off_n____help________________show_this_message_n____html________________set_output_mode_to_HTML_n____interactive_________force_interactive_I_O_n____line________________set_output_mode_to_line_n____list________________set_output_mode_to_list_n____lookaside_SIZE_N____use_N_entries_of_SZ_bytes_for_lookaside_memory_n____mmap_N______________default_mmap_size_set_to_N_n____newline_SEP_________set_output_row_separator._Default:__n_n____nullvalue_TEXT______set_text_string_for_NULL_values._Default__n____pagecache_SIZE_N____use_N_slots_of_SZ_bytes_each_for_page_cache_memory_n____scratch_SIZE_N______use_N_slots_of_SZ_bytes_each_for_scratch_memory_n____separator_SEP_______set_output_column_separator._Default:__n____stats_______________print_memory_stats_before_each_finalize_n____version_____________show_SQLite_version_n____vfs_NAME____________use_NAME_as_the_default_VFS_n
push str.OPTIONS_include:_n_s
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0xc
jmp 0x409bb9
push str.Use_the__help_option_for_additional_information_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
pop ecx
pop ecx
push 1
call fcn.00486d64
pop ebp
ret
Function at 0x458095
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [eax], 0
push 0
push 0x14
call fcn.0044b308
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4580bb
push 7
pop eax
jmp 0x45814c
cmp dword [0x4b049c], 0
jne 0x4580d5
push 0x14
push 0
push dword [ebp - 4]
call fcn.00483bf0
add esp, 0xc
jmp 0x458120
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
push dword [ebp - 4]
push 0x4581bc
push 0
push 0
call fcn.0048d22f
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x458120
push 0x14
push 0
push dword [ebp - 4]
call fcn.00483bf0
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x458142
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor eax, eax
leave
ret
Function at 0x492715
Capabilities:
Read file on windows

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

Function at 0x495357
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049525c

Function at 0x497ca5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00497965
Function at 0x4af714
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af7e9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4af804
push ebx
push 0x4af814
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087c4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405884
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084ec
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4af794
mov al, 0x72
call fcn.004af33c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004af6e8
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4af79d
call fcn.004af6e8
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af7f0
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x4af904
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
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4af9cf
jmp 0x4af9c3
cmp dword [esi + 0x10], 0x1000
jne 0x4af9af
test byte [esi + 0x15], 1
jne 0x4af9af
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4af960
cmp ebp, 2
je 0x4af960
cmp ebp, 0x10
je 0x4af960
cmp ebp, 0x20
jne 0x4af97c
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 0x4af97c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4af98d
mov eax, dword [esi]
add eax, ebx
call fcn.004af8fc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4af980
cmp byte [esp + 4], 0
je 0x4af9af
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
test eax, eax
je 0x4af9cf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4af935
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x438c96
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
mov edi, edi
add eax, edi
and edi, edi
call fcn.00438cd0
add eax, 0x197dd5c9
xor dword [edx], ecx
and eax, edi
add eax, 0xc2385c84
mov eax, edi
add edx, 1
mov eax, 0xad967235
dec edi
inc edi
cmp edx, esi
jne fcn.00438c96
or eax, edi
and eax, edi
ret
Function at 0x41c1fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c06d

Function at 0x41c5f6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a570
mov eax, dword [0x47de00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041a1b9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c638
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c794
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425090
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x480520]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d395
mov ecx, dword [esi*4 + 0x480520]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41c78d
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c78d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c78d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d395
add esp, 0x14
test edx, edx
jl 0x41c78d
jg 0x41c703
test eax, eax
jb 0x41c78d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c78d
jl 0x41c71d
cmp dword [ebp - 0x1008], eax
ja 0x41c78d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c73b
test ebx, ebx
je 0x41c774
cmp ecx, edi
jae 0x41c774
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c755
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c761
cmp byte [ecx + 1], 0xa
jne 0x41c761
inc ecx
jmp 0x41c761
movzx eax, al
movsx eax, byte [eax + 0x47e0c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c73b
cmp edx, ebx
jne 0x41c73b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c792
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret
Function at 0x41c833
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x480520]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c873
cmp byte [ebx], 0xa
jne 0x41c873
or byte [eax + edi + 0x28], 4
jmp 0x41c878
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c976
mov al, byte [edx]
cmp al, 0x1a
je 0x41c958
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c8a7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c8cc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c8d6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c889
jmp 0x41c976
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c953
cmp dword [ebp - 0xc], 0
je 0x41c953
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x480520]
test byte [eax + edi + 0x28], 0x48
je 0x41c92d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c918
mov byte [esi], dl
jmp 0x41c929
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x480520]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c976
cmp byte [ebp - 1], 0xa
jne 0x41c93c
cmp esi, ebx
jne 0x41c93c
mov byte [esi], 0xa
jmp 0x41c975
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d3b3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c976
mov byte [esi], 0xd
jmp 0x41c975
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x480520]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c972
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c976
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c97f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x480520]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c9c2
cmp word [esi], dx
jne 0x41c9c2
or byte [edi + eax + 0x28], 4
jmp 0x41c9c7
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41cb1a
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41cafa
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ca09
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ca3f
cmp eax, edx
jae 0x41ca4b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c9e1
jmp 0x41cb1a
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41caf6
cmp dword [ebp - 0x14], 0
je 0x41caf6
mov eax, dword [ebx*4 + 0x480520]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41cace
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ca97
mov word [esi], cx
jmp 0x41caca
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x480520]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x480520]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x480520]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41cb1a
pop ebx
cmp word [ebp - 4], bx
jne 0x41cadf
cmp esi, dword [ebp + 0xc]
jne 0x41cadf
mov word [esi], bx
jmp 0x41cb17
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d3b3
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41cb1a
push 0xd
jmp 0x41cb13
mov ecx, dword [ebx*4 + 0x480520]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41cb11
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41cb1a
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41da4c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47de00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41da97
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041dbeb
test al, al
jne 0x41da91
sub edx, 2
cmp edx, edi
jne 0x41da77
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41dab9
lea eax, [edi + 2]
cmp edx, eax
je 0x41dab9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041d998
add esp, 0x10
jmp 0x41dbb3
push esi
lea ecx, [ebp - 0x255]
call fcn.0041dbeb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dafc
push dword [ebp - 0x25c]
jmp 0x41daa9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41db39
cmp word [ebp - 0x226], 0
je 0x41db5a
cmp word [ebp - 0x226], ax
jne 0x41db39
cmp word [ebp - 0x224], 0
je 0x41db5a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041d998
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41dba6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41db13
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41db8e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41dbb3
push 0x41d7c8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004233c0
add esp, 0x10
jmp 0x41db83
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret

Function at 0x424e90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424ebd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424ebd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4265dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42665d
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42665c
push ebx
mov ebx, 0x47fa88
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x427558
mov byte [edi + esi], al
call fcn.0040eeee
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x4265ff
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00405157
pop edi
pop ebp
ret 0x14
Function at 0x401935
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00410720
mov eax, dword [0x2458274]
mov ecx, dword [0x2457d00]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4019ed
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x2458274], 0x959
jne 0x4019dc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.Yimu_givexohipalipen
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push str.Hipejes_joh_jagibavicedok_lozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401544
add ebx, 8
dec edi
jne 0x401961
pop edi
pop ebx
pop esi
leave
ret