Function at 0x4027c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54779a
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push edi
mov eax, dword [0x595978]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
lea eax, [esi + 0x28]
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x14], 8
mov dword [esp + 0x30], eax
mov dword [eax + 0x10], ecx
jb 0x402819
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 8], 0xffffffff
lea eax, [esi + 8]
mov dword [esp + 0x64], eax
mov dword [esi + 0xc], 0xffffffff
lea eax, [esi + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esi + 0x10], 0xffffffff
lea eax, [esi + 0x10]
mov dword [esp + 0x58], eax
lea eax, [esi + 0x14]
mov dword [esp + 0x68], eax
mov dword [eax], 0xffffffff
lea eax, [esi + 0x18]
mov dword [esp + 0x40], eax
mov dword [eax], 0xffffffff
lea eax, [esi + 0x1c]
mov dword [esp + 0x38], eax
mov dword [eax], 0xffffffff
lea eax, [esi + 0x20]
push 3
mov dword [esp + 0x38], eax
mov dword [eax], 0xffffffff
lea eax, [esi + 0x24]
push 0x577ae8
lea edi, [esi + 4]
push ebx
mov dword [esi], 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [edi], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [eax], 0xffffffff
call fcn.0040da70
push 3
push 0x577af0
push ebx
mov dword [esp + 0x28], eax
call fcn.0040da70
push 3
push 0x577af8
push ebx
mov dword [esp + 0x7c], eax
call fcn.0040da70
push 5
push str._yyyy
push ebx
mov dword [esp + 0x68], eax
call fcn.0040da70
push 3
push 0x577b0c
push ebx
mov dword [esp + 0x1c], eax
call fcn.0040da70
push 3
push 0x577b14
push ebx
mov dword [esp + 0x5c], eax
call fcn.0040da70
push 3
push 0x577b1c
push ebx
mov dword [esp + 0x58], eax
call fcn.0040da70
push 5
push str._mili
push ebx
mov dword [esp + 0x60], eax
call fcn.0040da70
push 6
push str._micro
push ebx
mov dword [esp + 0x50], eax
call fcn.0040da70
push 5
push str._nano
push ebx
mov dword [esp + 0x24], eax
call fcn.0040da70
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x40299b
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], eax
mov esi, 2
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
call fcn.0040a080
mov edi, dword [esp + 0x60]
jmp 0x4029a0
mov esi, 2
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
je 0x4029d5
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edi
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
call fcn.0040a080
mov eax, dword [esp + 0x5c]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x4029e8
cmp dword [esp + 0x10], ecx
je 0x402a41
jmp 0x4029ee
cmp dword [esp + 0x10], ecx
je 0x402a11
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], 4
jmp 0x402a2a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], esi
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x118], esi
call fcn.0040a080
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
je 0x402a7a
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10c], eax
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
call fcn.0040a080
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x402ab3
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
call fcn.0040a080
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x402aec
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10c], eax
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
call fcn.0040a080
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x402b2d
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10c], eax
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], 4
mov dword [esp + 0x118], 3
call fcn.0040a080
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x402b6e
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x114], 5
mov dword [esp + 0x118], 6
call fcn.0040a080
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x402baf
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10c], eax
lea eax, [esp + 0x10c]
lea edi, [esp + 0x20]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], 4
mov dword [esp + 0x118], 9
call fcn.0040a080
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
push 0x4027a0
sar edx, 4
push edx
push eax
push ecx
call fcn.0041b230
mov edi, dword [esp + 0x30]
xor eax, eax
add esp, 0x10
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0x24]
je 0x402f62
lea ecx, [esp + 0xc4]
lea edx, [esp + 0x78]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [edi]
sub ecx, eax
push ecx
push eax
lea edx, [esp + 0x114]
push edx
mov ecx, ebx
call fcn.00409fe0
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x144], 1
call fcn.004112b0
cmp dword [esp + 0x120], 8
jb 0x402c3a
mov eax, dword [esp + 0x10c]
push eax
call fcn.0049cf83
add esp, 4
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov dword [esp + 0x74], 0x578bd0
mov byte [esp + 0x138], 2
or dword [esp + 0x48], 1
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc4], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00402320
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x78]
push ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], 0
call fcn.004022e0
push eax
mov dword [esp + 0x13c], 4
call fcn.00415a40
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13c], 3
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
je 0x402d01
mov esi, eax
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], esi
call fcn.00495eec
mov eax, dword [esi + 4]
test eax, eax
je 0x402cdf
cmp eax, 0xffffffff
jae 0x402cdf
dec eax
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x34]
not esi
call fcn.00495f14
and esi, dword [esp + 0x14]
je 0x402d01
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0x20
call eax
cmp dword [esp + 0xfc], 0
mov word [esp + 0x104], ax
jne 0x402d39
mov eax, dword [esp + 0xd0]
or eax, 4
push 0
push eax
lea ecx, [esp + 0xcc]
call fcn.004021e0
mov dword [esp + 0x138], 5
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x78]
mov esi, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
push eax
mov dword [esp + edx + 0x78], esi
call fcn.004110f0
mov dword [esp + 0x78], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 4
push 0x577b4c
push ecx
mov byte [esp + 0x140], 7
mov ecx, dword [edi + 0xc]
push ecx
push ecx
lea edx, [esp + 0x84]
push 0x577b54
push edx
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00409560
add esp, 4
push eax
call fcn.00415b80
add esp, 8
lea ecx, [esp + 0x10c]
lea eax, [esp + 0x74]
call fcn.0040a180
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x144], 8
call fcn.004112b0
cmp dword [esp + 0x120], 8
jb 0x402df6
mov eax, dword [esp + 0x10c]
push eax
call fcn.0049cf83
add esp, 4
mov ecx, dword [edi + 8]
mov edx, dword [edi]
inc dword [esp + 0x10]
lea eax, [ecx + edx + 1]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + edx + 0x74], esi
test byte [esp + 0xb8], 1
mov dword [esp + 0x78], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x402e36
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
push eax
call fcn.0049cf83
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [ecx], 0
mov edx, dword [esp + 0x98]
mov dword [edx], 0
mov eax, dword [esp + 0xa8]
mov dword [eax], 0
mov ecx, dword [esp + 0x8c]
mov dword [ecx], 0
mov edx, dword [esp + 0x9c]
mov dword [edx], 0
mov eax, dword [esp + 0xac]
mov dword [eax], 0
and dword [esp + 0xb8], 0xfffffffe
mov dword [esp + 0xb4], 0
mov dword [esp + 0x78], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0x138], 0xa
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
test eax, eax
je 0x402f0a
mov esi, dword [eax]
mov dword [esp + 0x14], esi
test esi, esi
je 0x402efd
push 0
lea ecx, [esp + 0x3c]
call fcn.00495eec
mov eax, dword [esi + 4]
test eax, eax
je 0x402edb
cmp eax, 0xffffffff
jae 0x402edb
dec eax
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x38]
not esi
call fcn.00495f14
and esi, dword [esp + 0x14]
je 0x402efd
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0049cf83
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 9
call fcn.00496c50
mov byte [esp + 0x138], 0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xc4]
mov dword [esp + eax + 0x74], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [esp + 0xc8], vtable.std::ios_base.0
call fcn.00496b00
mov eax, dword [esp + 0x20]
add edi, 0x10
add esp, 4
cmp edi, dword [esp + 0x24]
jne 0x402bf5
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x114]
push edx
mov ecx, ebx
call fcn.00409fe0
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x144], 0xb
call fcn.004112b0
cmp dword [esp + 0x120], 8
jb 0x402fa4
mov eax, dword [esp + 0x10c]
push eax
call fcn.0049cf83
add esp, 4
test edi, edi
je 0x402fb1
push edi
call fcn.0049cf83
add esp, 4
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret