joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x4918f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x4ae54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x4ae54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x4ad378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4918fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x402b50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421bdb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x42b724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040e2c1
push 4
mov dword [ebp - 4], 0
call fcn.0040fa16
mov edi, eax
add esp, 4
test edi, edi
je 0x402bd0
call fcn.0040e199
mov dword [edi], eax
call fcn.0040df58
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040e282
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x402bc6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040e2aa
jmp 0x402bd2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421d3c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x28], 0x426a20
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [ebp - 4], eax
mov edi, 1
push ebx
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.0040f296
mov dword [esi], vtable.boost::io::bad_format_string.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], edi
lea edi, [esi + 0x14]
add ebx, 0x14
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x405613
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.0
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
push ebx
push edi
mov dword [eax + esi + 0x24], ecx
call fcn.00401890
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421d3c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x28], 0x426a20
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [ebp - 4], eax
mov edi, 1
push ebx
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.0040f296
mov dword [esi], vtable.boost::io::bad_format_string.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], edi
lea edi, [esi + 0x14]
add ebx, 0x14
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x406183
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.0
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
push ebx
push edi
mov dword [eax + esi + 0x24], ecx
call fcn.00401890
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407ce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421cec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x28], 0x426a20
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [ebp - 4], eax
mov edi, 1
push ebx
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.0040f296
mov dword [esi], vtable.boost::io::too_few_args.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], edi
lea edi, [esi + 0x14]
add ebx, 0x14
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x407d63
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.0
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
push ebx
push edi
mov dword [eax + esi + 0x24], ecx
call fcn.00401890
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421cec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x28], 0x426a20
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [ebp - 4], eax
mov edi, 1
push ebx
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.0040f296
mov dword [esi], vtable.boost::io::too_few_args.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], edi
lea edi, [esi + 0x14]
add ebx, 0x14
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x4088b3
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.0
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
push ebx
push edi
mov dword [eax + esi + 0x24], ecx
call fcn.00401890
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4098e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421c2c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x28], 0x426a20
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [ebp - 4], eax
mov edi, 1
push ebx
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.0040f296
mov dword [esi], vtable.boost::io::too_many_args.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], edi
lea edi, [esi + 0x14]
add ebx, 0x14
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x409963
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.0
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
push ebx
push edi
mov dword [eax + esi + 0x24], ecx
call fcn.00401890
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421c2c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi + 0x28], 0x426a20
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [ebp - 4], eax
mov edi, 1
push ebx
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.0040f296
mov dword [esi], vtable.boost::io::too_many_args.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], edi
lea edi, [esi + 0x14]
add ebx, 0x14
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x40b6d3
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebx + 8]
mov dword [edi + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.0
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
push ebx
push edi
mov dword [eax + esi + 0x24], ecx
call fcn.00401890
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f0ef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b724]
jne 0x40f0f9
repz ret
jmp fcn.00413a5f

Function at 0x41cb5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b724]
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.00414b14
and dword [ebp - 0x14], 0
cmp dword [0x42e560], 0
mov dword [ebp - 0x18], eax
jne 0x41cc0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ccb7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ccb7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42e560], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42e564], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42e568], eax
call edi
push eax
call esi
mov dword [0x42e570], eax
test eax, eax
je 0x41cc0f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42e56c], eax
mov eax, dword [0x42e56c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41cc68
cmp dword [0x42e570], ecx
je 0x41cc68
push eax
call esi
push dword [0x42e570]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41cc68
test ebx, ebx
je 0x41cc68
call edi
test eax, eax
je 0x41cc5f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41cc5f
test byte [ebp - 8], 1
jne 0x41cc68
or dword [ebp + 0x10], 0x200000
jmp 0x41cc9b
mov eax, dword [0x42e564]
cmp eax, dword [ebp - 0x18]
je 0x41cc9b
push eax
call esi
test eax, eax
je 0x41cc9b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41cc9b
mov eax, dword [0x42e568]
cmp eax, dword [ebp - 0x18]
je 0x41cc9b
push eax
call esi
test eax, eax
je 0x41cc9b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42e560]
call esi
test eax, eax
je 0x41ccb7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ccb9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f0ef
leave
ret
Function at 0x403015
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x403024
pop dword [ebp - 0x20]
mov eax, 0x90a1d30d
add eax, 0x6f9e5d17
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x9b03e697
sub dword [ebp - 0x30], 0x4cb1a14c
mov dword [ebp - 0x2c], 0x7176452
add dword [ebp - 0x2c], 0x2b1be7f3
mov dword [ebp - 0x28], 0x76310da4
add dword [ebp - 0x28], 0xd61b368a
mov dword [ebp - 0x24], 0x5f8e921e
sub dword [ebp - 0x24], 0x5f8e921e
lea eax, [ebp - 0x30]
push eax
mov eax, 0xba2779c0
add eax, 0x461906b8
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x1acfd23f
add dword [ebp - 0x30], 0x59a29717
mov dword [ebp - 0x2c], 0x602cdd65
add dword [ebp - 0x2c], 0xe13f8410
mov dword [ebp - 0x28], 0x5ec22519
sub dword [ebp - 0x28], 0xfb52b8ad
mov dword [ebp - 0x24], 0x5715d33b
add dword [ebp - 0x24], 0xa8ea2cc5
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xe948f34a
sub eax, 0xe90872ce
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x394fc
push 0
call eax
mov ecx, 0x5118
xor ebx, ebx
add ebx, eax
mov esi, 0x451400
add esi, dword [ebp - 0x20]
mov edx, 0x3cb907a3
sub edx, 0x9042747e
sub dword [ebp - 0xc], eax
mov edi, dword [esi]
xor dword [ebp - 0x14], edx
sub edi, edx
sub dword [ebp - 0x1c], 0x8ed3744e
mov dword [ebx], edi
xor dword [ebp - 0x18], edi
add ebx, 4
add esi, 0xee835e91
sub esi, 0xee835e8d
loop 0x40313c
add eax, 0x13733
xor ebx, ebx
add ebx, eax
add eax, 0x3960d657
add eax, 0xc69f29ae
mov ecx, 0x63a2cd33
sub ecx, 0x6362cd33
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1003aaa0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
push 0x100000
lea eax, [esp + 0xc]
mov dword [esp + 4], 0xffffffff
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0xc
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
je 0x1003ab3a
mov eax, dword [esp]
cdq
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cdq
mov dword [esp + 0x24], eax
mov eax, dword [edi]
push 2
mov dword [esp + 0x2c], edx
push edi
mov eax, dword [eax + 0x2d0]
call eax
mov esi, eax
test esi, esi
je 0x1003ab32
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push 2
push 0
mov eax, dword [eax + 0x350]
push esi
push edi
call eax
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret 8
xor eax, eax
add esp, 0x24
ret 8

Function at 0x1003abd0
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
push dword [esp + 0x1c]
push edi
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
call eax
mov ecx, dword [edi]
mov ebx, eax
push dword [esp + 0x1c]
push edi
mov ecx, dword [ecx + 0x39c]
call ecx
mov dword [esp + 0xc], 0
test ebx, ebx
jne 0x1003ac0a
pop edi
or eax, 0xffffffff
pop ebx
ret 0x14
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
push dword [esp + 0x24]
call dword [sym.imp.kernel32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
test eax, eax
mov edx, 0xfffffffe
cmove ecx, edx
pop edi
mov eax, ecx
pop ebx
ret 0x14

Function at 0x1003ac40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x398]
call eax
mov dword [esp + 4], 0
test eax, eax
jne 0x1003ac65
or eax, 0xffffffff
ret 0x18
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x1003ac75
lea eax, [esi - 2]
pop esi
ret 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x1003ac95
mov eax, 0xfffffffd
pop esi
ret 0x18
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_FlushFileBuffers]
xor eax, eax
mov ecx, 0xfffffffc
cmp esi, dword [esp + 8]
pop esi
cmovne eax, ecx
ret 0x18

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219