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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, eax
xor ebp, ebp
push edi
cmp dword [esi + 0x60], ebp
je 0x462e2d
cmp dword [esi + 4], ebp
je 0x462e2d
cmp dword [esi + 0x30], ebp
je 0x462e2d
cmp dword [esi + 0x2c], ebp
je 0x462e2d
cmp dword [esi + 0xcc], ebp
je 0x462a1c
call fcn.004633e0
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x38]
mov dword [esi + 0xd8], eax
mov eax, dword [esi]
sub esp, 0x10
lea ecx, [esi + 0xd0]
mov dword [ecx], edx
mov edx, dword [0x4e5a80]
mov dword [esi + 0xd4], eax
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x4e5a84]
mov dword [eax + 4], edx
mov edx, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_12]
push ebp
push ebp
lea edi, [esi + 0x20e0]
mov dword [eax + 8], edx
mov edx, dword [0x4e5a8c]
push edi
push ecx
mov dword [eax + 0xc], edx
call fcn.00472b50
push 0xffffffffffffffff
push edi
call fcn.00476630
mov ecx, eax
mov eax, 0x1000
cdq
mov dword [esi + 0x23b0], ecx
idiv dword [ecx + 4]
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0x212c]
push eax
mov eax, str.LOOPSTART
call fcn.004b5a80
add esp, 0x2c
cmp eax, ebp
je 0x462ab4
push eax
call fcn.00485e88
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x462ab7
mov dword [esi + 0x14], ebp
mov ecx, dword [esi + 0x212c]
push ecx
mov eax, str.LOOPLENGTH
call fcn.004b5a80
add esp, 4
cmp eax, ebp
je 0x462add
push eax
call fcn.00485e88
add esp, 4
mov dword [esi + 0x18], eax
jmp 0x462ae0
mov dword [esi + 0x18], ebp
xor eax, eax
mov dword [esi + 0xcc], 1
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov word [esi + 0x5c], ax
mov eax, dword [esi + 0x23b0]
lea ecx, [esi + 0x4c]
mov edi, dword [esi + 0x1c]
mov edx, 1
mov word [ecx], dx
mov dx, word [eax + 4]
mov word [esi + 0x4e], dx
mov eax, dword [eax + 8]
mov dword [esi + 0x50], eax
movzx eax, word [esi + 0x4e]
shl eax, 4
mov edx, 0x10
mov word [esi + 0x5a], dx
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx edx, ax
imul edx, dword [esi + 0x50]
mov word [esi + 0x58], ax
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov word [esi + 0x5c], ax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xffffffd0
add eax, 0x102c8
mov dword [esi + 0x54], edx
mov dword [esp + 0x4c], 0x24
mov dword [esp + 0x50], eax
cmp dword [esi + 0x24], ebp
je 0x462b97
or eax, 0x8000
mov dword [esp + 0x50], eax
lea edx, [edx + edx*4]
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], ecx
mov eax, 0x4baad4
cmp edi, ebp
jne 0x462bb0
mov eax, 0x4bc968
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x6c], edx
push ebp
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 8]
mov eax, dword [esi + 0x60]
lea edx, [esp + 0x54]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x1c], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x462e2d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
lea edi, [esi + 0x64]
push edi
mov dword [esi + 0x40], ecx
mov edx, dword [eax]
push 0x4bab14
push eax
mov eax, dword [edx]
call eax
mov ebx, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x462c1a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebp
cmp ebx, ebp
jne 0x462e2d
mov eax, dword [edi]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x34]
push edx
push ebp
push ebp
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jne 0x462cbb
lea ebx, [eax + 8]
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x462c76
mov ecx, dword [esp + 0x20]
xor edx, edx
cmp word [esi + 0x5a], bx
push ecx
setne dl
dec edx
and edx, 0x80
push edx
push eax
call fcn.00487bc0
add esp, 0xc
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x462ca1
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp word [esi + 0x5a], bx
push eax
setne dl
dec edx
and edx, 0x80
push edx
push ecx
call fcn.00487bc0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi]
mov edx, dword [eax]
mov edx, dword [edx + 0x4c]
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push eax
call edx
cmp dword [esi + 0x1c], ebp
je 0x462cd2
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x68]
push edx
push 0x4baaf4
push eax
mov eax, dword [ecx]
call eax
mov eax, 0xffffd8f0
cmp dword [esi + 0x74], ebp
jne 0x462cdf
mov eax, dword [esi + 0x78]
mov ebx, dword [edi]
mov ebp, dword [ebx]
push eax
call fcn.00463410
mov ecx, dword [ebp + 0x3c]
push eax
push ebx
call ecx
cmp dword [esi + 0x74], 0
je 0x462d13
mov eax, dword [edi]
mov edx, dword [eax]
push 0xffffd8f0
push eax
mov eax, dword [edx + 0x3c]
call eax
call dword [0x4b939c]
mov dword [esi + 0x88], eax
jmp 0x462d27
mov ecx, dword [esi + 0x78]
mov ebx, dword [edi]
mov ebp, dword [ebx]
push ecx
call fcn.00463410
mov edx, dword [ebp + 0x3c]
push eax
push ebx
call edx
mov ebx, dword [edi]
mov eax, dword [esi + 0x7c]
mov ebp, dword [ebx]
call fcn.00463460
push eax
mov eax, dword [ebp + 0x40]
push ebx
call eax
xor ebx, ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0x28], 1
mov dword [esi + 0xc8], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
cmp dword [esi + 0x80], ebx
je 0x462e20
mov ecx, dword [0x4baac4]
mov edx, dword [0x4baac8]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [0x4baad0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [0x4baacc]
mov dword [esp + 0x40], ecx
push ebx
mov dword [esp + 0x40], eax
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], 0x20
mov edx, dword [eax]
mov edx, dword [edx + 0x54]
push 1
push eax
call edx
mov edi, dword [edi]
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x28]
push ecx
push 0x4baae4
push ebx
push 0x4bab04
push edi
call edx
test eax, eax
jl 0x462e20
mov edx, dword [esi + 0x80]
mov eax, dword [esp + 0x28]
mov edx, dword [edx*4 + 0x4e5a90]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret