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

Disassembly:
push 0xffffffffffffffff
push 0x24bc2aef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.24b93ce0
push 0x24bc8d50
mov dword [esp + 0x98], 0
call fcn.24b8ef30
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esi + 8]
push eax
push 1
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x24bda190]
mov dword [esp + 0x28], 0xb
call fcn.24bb35d0
push 0
mov ecx, eax
mov byte [esp + 0x98], 1
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
push eax
call fcn.24b8ef30
add esp, 4
push eax
lea ecx, [esp + 0x14]
call fcn.24b93e00
lea ecx, [esp + 8]
mov byte [esp + 0x94], 0
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
mov edi, dword [esp + 0x9c]
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call fcn.24bb0c90
lea ecx, [esp + 0x2c]
call fcn.24b93ce0
push str.UseDSNProperties
mov byte [esp + 0x98], 2
call fcn.24b8ef30
add esp, 4
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 8
call fcn.24b93ec0
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.24bb0c90
lea ecx, [esp + 0x6c]
call fcn.24b93ce0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
mov byte [esp + 0x98], 3
call fcn.24ba9d00
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call fcn.24bb0c90
lea ecx, [esp + 0x4c]
call fcn.24b93ce0
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0x98], 4
call fcn.24baa960
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.24bb0c90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 3
call fcn.24b93fd0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 2
call fcn.24b93fd0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0
call fcn.24b93fd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x94], 0xffffffff
call fcn.24b93fd0
mov ecx, dword [esp + 0x8c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x90
ret 4
Function at 0x24bb04b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x24bc326b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 4]
lea ecx, [esp + 0x10]
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_void_]
mov eax, 2
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x28], al
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
xor ebp, ebp
call fcn.24bb0160
cmp dword [esp + 0x14], 1
jne 0x24bb053d
mov ebp, 1
push 0
push 0x24bc949c
mov ecx, edi
call fcn.24bb1160
mov esi, eax
test esi, esi
je 0x24bb0563
lea ecx, [esp + 0x10]
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
push eax
mov ecx, esi
call fcn.24b93ea0
push 0
push 0x24bc9478
mov ecx, edi
call fcn.24bb1160
mov esi, eax
test esi, esi
je 0x24bb0589
lea ecx, [esp + 0xc]
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
push eax
mov ecx, esi
call fcn.24b93ea0
push 0
push 0x24bc9488
mov ecx, edi
call fcn.24bb1160
mov esi, eax
test esi, esi
je 0x24bb05af
lea ecx, [esp + 0x2c]
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
push eax
mov ecx, esi
call fcn.24b93ea0
push 0
push 0x24bc94ac
mov ecx, edi
call fcn.24bb1160
test eax, eax
je 0x24bb05ce
test ebp, ebp
setne cl
push ecx
mov ecx, eax
call fcn.24b93ec0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x24bb2b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x24bc35e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_class_CXLib301::SWCharString_const__]
mov ecx, dword [esp + 0x20]
push ecx
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x18], ebx
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_class_CXLib301::SWCharString_const__]
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 1
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_class_CXLib301::SWCharString_const__]
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x24bb3690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x24bc3754
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_unsigned_short_int_const__]
lea eax, [esp + 0xc]
push eax
push 0x25
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [0x24bda190]
mov dword [esp + 0x2c], 0
call fcn.24bb35d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.cxlibw_3_1.dll_public:_static_bool___cdecl_CXLib301::NeutralString::ToNumber_class_CXLib301::SWCharString_const___long_int__]
mov eax, dword [esp + 0x10]
add esp, 8
test eax, eax
jle 0x24bb3716
lea ecx, [edi + 0x58]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.cxlibw_3_1.dll_public:_static_bool___cdecl_CXLib301::NeutralString::ToNumber_class_CXLib301::SWCharString_const___long_int__]
add esp, 8
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_unsigned_short_int_const__]
lea eax, [esp + 0x10]
push eax
push 0x24
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x24bda190]
mov byte [esp + 0x2c], 3
call fcn.24bb35d0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SWCharString____thiscall_CXLib301::SWCharString::operator_class_CXLib301::SWCharString_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 3
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.cxlibw_3_1.dll_public:_static_bool___cdecl_CXLib301::NeutralString::ToNumber_class_CXLib301::SWCharString_const___long_int__]
mov eax, dword [esp + 0x10]
add esp, 8
test eax, eax
jle 0x24bb3789
mov dword [edi + 0x54], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x24bb5d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x20]
test esi, esi
push edi
mov edi, ecx
je 0x24bb5f57
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx]
push ebx
push ebp
push esi
call dword [eax + 0x78]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x10], vtable.CRConvertor.0
mov edx, dword [ecx]
push esi
call dword [edx + 0xc0]
mov ebp, dword [esp + 0x30]
mov ebx, eax
cmp dword [ebp + 4], 1
jne 0x24bb5e54
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x24bb5e47
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x24bb5e47
push ebx
lea edx, [esp + 0x34]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x44], 0
call fcn.24b92050
add esp, 0x14
test eax, eax
je 0x24bb5e27
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x3c], 0x40
call fcn.24ba6ae0
add esp, 8
push 0x24bcf3b0
lea edx, [esp + 0x18]
push edx
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [esp + 0x30]
push 1
push eax
push ebx
mov ecx, ebp
call fcn.24b95d50
mov ecx, dword [esp + 0x30]
push ebx
push ecx
mov dword [ebp + 8], ebx
call fcn.24b921c0
add esp, 8
cmp dword [ebp + 4], 1
jne 0x24bb5e54
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x24bb5e5f
lea ebx, [esi + 0x30]
mov dword [ebx], 0xffffffff
jmp 0x24bb5e8f
mov ax, word [esi + 0xa]
cmp ax, 1
je 0x24bb5e86
cmp ax, 0xc
je 0x24bb5e86
cmp ax, 0xfff8
je 0x24bb5e86
cmp ax, 0xfff7
je 0x24bb5e86
lea ebx, [esi + 0x30]
mov dword [ebx], 0
jmp 0x24bb5e8f
lea ebx, [esi + 0x30]
mov dword [ebx], 0xfffffffd
push esi
lea edx, [esp + 0x30]
push edx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.24b89960
test eax, eax
je 0x24bb5eba
lea eax, [esp + 0x2c]
push eax
lea ecx, [edi + 0x74]
call fcn.24bb4660
jmp 0x24bb5ed1
cmp dword [ebp + 4], 1
jne 0x24bb5ec9
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
jmp 0x24bb5ed1
mov dword [esp + 0x2c], 0
mov ecx, dword [edi + 0x4c]
mov edx, dword [ecx]
push esi
call dword [edx + 0xc0]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [edi + 0x84]
call fcn.24bb4b10
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push ebx
push 0
push eax
mov eax, dword [esi + 0x24]
push 0
push eax
xor eax, eax
mov ax, word [esi + 0xa]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx]
push eax
xor eax, eax
mov ax, word [esi + 0x20]
push eax
mov eax, dword [esp + 0x48]
movzx eax, word [eax]
inc ax
push 1
push eax
mov eax, dword [edi + 8]
push eax
call dword [edx + 0x4c]
and eax, 0xfffffffe
test ax, ax
je 0x24bb5f55
push 0
push 0
push 0
push 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.24bb4dc0
push 0x24bcf3b0
lea edx, [esp + 0x18]
push edx
call sub.MSVCR71.dll__CxxThrowException
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x24bbb9d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x24bc42a9
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
sub edi, ebx
sub ecx, ebx
sar edi, 2
sar ecx, 2
test edi, edi
mov eax, ecx
mov esi, edi
je 0x24bbba1b
lea esp, [esp]
cdq
idiv esi
mov eax, esi
test edx, edx
mov esi, edx
jne 0x24bbba10
cmp eax, ecx
jge 0x24bbbad7
test eax, eax
jle 0x24bbbad7
lea ebx, [ebx + eax*4]
mov dword [esp + 0xc], eax
push ebp
push ebx
lea ecx, [esp + 0x38]
mov ebp, ebx
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_class_CXLib301::SWCharString_const__]
mov ecx, dword [esp + 0x38]
lea eax, [ebx + edi*4]
cmp eax, ecx
mov dword [esp + 0x28], 0
jne 0x24bbba59
lea eax, [esp + 0x30]
jmp 0x24bbba61
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov esi, dword [eax]
cmp esi, ebx
je 0x24bbbaa5
push esi
mov ecx, ebp
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SWCharString____thiscall_CXLib301::SWCharString::operator_class_CXLib301::SWCharString_const__]
mov eax, dword [esp + 0x38]
sub eax, esi
sar eax, 2
cmp edi, eax
mov ebp, esi
jge 0x24bbba8c
lea eax, [esi + edi*4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jmp 0x24bbba9f
mov edx, dword [esp + 0x30]
mov ecx, edi
sub ecx, eax
lea eax, [edx + ecx*4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov esi, dword [eax]
cmp esi, ebx
jne 0x24bbba67
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call dword [sym.imp.cxlibw_3_1.dll_public:_class_CXLib301::SWCharString____thiscall_CXLib301::SWCharString::operator_class_CXLib301::SWCharString_const__]
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
mov eax, dword [esp + 0x10]
sub ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x24bbba33
pop ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x24bbc2c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x24bc430a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x14], vtable.CXLib301::SIArray_class_CXLib301::SWCharString_.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 0x24bc6a44
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_unsigned_short_int_const__]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::constructor_unsigned_short_int_const__]
push ebx
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x44], 2
call dword [sym.imp.cxlibw_3_1.dll_public:_static_void___cdecl_CXLib301::SStringHelper::makeWords_class_CXLib301::SWCharString_const___class_CXLib301::SIArray_class_CXLib301::SWCharString____class_CXLib301::SWCharString_const___bool__bool_]
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call dword [sym.imp.cxlibw_3_1.dll_public:_void___thiscall_CXLib301::SWCharString::destructor_void_]
mov ecx, dword [esp + 0x1c]
call dword [sym.imp.cxlibw_3_1.dll_public:_unsigned_short_int_const____thiscall_CXLib301::SString_t_unsigned_short_int__1_::operator_unsigned_short_int_const__void_const]
push eax
call fcn.24b8ef30
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
add eax, 4
push edx
push eax
call dword [sym.imp.cxlibw_3_1.dll_public:_static_bool___cdecl_CXLib301::NeutralString::ToNumber_class_CXLib301::SWCharString_const___unsigned_long_int__]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [eax + 8], ecx
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.24b88b80
mov ecx, dword [esp + 0x28]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x24bbe757
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x24bda118]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.24bbe727
mov eax, 0x24b80000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x24bbe7b9
cmp dword [ebp - 0x1c], 5
jb 0x24bbe7d1
jmp 0x24bbe7cd
cmp dword [ebp - 0x10], 1
jne 0x24bbe7d1
cmp dword [ebp - 0x1c], 4
ja 0x24bbe7cd
jne 0x24bbe7d1
cmp dword [ebp - 0x18], 0
jbe 0x24bbe7d1
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x24bccfec
call fcn.24b81020
test eax, eax
jge 0x24bbe7f2
mov byte [0x24bda124], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.24bbdf29
add ebp, 0x78
leave
ret
Function at 0x1029adb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102b92c0], 0
mov byte [0x102b92c4], 0
mov edi, dword [0x102b92b8]
add edi, 0x1248
mov dword [0x102b92b4], edi
mov dword [0x102b92bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102b92b4], 0xa1e
mov eax, dword [0x102b92bc]
add eax, 1
mov dword [0x102b92bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1029adfd
xor eax, eax
mov ecx, dword [0x102b92b8]
add ecx, 0x101c
mov dword [0x102b92b4], ecx
mov dword [0x102b92bc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102b92c8], 0
mov dword [0x102b92b4], 0x1dfc
mov edx, dword [0x102b92c0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x102b92c8], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x102b92c0], edx
mov dword [0x102b92b4], 0x3326
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102b92c4], cl
mov dword [0x102b92b4], 0x118d
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102b92c4]
mov edx, dword [0x102b92c0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x102b92b4], 0x24c0
mov edx, dword [0x102b92bc]
add edx, 1
mov dword [0x102b92bc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1029ae4e
mov dword [0x102b92b4], 0x23eb
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1029b410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
mov dword [0x102b92b4], 0x1c34
mov dword [0x102b92b8], 0x1ed1
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1029af20
lea ecx, [0x1029b780]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], 0x155200
mov edx, dword [0x102b92a0]
mov dword [esp + 0x58], edx
mov edx, dword [0x102b92a4]
mov dword [esp + 0x74], edx
mov edx, dword [0x102b92a8]
mov dword [esp + 0x2c], edx
mov edx, dword [0x102b92ac]
mov dword [esp + 0x28], edx
mov edx, dword [0x102b92b0]
mov dword [esp + 0x7c], edx
mov dword [0x102b92b4], 0x2ba
mov dword [0x102b92b8], 0xffffe8fe
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1029b4ca
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x1029b4f7
jmp 0x1029b4d9
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x1029b4b0
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x102b92b4], 0xfffff2fa
mov dword [esp + 0x1c], eax
jmp 0x1029b4ca
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [0x102b92b8], 0x1c0b
mov dword [0x102b92b4], 0x81b
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], eax
call fcn.1029b600
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1029b577
mov eax, dword [0x102b92b4]
add eax, 0xffffe20a
mov dword [0x102b92b8], eax
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1029c2c0
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102b92b8], 0x1693
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1029b600
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [0x102b92b4], 0x9d2
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102b92b4], 0x2420
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1029b6e2
mov dword [0x102b92b4], 0x23ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1029b6ac
jmp 0x1029b698
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1029b698
mov eax, dword [0x102b92b8]
add eax, 0x1815
mov dword [0x102b92b8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x1029b6cb
jmp 0x1029b698
mov dword [0x102b92b8], 0x18b8
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1029b773
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff6
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x64
je 0x1029b751
jmp 0x1029b698
mov eax, 1
mov dword [0x102b92b4], 0x263b
mov dword [ebp - 0x1c], eax
jmp 0x1029b773
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1029b719
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [0x102b92b8], 0xffffe35a
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], eax
jl 0x1029b6e2
mov eax, dword [ebp - 0x28]
mov dword [0x102b92b4], 0x568
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1029b698
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1029b643
jmp 0x1029b698
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x64
je 0x1029b65e
jmp 0x1029b698
mov eax, dword [ebp - 0x1c]
add esp, 0x2c
pop ebp
ret