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

Disassembly:
push esi
push edi
mov esi, dword [ebp - 0x88]
mov esi, dword [ebp + esi - 0x6c]
add dword [ebp - 0x88], 4
test esi, 1
je 0x40a9e3
and esi, 0xfffffffe
jne 0x40a9ed
xchg dword [ebx], esi
call fcn.0040a878
pop edi
pop esi
ret
call fcn.0040a8a0
mov edi, dword [ebx]
or edi, edi
je 0x40a9fd
cmp ecx, dword [edi - 4]
je 0x40aa1d
call fcn.0040a844
jb 0x40aa2d
cld
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xchg dword [ebx], edx
mov esi, edx
call fcn.0040a878
pop edi
pop esi
ret
cld
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
xchg dword [ebx], edx
mov esi, edx
call fcn.0040a878
pop edi
pop esi
jmp fcn.0040a2bc

Function at 0x40aa85
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [ebp - 0x88]
mov eax, dword [ebp + esi - 0x6c]
add dword [ebp - 0x88], 4
pop esi
test eax, 1
jne 0x40aaa5
mov dword [ebx], eax
pop edx
push eax
push edx
ret
push esi
push edi
mov esi, eax
call fcn.0040a8a0
call fcn.0040a844
jb 0x40aaca
cld
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [ebx], edx
pop eax
push edx
push eax
ret
pop edi
pop esi
mov dword [ebx], edx
pop ebx
push edx
push ebx
jmp fcn.0040a2bc

Function at 0x40ac42
Capabilities:
Terminate process

Disassembly:
push ebx
push ecx
push esi
push edi
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp + edi - 0x6c]
call fcn.0040a8a0
mov ebx, ecx
push esi
mov esi, dword [ebp + edi - 0x68]
call fcn.0040a8a0
jecxz 0x40acb8
test ebx, ebx
je 0x40acc0
add ebx, ecx
xchg ecx, ebx
call fcn.0040a844
jb 0x40accd
xchg ecx, ebx
sub ebx, ecx
cld
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x88]
mov esi, edx
xchg dword [ebp + edi - 0x68], esi
call fcn.0040a878
mov esi, dword [ebp + edi - 0x6c]
call fcn.0040a878
add dword [ebp - 0x88], 4
pop edi
pop esi
pop ecx
pop ebx
ret
mov esi, dword [ebp + edi - 0x6c]
mov dword [ebp + edi - 0x68], esi
add dword [ebp - 0x88], 4
pop esi
pop edi
pop esi
pop ecx
pop ebx
ret
pop esi
pop edi
pop esi
pop ecx
pop ebx
jmp fcn.0040a2bc

Function at 0x40adee
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push esi
mov ebx, dword [ebp - 0x84]
sub ebx, 0xa
mov esi, dword [ebx]
sub ebx, 4
shr esi, 1
jb 0x40ae1b
je 0x40ae17
shr esi, 1
jae 0x40ae3c
shl esi, 2
mov esi, dword [ebp + esi]
call fcn.0040a878
jmp 0x40adfa
pop esi
pop edx
pop eax
ret
shr esi, 1
jb 0x40ae4d
push ebx
shl esi, 2
lea ebx, [ebp + esi]
mov eax, 1
call fcn.0040a2a5
pop ebx
jae 0x40adfa
pop esi
pop edx
pop eax
jmp fcn.0040a2bc
shl esi, 2
mov ecx, dword [ebp + esi]
jecxz 0x40adfa
push ecx
mov ecx, dword [ecx]
call dword [ecx + 8]
jmp 0x40adfa
lea ecx, [ebp + esi*4]
push ecx
call dword [sym.imp.OLEAUT32.DLL_VariantClear]
jmp 0x40adfa
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x472518f0
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x33945e46
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40174d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x144
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4017a6
mov dword [esp + 4], str.CreateToolhelp32Snapshot_failed.
mov dword [esp], 0x4a3660
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov eax, 0
jmp 0x401891
mov dword [ebp - 0x134], 0x128
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._Process32First_8
sub esp, 8
test eax, eax
sete al
test al, al
je 0x401810
mov dword [esp + 4], str.Process32First_failed.
mov dword [esp], 0x4a3660
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x401891
lea eax, [ebp - 0x134]
add eax, 0x24
mov dword [esp], eax
call sym.GetWC_char_const_
mov ebx, eax
mov ecx, dword [ebp + 8]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__wcsicmp]
call eax
test eax, eax
sete al
test al, al
je 0x401859
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 1
jmp 0x401891
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._Process32Next_8
sub esp, 8
test eax, eax
setne al
test al, al
je 0x40187c
jmp 0x401810
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4019df
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [ebp + 8]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401a0a
mov eax, 0
jmp 0x401a20
mov eax, dword [ebp - 0xc]
and eax, 0x10
test eax, eax
je 0x401a1b
mov eax, 1
jmp 0x401a20
mov eax, 0
leave
ret
Function at 0x40230f
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym.fileExists_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
xor eax, 1
test al, al
je 0x402414
mov ebx, 0
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x5a], 0
lea eax, [ebp - 0x50]
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
sub esp, 4
mov ebx, 1
lea eax, [ebp - 0x50]
mov dword [esp], eax
call sym.createFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
test al, al
je 0x4023ce
lea eax, [ebp - 0x38]
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
sub esp, 4
mov byte [ebp - 0x59], 1
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
sub esp, 4
mov byte [ebp - 0x5a], 1
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call sym.copyfile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
test al, al
je 0x4023ce
mov eax, dword [ebp + 0xc]
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov dword [esp + 4], 7
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call eax
sub esp, 8
test eax, eax
je 0x4023ce
mov byte [ebp - 0x5b], 1
jmp 0x4023d2
mov byte [ebp - 0x5b], 0
cmp byte [ebp - 0x5a], 0
je 0x4023e2
lea eax, [ebp - 0x20]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp byte [ebp - 0x59], 0
je 0x4023f2
lea eax, [ebp - 0x38]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test bl, bl
je 0x402400
lea eax, [ebp - 0x50]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp byte [ebp - 0x5b], 0
je 0x40240d
mov eax, 1
jmp 0x402455
mov eax, 0
jmp 0x402455
mov eax, 1
jmp 0x402455
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4029f6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
lea eax, [ebp - 0x44]
mov dword [esp], eax
call sym._memset
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], str.open
mov ecx, dword [ebp + 8]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
je 0x402a6c
mov eax, 1
jmp 0x402aa7
mov dword [esp + 4], str.Error_executing_program:
mov dword [esp], 0x4a37a0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], edx
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov eax, 0
leave
ret
Function at 0x40cb60
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4e93e0]
test esi, esi
jle 0x40cc70
mov edi, dword [0x4e93e4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x40cb94
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x40cc15
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x40cb80
mov dword [esp], eax
mov ebx, eax
call sym.___mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x40cc97
mov eax, dword [0x4e93e4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
add eax, dword [edi + 0xc]
mov edx, dword [0x4e93e4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40cc77
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40cc0e
sub eax, 4
and eax, 0xfffffffb
jne 0x40cc20
add dword [0x4e93e0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4e93e4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40cc0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
xor esi, esi
jmp 0x40cb9e
mov eax, dword [0x4e93e4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
mov esi, esi
lea edi, [edi]

Function at 0x40d0d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4e93f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4e93f0]
sub esp, 4
test ebx, ebx
je 0x40d125
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40d11e
test esi, esi
je 0x40d11e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40d100
mov dword [esp], 0x4e93f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x411b80
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
mov dword [0x4e9444], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
sub esp, 0x10
mov dword [0x4e9448], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x411bf0
mov dword [esp + 4], dbg.emutls_destroy
mov dword [esp], eax
mov dword [0x4e9440], eax
call sym.___mingwthr_key_dtor
test eax, eax
jne sym._emutls_init.cold.6
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x411bda
Function at 0x41f390
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x4a3adc], 0
jne 0x41f4b6
mov byte [0x4a3adc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x41f484
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym.___cxa_demangle
mov dword [esp], 2
mov esi, dword [sym.___acrt_iob_func]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sym._fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x41f474
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a4375
call sym._fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x49a448
jmp 0x49a440
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._fputs
jmp 0x41f43a
mov dword [esp], 2
call dword [0x4a2088]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sym._fwrite
jmp 0x49a43b
mov dword [esp], 2
call dword [0x4a2088]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sym._fwrite
call sym._abort
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x49bf20
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
nop
nop
nop
Function at 0x401396
Capabilities:
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov esi, ecx
cmp dword [0x40b0c4], edx
jne 0x4013d5
push ebx
push edi
push 8
mov ecx, edx
pop edi
mov ebx, ecx
and bl, 1
movzx ebx, bl
neg ebx
sbb ebx, ebx
and ebx, 0xedb88320
shr ecx, 1
xor ecx, ebx
dec edi
jne 0x4013aa
mov dword [edx*4 + 0x40b0c0], ecx
inc edx
cmp edx, 0x100
jl 0x4013a5
pop edi
pop ebx
not esi
jmp 0x4013f3
movzx ecx, byte [eax]
dec dword [esp + 8]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x40b0c0]
inc eax
cmp dword [esp + 8], 0
ja 0x4013d9
mov eax, esi
not eax
pop esi
ret 4

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

Disassembly:
xor edx, edx
push esi
mov esi, ecx
cmp dword [0x40b0c4], edx
jne 0x4013d5
push ebx
push edi
push 8
mov ecx, edx
pop edi
mov ebx, ecx
and bl, 1
movzx ebx, bl
neg ebx
sbb ebx, ebx
and ebx, 0xedb88320
shr ecx, 1
xor ecx, ebx
dec edi
jne 0x4013aa
mov dword [edx*4 + 0x40b0c0], ecx
inc edx
cmp edx, 0x100
jl 0x4013a5
pop edi
pop ebx
not esi
jmp 0x4013f3
movzx ecx, byte [eax]
dec dword [esp + 8]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x40b0c0]
inc eax
cmp dword [esp + 8], 0
ja 0x4013d9
mov eax, esi
not eax
pop esi
ret 4
Function at 0x405c20
Capabilities:
Packed with generic packer

Disassembly:
add eax, 0x19000000
je 0x405c6c
pop eax
je 0x405c7d
outsd dx, dword [esi]
je 0x405ca5
popal
jb 0x405c96
add byte [ecx + 0x64], al
outsd dx, dword [esi]
bound esp, qword [ebp + 0x20]
dec ecx
insd dword es:[edi], dx
popal
push edx
popal
jns 0x405cb4
leave
cmp al, 0
add byte [ebx], al
imul edx, dword fs:[eax + ebx*2 + 0x74], 0x3a4c4d58
arpl word [edi + 0x6d], bp
popal
outsd dx, dword fs:[esi]
bound esp, qword [ebp + 0x2e]
js 0x405ccb
jo 0x405c60
add byte [eax], al
add byte [eax], al
cmp al, 0x3f
js 0x405cd8
popal
arpl word [ebx + 0x65], bp
je 0x405c8e
bound esp, qword [ebp + 0x67]
imul ebp, dword [esi + 0x3d], 0xbfbbef22
and ah, byte [eax]
imul esp, dword [ebp + edi + 0x22], 0x304d3557
dec ebp
jo 0x405cc8
and dl, byte [edi + 0x35]
dec ebp
xor byte [ebp + 0x70], cl
inc ebx
push 0x727a4869
push ebx
jp 0x405cdd
dec esi
push esp
arpl word [edx + 0x6b], di
arpl word [ecx], di
and bh, byte fs:[edi]
and bh, byte [edi]
and byte ds:[eax + edi*2], bh
cmp bh, byte [eax + 0x6d]
jo 0x405d0e
je 0x405d05
and byte [eax + 0x6d], bh
js 0x405d14
insb byte es:[edi], dx
outsb dx, byte [esi]
jae 0x405ce5
js 0x405cea
and ah, byte [ecx + 0x64]
outsd dx, dword [esi]
bound esp, qword [ebp + 0x3a]
outsb dx, byte [esi]
jae 0x405cf1
insd dword es:[edi], dx
je 0x405d1c
das
and ah, byte [eax]
js 0x405cfa
js 0x405d2f
jo 0x405d38
imul edi, dword [0x6f644122], 0x62
outsd dx, dword fs:[esi]
bound esp, qword [ebp + 0x20]
pop eax
dec ebp
and byte gs:[eax + 0x4d], bl
push eax
and byte [ebx + 0x6f], al
jb 0x405d3a
and byte [0x632d302e], dh
xor byte [esi], dh
xor byte [0x30363063], ch
and byte [esi], dh
xor dword [esi], ebp
xor byte [eax], ah
xor dword ss:[esi], ebp
xor dword [ebx], esi
xor al, 0x37
aaa
aaa
aaa
sub al, 0x20
xor dh, byte [eax]
xor dword [eax], esi
das
xor byte [edx], dh
das
xor dword [edx], esi
sub eax, 0x333a3731
xor bh, byte [edx]
xor byte [eax], dh
and byte [eax], ah
and byte [eax], ah
and byte [eax], ah
and byte [eax], ah
cmp dh, byte [eax]
xor byte [eax], ah
and byte [eax], ah
and byte [eax], ah
and byte [eax], ah
and byte [edx], ah
and byte ds:[edx + esi*2], bh
and bh, byte [esi]
and byte [edx + esi*2], bh
cmp dl, byte fs:[edx + 0x44]
inc esp
inc esi
and byte [eax + 0x6d], bh
insb byte es:[edi], dx
outsb dx, byte [esi]
jae 0x405d51
jb 0x405d7d
cmp ax, 0x6822
je 0x405d93
push 0x3a707474
jo 0x405d5b
das
das
ja 0x405d9c
invalid
ja 0x405d55
ja 0x405d5c
cmp dword [ecx], edi
cmp dword [edi], ebp
sub ax, 0x7973
jae 0x405db6
jb 0x405dbe
jb 0x405dc1
cmp ah, byte [ecx + 0x62]
das
Function at 0x406235
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [ebx + 0x55], dl
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
stosw word es:[edi], ax
mov ebp, dword [esi + 0x3c]
mov ebx, ecx
stosb byte es:[edi], al
mov edi, esi
or eax, 0xffffffff
sub edi, ebp
xor ebp, ebp
sub edi, 0x114
test ecx, ecx
je 0x406329

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

Disassembly:
test esi, esi
je 0x406307
push ebx
lea eax, [esp + 0x14]
push 0x80
push eax
call fcn.00405800
lea ecx, [esp + 0x1c]
mov ebx, eax
push ecx
call 0x409130
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0xb8]
push eax
push ecx
call fcn.00405c20
add esp, 0x1c
cmp eax, 0xffffffff
je 0x406307
lea ecx, [eax + eax*4]
lea edx, [ecx + ecx*8]
lea ecx, [esi + edx*4 + 0xb8]
mov edx, dword [esi + 0x3c]
mov esi, dword [esp + 0x94]
mov dword [esi + 8], edx
mov dx, word [ecx + 0x44]
test dl, 2
jne 0x406304
test dl, 4
jne 0x406304
mov esi, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x78]
add ebp, esi
cmp ecx, 0xffffffff
je 0x4062f8
lea esi, [ecx + edi + 0x114]
jmp 0x4062fa
xor esi, esi
test ebx, ebx
jne 0x406279
jmp 0x40630b
or eax, 0xffffffff
test ebx, ebx
jne 0x406329
cmp eax, 0xffffffff
je 0x406329
mov ecx, dword [esp + 0x94]
pop edi
pop esi
mov dword [ecx + 4], ebp
mov dword [ecx], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret
pop edi
pop esi
pop ebp
mov eax, 0x82010425
pop ebx
invalid
invalid
invalid