Function at 0x10045150
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100599ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.10010300
mov dl, byte [esp + 0x30]
lea edi, [esi + 0x90]
mov dword [esi + 0x8c], 0x1005d7c8
push 0
lea ecx, [edi + 0x38]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], edi
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [esp + 0x30]
lea ecx, [edi + 0x48]
push eax
mov byte [esp + 0x28], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea ecx, [edi + 0x58]
mov byte [esp + 0x24], 2
call fcn.1000f010
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 3
push ecx
lea ecx, [edi + 0x84]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea edx, [esp + 0x11]
lea ecx, [edi + 0x94]
push edx
mov byte [esp + 0x28], 4
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea eax, [esp + 0x12]
lea ecx, [edi + 0xac]
push eax
mov byte [esp + 0x28], 5
call fcn.10033500
lea ecx, [esp + 0x13]
mov byte [esp + 0x24], 6
push ecx
lea ecx, [edi + 0xbc]
call fcn.10033500
mov dl, byte [esp + 0x30]
mov al, byte [esp + 0x30]
lea ebp, [esi + 0x15c]
mov byte [esp + 0x24], 7
mov ecx, ebp
mov byte [ebp], dl
mov byte [ebp + 1], al
mov byte [ebp + 8], 0
call fcn.1004b460
mov cl, byte [esp + 0x30]
mov dl, byte [esp + 0x30]
lea edi, [esi + 0x16c]
mov byte [esp + 0x24], 8
mov byte [edi], cl
mov ecx, edi
mov byte [edi + 1], dl
mov byte [edi + 8], 0
call fcn.1004b8d0
mov al, byte [esp + 0x30]
lea ecx, [esi + 0x17c]
mov byte [esp + 0x24], 9
mov byte [ecx], al
mov dl, byte [esp + 0x30]
mov byte [ecx + 8], 0
mov byte [ecx + 1], dl
call fcn.10040c70
mov al, byte [esp + 0x30]
lea ebx, [esi + 0x18c]
mov byte [ebx], al
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
lea ecx, [esi + 0x1a4]
mov byte [esp + 0x24], 0xb
call fcn.1000f010
lea ecx, [esi + 0x1d0]
mov byte [esp + 0x24], 0xc
call fcn.1000f010
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x24], 0xd
call fcn.1000f010
lea ecx, [esi + 0x228]
mov byte [esp + 0x24], 0xe
call fcn.1000f010
lea ecx, [esi + 0x25c]
mov byte [esp + 0x24], 0xf
call fcn.1000f010
lea ecx, [esi + 0x288]
mov byte [esp + 0x24], 0x10
call fcn.1000f010
lea ecx, [esi + 0x2d8]
push 0
mov byte [esp + 0x28], 0x11
call fcn.1000b164
lea ecx, [esi + 0x2e0]
mov dword [esi + 0x2d8], 0x1005b674
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov dword [esi], 0x1005d710
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0x90], eax
or eax, 0xffffffff
mov dword [esi + 0x8c], 0x1005d610
mov dword [esi + 0xac], 1
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov ecx, dword [esi + 0x140]
mov eax, dword [esi + 0x144]
push ecx
push eax
push eax
mov byte [esp + 0x30], 0x12
call fcn.10033580
mov edx, dword [esi + 0x144]
lea ecx, [esi + 0x13c]
add esp, 0xc
mov dword [esp + 0x30], eax
push edx
push eax
call fcn.1004a140
mov eax, dword [esp + 0x30]
mov dword [esi + 0x144], eax
mov ecx, dword [esi + 0x150]
mov eax, dword [esi + 0x154]
push ecx
push eax
push eax
call fcn.10033580
add esp, 0xc
mov edx, dword [esi + 0x154]
lea ecx, [esi + 0x14c]
push edx
push eax
mov dword [esp + 0x38], eax
call fcn.1004a140
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
mov dword [esi + 0x154], eax
mov eax, dword [ebp + 4]
push eax
push ecx
mov ecx, ebp
call fcn.10051910
mov edx, dword [eax]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, ebp
call fcn.1004a7c0
mov eax, dword [edi + 4]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.10051910
mov edx, dword [eax]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, edi
call fcn.1004af80
mov eax, dword [esi + 0x180]
lea ecx, [esi + 0x17c]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0x38]
push edx
call fcn.100402f0
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.1004a100
xor edi, edi
or eax, 0xffffffff
push edi
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x19c], eax
mov dword [esi + 0x254], edi
mov dword [esi + 0x258], edi
mov dword [esi + 0x2b4], 0x1e
mov dword [esi + 0x2bc], 0x32
mov dword [esi + 0x2b8], 0x64
mov dword [esi + 0x2c0], edi
mov dword [esi + 0x2c8], edi
mov dword [esi + 0x2c4], 5
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x2d0], eax
mov dword [esi + 0x2d4], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8