Function at 0x4223b0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596fef
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x408
mov eax, dword [0x5e000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x35c], ecx
xor eax, eax
mov dword [ebp - 0x380], ecx
mov dword [ebp - 0x35c], eax
mov dword [ecx + 4], eax
mov dword [ebp - 0x368], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ebp - 4], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], eax
mov esi, dword [0x5a64dc]
push 0x4c
call esi
mov ecx, dword [ebp - 0x354]
push 0x4d
mov dword [ecx + 8], eax
call esi
mov ecx, dword [ebp - 0x354]
push 0x4e
mov dword [ecx + 0xc], eax
call esi
mov ecx, dword [ebp - 0x354]
push 0x4f
add eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
call esi
mov ecx, dword [ebp - 0x354]
push 0
push 0
push 0
add eax, dword [ecx + 0xc]
push str.Display
mov dword [ecx + 0x14], eax
call dword [0x5a6074]
mov esi, eax
push 0xc
push esi
call dword [0x5a6060]
mov ecx, dword [ebp - 0x354]
push esi
mov dword [ecx], eax
call dword [0x5a6070]
mov dword [ebp - 0x364], 0
lea eax, [ebp - 0x364]
push eax
push 0x5bfd18
call dword [0x5a69a4]
test eax, eax
jns 0x42250a
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x364]
test ecx, ecx
je 0x4224e4
mov dword [ebp - 0x364], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp - 0x354]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052f4c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x354]
xor edx, edx
mov dword [ebp - 0x370], edx
mov dword [esi + 4], 0
nop
mov dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax]
lea edi, [ebp - 0x358]
mov byte [ebp - 4], 7
push edi
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, 0x887a0002
je 0x422a61
mov eax, dword [ebp - 0x358]
lea edx, [ebp - 0x2f0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
xor edx, edx
mov dword [ebp - 0x36c], edx
nop dword [eax + eax]
mov dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x358]
mov ecx, dword [eax]
lea edi, [ebp - 0x360]
mov byte [ebp - 4], 0xa
push edi
push edx
push eax
call dword [ecx + 0x1c]
lea edi, [esi + 0x30]
cmp eax, 0x887a0002
je 0x422a03
mov eax, dword [ebp - 0x360]
lea edx, [ebp - 0x350]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 0x300], 0
je 0x4229c9
movaps xmm0, xmmword [0x5c93b0]
lea eax, [ebp - 0x35c]
push 0
push eax
push 0
push 7
push 7
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0x9300
push eax
push 0
push 0
push 0
push dword [ebp - 0x358]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0x9200
mov dword [ebp - 0x18], 0x9100
mov dword [ebp - 0x35c], 0x9100
call dword [0x5a6914]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x35c], ecx
cmp eax, dword [esi + 0x44]
je 0x42262b
mov dword [eax], ecx
add dword [esi + 0x40], 4
jmp 0x42263b
lea ecx, [ebp - 0x35c]
push ecx
push eax
lea ecx, [esi + 0x3c]
call fcn.0040b130
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 0x418], 0x5bf528
call dword [0x5a6424]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x414]
mov esi, dword [ebp - 0x368]
lea ecx, [ebp - 0x418]
push 0
push 0
or esi, 1
push eax
mov dword [ebp - 0x35c], esi
call dword [0x5a6354]
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x418]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x41c], eax
lea ecx, [ebp - 0x414]
call dword [0x5a644c]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d8], 4
mov edx, 0x5bfd38
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x418]
call fcn.0041fbf0
mov ecx, dword [ebp - 0x354]
mov ecx, dword [ecx + 4]
inc ecx
push ecx
mov ecx, eax
call dword [0x5a62f8]
mov edx, 0x5bfd3c
mov ecx, eax
call fcn.0041fbf0
lea edx, [ebp - 0x2f0]
mov ecx, eax
call fcn.0041fbf0
mov byte [ebp - 4], 0x10
xor eax, eax
mov edx, dword [ebp - 0x3d8]
or esi, 4
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, edx
and al, 0x22
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x35c], esi
movq qword [ebp - 0x37c], xmm0
cmp al, 2
je 0x422781
mov eax, dword [ebp - 0x3f4]
mov ecx, dword [eax]
test ecx, ecx
je 0x422781
cmp ecx, dword [ebp - 0x3dc]
mov eax, dword [ebp - 0x404]
cmovb ecx, dword [ebp - 0x3dc]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x4227b8
test dl, 4
jne 0x4227ac
mov eax, dword [ebp - 0x3f8]
mov esi, dword [eax]
test esi, esi
je 0x4227ac
mov eax, dword [ebp - 0x408]
mov edx, dword [eax]
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [eax]
add ecx, ecx
sub ecx, edx
add ecx, esi
sar ecx, 1
jmp 0x4227b8
mov ecx, dword [ebp - 0x378]
mov edx, dword [ebp - 0x37c]
test edx, edx
je 0x4227c6
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004039b0
mov eax, dword [ebp - 0x368]
and eax, 0xfffffffb
mov dword [ebp - 4], 0xf
or eax, 2
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x354]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, dword [ecx + 8]
je 0x422816
movups xmm0, xmmword [ebp - 0x2c]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x2c], ax
jmp 0x422823
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.004063c0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x42285e
mov eax, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov ecx, eax
cmp edx, 0x1000
jb 0x422854
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x422a5b
push edx
push eax
call fcn.0052f847
add esp, 8
push 0x64
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00582b3f
add esp, 0xc
mov dword [ebp - 0x98], 0x68
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x2f8]
call dword [0x5a6554]
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x94]
movups xmm0, xmmword [ebp - 0x94]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x90]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x198]
mov dword [ebp - 0x1c4], 0
push 0x80
push eax
mov dword [ebp - 0x1c8], 0
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b8], 0
call dword [0x5a68dc]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x24]
add esp, 0xc
cmp eax, dword [ecx + 8]
je 0x42293a
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [eax], xmm0
add dword [ecx + 4], 0x10
jmp 0x422947
lea edx, [ebp - 0x94]
push edx
push eax
call fcn.00422b40
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x42296d
mov ecx, 0x4c
lea esi, [ebp - 0x1c8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x354]
add dword [esi + 0x34], 0x130
jmp 0x42297c
lea ecx, [ebp - 0x1c8]
push ecx
push eax
mov ecx, edi
call fcn.00422ca0
mov eax, dword [ebp - 0x418]
inc dword [esi + 4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x41c], eax
lea ecx, [ebp - 0x414]
call fcn.004051c0
lea ecx, [ebp - 0x410]
call dword [0x5a6350]
lea ecx, [ebp - 0x3c8]
call dword [0x5a63f4]
mov edx, dword [ebp - 0x36c]
inc edx
mov dword [ebp - 0x36c], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x360]
test ecx, ecx
je 0x422570
mov dword [ebp - 0x360], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x36c]
jmp 0x422570
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x360]
test ecx, ecx
je 0x422a21
mov dword [ebp - 0x360], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x370]
inc edx
mov dword [ebp - 0x370], edx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x358]
test ecx, ecx
je 0x422520
mov dword [ebp - 0x358], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x370]
jmp 0x422520
call dword [0x5a67b8]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x358]
test ecx, ecx
je 0x422a7f
mov dword [ebp - 0x358], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x364]
test edx, edx
je 0x4224ea
mov dword [ebp - 0x364], 0
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
jmp 0x4224ea