joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f82b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x24], 0
call dword [sym.imp.dvacore.dll_public:_void___thiscall_dvacore::filesupport::File::constructor_void_]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 1
call dword [sym.imp.dvacore.dll__GetVariantInObject_serialization_dvacore__YA_AV__shared_ptr_Vany_boost___boost__ABV__map_V__basic_string_EU__]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 1
test eax, eax
je 0x450404
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0044eb90
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x28], 2
call dword [sym.imp.dvacore.dll_public:_class_dvacore::filesupport::File____thiscall_dvacore::filesupport::File::operator_class_dvacore::filesupport::File_const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call dword [sym.imp.dvacore.dll_public:_void___thiscall_dvacore::filesupport::File::destructor_void_]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x24], 0
test esi, esi
je 0x45043b
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45043b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45043b
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x451590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46fc88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x20]
lea eax, [edi + 8]
push eax
sub esp, 0xa0
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0xcc]
lea esi, [eax + 8]
mov dword [esp + 0xb0], esp
lea eax, [esp + 0xd4]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xb4], esi
mov dword [esi], edx
call dword [sym.imp.dvamarshal.dll_public:_void___thiscall_dvamarshal::Responder::constructor_class_dvamarshal::Responder_const__]
mov ecx, dword [esp + 0x134]
mov dword [esi + 0x68], ecx
mov edx, dword [esp + 0x138]
mov dword [esi + 0x6c], edx
mov eax, dword [esp + 0x13c]
mov dword [esi + 0x70], eax
mov ecx, dword [esp + 0x140]
mov dword [esi + 0x74], ecx
lea edx, [esp + 0x144]
lea ecx, [esi + 0x78]
push edx
mov byte [esp + 0xc0], 1
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int___const__]
mov ecx, 0x478510
mov byte [esp + 0xbc], 0
call fcn.0044d7a0
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x478510
lea ecx, [esp + 0x28]
mov dword [edi], eax
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x18], 2
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::destructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.dvamarshal.dll_public:_void___thiscall_dvamarshal::Responder::destructor_void_]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xa0
Function at 0x452db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470228
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x20]
sub esp, 0xa0
mov eax, esp
lea esi, [eax + 8]
mov dword [edi], 0
mov dword [eax], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xac], esp
lea eax, [esp + 0xd0]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb0], esi
mov dword [esi], edx
call dword [sym.imp.dvamarshal.dll_public:_void___thiscall_dvamarshal::Responder::constructor_class_dvamarshal::Responder_const__]
mov ecx, dword [esp + 0x130]
mov dword [esi + 0x68], ecx
mov edx, dword [esp + 0x134]
mov dword [esi + 0x6c], edx
mov eax, dword [esp + 0x138]
mov dword [esi + 0x70], eax
mov ecx, dword [esp + 0x13c]
mov dword [esi + 0x74], ecx
lea edx, [esp + 0x140]
lea ecx, [esi + 0x78]
push edx
mov byte [esp + 0xbc], 1
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int___const__]
mov ecx, edi
mov byte [esp + 0xb8], 0
call fcn.00451590
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x18], 2
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::destructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.dvamarshal.dll_public:_void___thiscall_dvamarshal::Responder::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xa4
Function at 0x4541b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4706b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x20]
push 0
sub esp, 0xa0
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0xcc]
lea esi, [eax + 8]
mov dword [esp + 0xb0], esp
lea eax, [esp + 0xd4]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xb4], esi
mov dword [esi], edx
call dword [sym.imp.dvamarshal.dll_public:_void___thiscall_dvamarshal::Responder::constructor_class_dvamarshal::Responder_const__]
mov ecx, dword [esp + 0x134]
mov dword [esi + 0x68], ecx
mov edx, dword [esp + 0x138]
mov dword [esi + 0x6c], edx
mov eax, dword [esp + 0x13c]
mov dword [esi + 0x70], eax
mov ecx, dword [esp + 0x140]
mov dword [esi + 0x74], ecx
lea edx, [esp + 0x144]
lea ecx, [esi + 0x78]
push edx
mov byte [esp + 0xc0], 1
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int___const__]
mov ecx, edi
mov byte [esp + 0xbc], 0
call fcn.00452db0
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x18], 2
call dword [sym.imp.dvacore.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_dvacore::utility::SmallBlockAllocator::STLAllocator_unsigned_short_int__::destructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.dvamarshal.dll_public:_void___thiscall_dvamarshal::Responder::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xa4
Function at 0x455df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470ef9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
sub esp, 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
mov dword [esp + 0x44], 1
call fcn.0044ce70
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push edx
push ecx
mov ecx, dword [esp + 0x5c]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esp
call fcn.00454340
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi], edx
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 4], ecx
lea ecx, [esi + 8]
push eax
mov byte [esp + 0x34], 2
call fcn.0044ce70
lea edx, [esp + 0x18]
mov dword [esp + 0xc], 1
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
mov ecx, edx
mov byte [esp + 0x3c], 3
call fcn.0040b440
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void___unsigned_int_]
push 0x20
push ecx
mov byte [esp + 0x38], 1
call edi
add esp, 8
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], 4
call fcn.0040b440
mov eax, dword [esp + 0x50]
push 0x20
push eax
mov byte [esp + 0x38], 0
call edi
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x456790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x471121
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov byte [esp + 0x10], 1
test eax, eax
je 0x4567e4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea ecx, [eax + 8]
lea eax, [esp + 0x20]
push eax
call fcn.0044ce70
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 2
call fcn.0040b440
mov eax, dword [esp + 0x24]
push 0x20
push eax
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void___unsigned_int_]
add esp, 8
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 0x20
Function at 0x458000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4716d5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea edi, [esi + 8]
mov ecx, edi
mov dword [esi], vtable.processcoordination::ServerImpl.0
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base12::constructor_void_]
xor ebp, ebp
push 8
mov dword [esp + 0x38], ebp
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x458151
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x20], ebp
mov edi, dword [sym.imp.dvacore.dll_void____cdecl_dvacore::utility::SmallBlockAllocator::Allocate_unsigned_int_]
mov ebx, 1
push 0x30
mov dword [esp + 0x38], ebx
mov dword [esi + 0x38], ebp
call edi
mov dword [esi + 0x34], eax
mov dword [eax], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x34]
mov byte [ecx + 0x28], bl
mov edx, dword [esi + 0x34]
mov byte [edx + 0x29], bl
push 0x28
mov byte [esp + 0x3c], 2
mov dword [esi + 0x48], ebp
call edi
mov dword [esi + 0x44], eax
mov dword [eax], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x44]
mov byte [eax + 0x24], bl
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x25], bl
push 0x34
mov byte [esp + 0x40], 3
mov dword [esi + 0x58], ebp
call edi
mov dword [esi + 0x54], eax
mov dword [eax], eax
mov eax, dword [esi + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x54]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x54]
mov byte [edx + 0x30], bl
mov eax, dword [esi + 0x54]
mov byte [eax + 0x31], bl
push 0x28
mov byte [esp + 0x44], 4
mov dword [esi + 0x68], ebp
call edi
mov dword [esi + 0x64], eax
mov dword [eax], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x64]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x64]
mov byte [ecx + 0x20], bl
mov edx, dword [esi + 0x64]
mov byte [edx + 0x21], bl
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], ebp
add esp, 0x10
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ebp
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebp
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x47c858
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x4587d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471888
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x18], 0
call fcn.0041c230
add esp, 4
test al, al
jne 0x45889c
mov edx, dword [esp + 0x34]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
lea ecx, [eax + 8]
lea eax, [esp + 0x44]
mov dword [esp + 0x54], esp
push eax
call fcn.0044ce70
mov ecx, esi
call fcn.00456790
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 1
call fcn.0040b440
mov eax, dword [esp + 0x28]
push 0x20
push eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void___unsigned_int_]
add esp, 8
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x20
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 2
call fcn.0040b440
mov eax, dword [esp + 0x28]
push 0x20
push eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.dvacore.dll_void___cdecl_dvacore::utility::SmallBlockAllocator::Dispose_void___unsigned_int_]
add esp, 8
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x20
Function at 0x4625f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4735a1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x495aa0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xc], bl
mov eax, dword [esp + 0xc]
push eax
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x1c], bl
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x2c], bl
mov ecx, dword [esp + 0x2c]
push ecx
sub esp, 0x10
mov dword [esp + 0x40], esp
mov ecx, esp
push edx
call fcn.00451b50
lea eax, [esp + 0x30]
push eax
call fcn.00462120
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x34]
push ecx
push edx
push esi
mov dword [esp + 0x60], 1
call dword [sym.imp.dvacore.dll_class_boost::shared_ptr_class_boost::any____cdecl_dvacore::serialization::BuildCall_char_const___class_boost::any_const__]
add esp, 0x34
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], 1
mov byte [esp + 0x2c], bl
cmp ecx, ebx
je 0x4626a1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x10001ca4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d060]
jne 0x10001cae
repz ret
jmp fcn.10002393

Function at 0x10006b95
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10002cb3
and dword [ebp - 4], 0
cmp dword [0x1000ea4c], 0
mov ebx, eax
jne 0x10006c46
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10006cf7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10006cf7
push eax
call fcn.10002c41
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000ea4c], eax
call esi
push eax
call fcn.10002c41
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000ea50], eax
call esi
push eax
call fcn.10002c41
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000ea54], eax
call esi
push eax
call fcn.10002c41
pop ecx
mov dword [0x1000ea5c], eax
test eax, eax
je 0x10006c46
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002c41
pop ecx
mov dword [0x1000ea58], eax
mov eax, dword [0x1000ea58]
cmp eax, ebx
je 0x10006c9e
cmp dword [0x1000ea5c], ebx
je 0x10006c9e
push eax
call fcn.10002cbc
push dword [0x1000ea5c]
mov esi, eax
call fcn.10002cbc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10006c9e
test edi, edi
je 0x10006c9e
call esi
test eax, eax
je 0x10006c95
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10006c95
test byte [ebp - 0xc], 1
jne 0x10006c9e
or dword [ebp + 0x10], 0x200000
jmp 0x10006cd7
mov eax, dword [0x1000ea50]
cmp eax, ebx
je 0x10006cd7
push eax
call fcn.10002cbc
pop ecx
test eax, eax
je 0x10006cd7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10006cd7
mov eax, dword [0x1000ea54]
cmp eax, ebx
je 0x10006cd7
push eax
call fcn.10002cbc
pop ecx
test eax, eax
je 0x10006cd7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000ea4c]
call fcn.10002cbc
pop ecx
test eax, eax
je 0x10006cf7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10006cf9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401c40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._fwrite
add esp, 0x1c
ret

Function at 0x402720
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
or eax, 0xffffffff
cmp dword [edx + 0xc], 0xf34b963c
je 0x402740
add esp, 0x1c
ret
mov eax, dword [edx]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._fread
add esp, 0x1c
ret