Function at 0x10095330
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009f875
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x10112018]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
test byte [0x10116218], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
jne 0x100953ce
or dword [0x10116218], 1
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esp + 0x3c]
mov dword [0x10116214], edi
jmp 0x100953d4
mov edi, dword [0x10116214]
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor esi, esi
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x10095447
cmp esi, 0x40
jge 0x10095447
cmp eax, dword [esp + 0x10]
jae 0x10095451
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
sub eax, edx
cmp eax, edi
jae 0x10095426
mov eax, dword [ecx + 0x20]
mov ebx, dword [eax + 8]
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 0x14]
mov eax, ebx
sub eax, edx
sub eax, ebx
add eax, dword [esp + 0x2c]
cmp eax, edi
jb 0x1009546c
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
cmp eax, edi
ja 0x1009546c
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x14]
add dword [esp + 0x14], edi
add eax, edx
cdq
mov dword [esp + esi*8 + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + esi*8 + 0x60], edx
mov ecx, dword [ecx + 0x10]
inc esi
test ecx, ecx
jne 0x100953e4
cmp dword [esp + 0x10], eax
jbe 0x10095451
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0xffffffff
jbe 0x100954cd
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0x22
or eax, 0xffffffff
jmp 0x10095636
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x10095482
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.ACE_WIN32_Asynch_Write_File::writev:Invalid_message_block_length_n
push 0x80
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.WIN32_Asynch_IO.cpp
mov dword [eax + 0x144], 0x6db
mov dword [eax + 0x148], 0xffffffff
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0xc
or eax, 0xffffffff
jmp 0x10095636
xor eax, eax
push 0x10115520
push 0x5c
mov dword [esp + esi*8 + 0x64], eax
mov dword [esp + esi*8 + 0x68], eax
call fcn.1009ae46
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
xor edi, edi
mov dword [esp + 0x278], edi
cmp esi, edi
je 0x1009553e
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx - 0x2c]
mov eax, dword [esp + 0x34]
push 1
push 1
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [ebx - 0x1c]
push ecx
push edx
push eax
add ebx, 0xffffffdc
push ebx
mov ecx, esi
call sym.ACE.dll_protected:_void___thiscall_ACE_WIN32_Asynch_Write_File_Result::constructor_class_ACE_Refcounted_Auto_Ptr_class_ACE_Handler::Proxy__class_ACE_Thread_Mutex__const___void___class_ACE_Message_Block___unsigned_int__void_const___unsigned_long_int__unsigned_long_int__void___int__int__int_
mov esi, eax
jmp 0x10095540
xor esi, esi
mov dword [esp + 0x278], 0xffffffff
cmp esi, edi
jne 0x10095563
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0xc
or eax, 0xffffffff
jmp 0x10095636
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x10]
push esi
mov dword [esi + 0x30], edi
mov edx, dword [ecx + 8]
lea ecx, [edx + esi + 0x14]
push edi
push eax
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
mov edx, dword [eax + 8]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFileGather]
test eax, eax
je 0x10095598
mov eax, 1
jmp 0x10095636
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, dword [sym.imp.MSVCR100.dll__errno]
mov dword [esp + 0x18], eax
call ebx
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
call ebx
cmp dword [eax], 0x3e5
je 0x10095634
call sym.ACE.dll_bool___cdecl_ACE::debug_void_
test al, al
je 0x1009561b
call edi
mov edi, eax
call ebx
mov eax, dword [eax]
test eax, eax
je 0x100955d3
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push 0x100acf9c
push 0x100a50fc
push 0x80
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.WIN32_Asynch_IO.cpp
mov dword [eax + 0x144], 0x71d
mov dword [eax + 0x148], 0
mov dword [eax + 0x14c], edi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 4]
mov edx, dword [eax + esi + 0x14]
lea ecx, [eax + esi + 0x14]
mov eax, dword [edx]
push 1
call eax
or eax, 0xffffffff
jmp 0x10095636
xor eax, eax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret 0x1c