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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4523c8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x46f124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x78], 0
mov dword [esi], 0x465afc
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xa0], esi
mov dword [esi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov eax, dword [esi]
push 0
push edi
mov dword [ebp - 0x78], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00407460
mov dword [ebp - 4], 2
mov eax, dword [esi]
push 8
mov dword [ebp - 0xa4], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042ba55
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.0040dc17
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
push 0xffffffffffffffff
push 0x4657e0
mov ecx, ebx
mov dword [ebp - 4], 4
call fcn.00405be0
mov edi, eax
push 0xffffffffffffffff
push 0x4657e4
mov ecx, ebx
call fcn.00405be0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0042d750
add esp, 0xc
cmp esi, 0xffffffff
je 0x403218
lea eax, [esi - 1]
cmp edi, eax
jae 0x403218
mov eax, dword [ebx + 0x10]
lea ecx, [edi + 1]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp eax, ecx
jb 0x40326e
sub esi, edi
sub eax, ecx
dec esi
cmp eax, esi
cmovb esi, eax
cmp dword [ebx + 0x14], 0x10
jb 0x4031a7
mov ebx, dword [ebx]
lea eax, [ebx + ecx]
push esi
push eax
lea ecx, [ebp - 0x98]
call fcn.00407130
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00407e30
mov edx, dword [ebp - 0x84]
add esp, 0x10
cmp edx, 0x10
jb 0x40322c
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40320c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403273
push edx
push ecx
call fcn.0042be00
add esp, 8
jmp 0x40322c
push dword [ebp + 0x10]
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00407e30
add esp, 0xc
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x14], 0x10
jb 0x403237
mov eax, dword [eax]
mov esi, dword [ebp - 0x80]
push eax
push esi
call fcn.00402e50
lea eax, [ebp - 0x74]
push eax
push esi
call fcn.00402e50
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b793
mov esp, ebp
pop ebp
ret 0xc
call fcn.004077f0
call fcn.004354da
int3