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

Disassembly:
push 0xffffffffffffffff
push 0x4c6739
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5012c0]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5012c0]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov ebx, 0x17
mov dword [esp + 0x24], ecx
xor ebp, ebp
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
sar eax, 3
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x482d71
nop
mov eax, dword [esi + 0x20]
mov eax, dword [eax + ebp*8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x4e8e64
mov dword [esp + 0x38], 0x4e8e6c
or ecx, 1
mov dword [esp + 0x114], 0
mov dword [esp + 0x24], ecx
xorps xmm0, xmm0
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x8c], 0x50
movlpd qword [esp + 0x30], xmm0
call fcn.0045a060
lea eax, [esp + 0x40]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0x90]
lea eax, [esp + 0x18]
push eax
call fcn.0045eb40
push eax
mov dword [esp + 0x118], 3
call fcn.00452df0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov byte [esp + 0x114], 2
mov edi, eax
test ecx, ecx
je 0x482b65
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x482b65
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [edi]
mov ecx, edi
push 0x20
mov eax, dword [eax + 0x20]
call eax
cmp dword [esp + 0xc8], 0
mov byte [esp + 0xd0], al
jne 0x482b9a
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x90]
or eax, 4
push 0
push eax
call fcn.0045b8e0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x38], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x34], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [esp + ecx + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x114], 6
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0x24], eax
lea ecx, [esp + 0x40]
call fcn.00453820
mov dword [esp + 0x40], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0x118], 8
call fcn.004829e0
mov edi, eax
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xd8]
push eax
mov byte [esp + 0x118], 9
call fcn.004822a0
push edi
push 0x20
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x120], 0xa
push 0x4e79ec
push eax
call fcn.00450f60
add esp, 8
push eax
call fcn.00450900
add esp, 8
push eax
call fcn.00450c10
add esp, 8
push eax
call fcn.00450900
add esp, 8
cmp dword [esp + 0xec], 0x10
jb 0x482ca6
push dword [esp + 0xd8]
call fcn.004a08c8
add esp, 4
cmp dword [esp + 0x104], 0x10
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov byte [esp + 0x114], 8
jb 0x482ce5
push dword [esp + 0xf0]
call fcn.004a08c8
add esp, 4
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x2c]
call fcn.00483c10
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c]
mov eax, dword [eax + 0x10]
cmp ebx, eax
mov dword [esp + 0x20], eax
cmovae ecx, edx
cmp dword [esp + 0x104], 0x10
mov ebx, dword [ecx]
mov dword [esp + 0x1c], ebx
jb 0x482d29
push dword [esp + 0xf0]
call fcn.004a08c8
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0x114], 0xffffffff
call fcn.00480850
lea eax, [esp + 0x90]
mov dword [esp + 0x90], vtable.std::ios_base.0
push eax
call fcn.0048bfc7
mov eax, dword [esi + 0x24]
inc ebp
sub eax, dword [esi + 0x20]
add esp, 4
mov ecx, dword [esp + 0x24]
sar eax, 3
cmp ebp, eax
jb 0x482ab0
mov eax, dword [esi + 0x3c]
xor edi, edi
sub eax, dword [esi + 0x38]
sar eax, 3
test eax, eax
je 0x482db0
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*8]
call fcn.00482a50
cmp ebx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
cmovae ecx, edx
sub eax, dword [esi + 0x38]
inc edi
sar eax, 3
mov ebx, dword [ecx]
mov dword [esp + 0x1c], ebx
cmp edi, eax
jb 0x482d80
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x18]
sub ecx, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
dec ecx
cmp ecx, ebx
mov dword [esp + 0x18], ecx
cmovae eax, edx
mov eax, dword [eax]
inc eax
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.004a2017
add esp, 0x104
ret