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

Disassembly:
push 0xffffffffffffffff
push 0x100f5273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov eax, dword [0x100f7ac4]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
push eax
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x14c], ebp
lea esi, [ebp + 4]
call fcn.1000d380
mov edx, dword [eax]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea ecx, [esp + 0x9c]
fld dword [0x100f7ac4]
fchs
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
push eax
push eax
call fcn.1000d380
mov ecx, dword [eax]
add esi, 0xc
xor ebx, ebx
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov cl, byte [esp + 0x13]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov byte [ebp + 0x2c], cl
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dl, byte [esp + 0x13]
lea edi, [ebp + 0x3c]
mov dword [esp + 0x190], ebx
mov byte [edi], dl
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x190], 1
mov dword [ebp], 0x100f7ac8
call fcn.10086c90
lea ecx, [esp + 0x110]
call fcn.1002e860
mov esi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
push ebx
push ebx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x198], 3
mov dword [esp + 0xcc], esi
call fcn.1002e780
mov eax, dword [esp + 0x198]
mov byte [esp + 0x190], 4
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x100855ae
mov eax, 0x100f7364
cmp dword [esp + 0x114], ebx
jne 0x100855ec
push 0x21
push eax
call fcn.100d064e
add esp, 8
cmp eax, ebx
je 0x100855ec
push 1
push eax
lea ecx, [esp + 0xcc]
call fcn.1002e780
lea ecx, [esp + 0xc4]
call fcn.1002e8b0
lea ecx, [esp + 0xc4]
test ecx, ecx
jne 0x10085608
mov dword [esp + 0xc4], esi
mov al, byte [esp + 0x10c]
mov byte [esp + 0x190], 6
test al, al
je 0x1008564e
jmp 0x10085642
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x144]
push 0x44
push edx
lea ecx, [esp + 0xcc]
call dword [eax + 0x18]
cmp eax, 0x44
je 0x10085662
mov dword [esp + 0xc4], esi
mov al, byte [esp + 0x10c]
mov byte [esp + 0x190], 8
test al, al
je 0x1008564e
lea ecx, [esp + 0xc4]
call fcn.1002db20
mov ecx, dword [esp + 0x108]
cmp ecx, ebx
je 0x1008606f
jmp 0x10086068
cmp dword [esp + 0x144], 0x32504449
jne 0x10086037
cmp dword [esp + 0x148], 8
jne 0x10086037
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x164]
mov al, byte [esp + 0x13]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x28], edx
mov byte [esp + 0x70], al
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov esi, dword [esp + 0x160]
lea ecx, [esp + 0x70]
mov byte [esp + 0x190], 0xb
call fcn.1002c950
cmp eax, esi
jae 0x100856ee
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x74]
call fcn.1002c950
sub esi, eax
mov eax, dword [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x7c]
call fcn.100918f0
jmp 0x10085711
lea ecx, [esp + 0x70]
call fcn.1002c950
cmp esi, eax
jae 0x10085711
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0x74]
lea eax, [edx + esi*4]
push eax
call fcn.10065b70
mov edx, dword [esp + 0x174]
push 3
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.1002d5f0
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xe0]
push eax
call fcn.10086c10
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x74]
lea eax, [ecx*4]
lea ecx, [esp + 0xc4]
push eax
mov eax, dword [esp + 0xc8]
push edx
call dword [eax + 0x18]
mov cl, byte [esp + 0x13]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, dword [ebp + 0x28]
lea ecx, [esp + 0x30]
mov byte [esp + 0x190], 0xc
call fcn.10087350
cmp eax, esi
jae 0x100857ba
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], edx
call fcn.10087350
mov ecx, dword [esp + 0x20]
sub esi, eax
push esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.10087370
jmp 0x100857e0
lea ecx, [esp + 0x30]
call fcn.10087350
cmp esi, eax
jae 0x100857e0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea eax, [esi + esi*2]
push edx
lea edx, [ecx + eax*4]
lea ecx, [esp + 0x34]
push edx
call fcn.100876a0
mov eax, dword [esp + 0x178]
push 3
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.1002d5f0
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0xe4]
call fcn.10086c10
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc4]
lea eax, [eax + eax*2]
shl eax, 2
push eax
mov eax, dword [esp + 0xc8]
push edx
call dword [eax + 0x18]
mov cl, byte [esp + 0x13]
mov dword [esp + 0x84], ebx
mov byte [esp + 0x80], cl
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x50], dl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea eax, [esp + 0x13]
lea ecx, [esp + 0x6f]
push eax
push ebx
push ecx
lea ecx, [esp + 0x12c]
mov byte [esp + 0x19c], 0xe
call fcn.10087720
mov eax, dword [ebp + 0x28]
mov byte [esp + 0x190], 0xf
cmp eax, ebx
mov dword [esp + 0x24], ebx
jle 0x10085a20
mov dword [esp + 0x20], 6
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x118]
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 3
mov eax, dword [esp + 0x34]
mov cx, word [eax + esi - 6]
mov word [esp + 0x60], cx
mov dx, word [eax + esi]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x128]
mov word [esp + 0x6a], dx
call fcn.10087880
mov eax, dword [eax]
mov ecx, dword [esp + 0x124]
cmp eax, ecx
jne 0x100859b9
mov eax, dword [esp + 0x54]
cmp eax, ebx
jne 0x10085903
xor esi, esi
jmp 0x1008590c
mov esi, dword [esp + 0x58]
sub esi, eax
sar esi, 2
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x130]
lea ecx, [esp + 0x9c]
push eax
push ecx
lea ecx, [esp + 0x128]
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], ebx
call fcn.100876f0
mov eax, dword [eax]
mov dx, si
lea ecx, [esp + 0x60]
mov dword [eax + 0x10], esi
mov eax, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x54]
mov word [eax], dx
mov edx, dword [esp + 0x5c]
push edx
call fcn.1003d2f0
mov eax, dword [esp + 0x62]
mov ecx, dword [esp + 0x74]
and eax, 0xffff
movsx edx, word [ecx + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
fidiv dword [esp + 0x150]
fstp dword [esp + 0x94]
movsx eax, word [eax + 2]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
fild dword [esp + 0x18]
push eax
fidiv dword [esp + 0x158]
fstp dword [esp + 0x9c]
call fcn.100871a0
mov esi, dword [esp + 0x2c]
jmp 0x100859c4
mov dx, word [eax + 0x10]
mov eax, dword [esp + 0x18]
mov word [eax], dx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esi, 2
add ecx, 2
dec eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x100858b9
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x118]
push ecx
push edx
lea ecx, [esp + 0x88]
call fcn.1006fe40
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x28]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
jl 0x1008589e
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
jne 0x10085a2c
xor eax, eax
jmp 0x10085a35
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
lea ecx, [esp + 0xa8]
mov dword [ebp + 0x24], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
call fcn.1000c3b0
lea eax, [esp + 0x2b]
lea ecx, [esp + 0xb4]
push eax
call fcn.10084240
mov eax, dword [ebp + 0x30]
mov edi, dword [ebp + 0x20]
lea esi, [ebp + 0x2c]
cmp eax, ebx
mov byte [esp + 0x190], 0x10
jne 0x10085a8f
xor edx, edx
jmp 0x10085aa5
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, edi
jae 0x10085ad0
mov edx, dword [esi + 8]
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
mov dword [esp + 0x18], edx
call fcn.10086d40
mov ecx, dword [esp + 0x18]
sub edi, eax
push edi
push ecx
mov ecx, esi
call fcn.10086d70
jmp 0x10085af0
mov ecx, esi
call fcn.10086d40
cmp edi, eax
jae 0x10085af0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
push eax
lea eax, [ecx + edx*8]
mov ecx, esi
push eax
call fcn.100870f0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x190], 0xf
call fcn.1005a550
mov edx, dword [esp + 0x17c]
push 3
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.1002d5f0
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xe0]
push eax
call fcn.10086c10
mov cl, byte [esp + 0x2b]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], cl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov esi, dword [esp + 0x15c]
mov byte [esp + 0x190], 0x11
cmp esi, ebx
jbe 0x10085b77
lea edx, [esp + 0x68]
lea ecx, [esp + 0x40]
push edx
call fcn.1002c950
sub esi, eax
lea ecx, [esp + 0x44]
push esi
push ebx
call fcn.100918f0
jmp 0x10085b9a
lea ecx, [esp + 0x40]
call fcn.1002c950
cmp esi, eax
jae 0x10085b9a
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push eax
lea edx, [ecx + esi*4]
lea ecx, [esp + 0x44]
push edx
call fcn.10065b70
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jle 0x10085e3e
mov dword [esp + 0x2c], ebx
mov esi, dword [ebp + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc4]
add esi, eax
push 0xc
push esi
lea ecx, [esp + 0xcc]
call dword [edx + 0x18]
mov eax, dword [esp + 0xc4]
lea edi, [esi + 0xc]
push 0xc
push edi
lea ecx, [esp + 0xcc]
call dword [eax + 0x18]
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x130]
push 0x10
push ecx
lea ecx, [esp + 0xcc]
call dword [edx + 0x18]
fld dword [esi]
mov eax, dword [esi + 4]
mov ecx, esi
fld dword [esi + 8]
mov edx, eax
mov dword [esp + 0x9c], eax
fstp dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
mov dword [ecx], edx
fstp dword [esp + 0xa4]
mov edx, dword [esp + 0xa4]
mov dword [ecx + 4], eax
fld dword [edi]
mov eax, dword [esi + 0x10]
mov dword [ecx + 8], edx
fld dword [esi + 0x14]
mov ecx, edi
mov edx, eax
fstp dword [esp + 0x94]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
fstp dword [esp + 0x98]
mov dword [ecx], edx
mov edx, dword [esp + 0x98]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xc4]
shl eax, 2
push eax
push ecx
lea ecx, [esp + 0xcc]
call dword [edx + 0x18]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 0x24]
lea ebx, [esi + 0x18]
mov dword [esp + 0x1c], edx
test eax, eax
jne 0x10085ca0
xor ecx, ecx
jmp 0x10085ca8
mov ecx, dword [ebx + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, edx
jae 0x10085cd4
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.1002c950
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub ecx, eax
push ecx
push edx
mov ecx, ebx
call fcn.100918f0
jmp 0x10085cf5
mov ecx, ebx
call fcn.1002c950
mov edx, dword [esp + 0x1c]
cmp edx, eax
jae 0x10085cf5
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
lea eax, [ecx + edx*4]
mov ecx, ebx
push eax
call fcn.10065b70
mov eax, dword [ebp + 0x24]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], ecx
jle 0x10085e1d
mov ebx, dword [esp + 0x54]
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dx, word [ebx + ecx*4]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
lea ecx, [ecx + edx*4]
mov dl, byte [ecx + 1]
mov byte [eax + ebx*4], dl
mov edx, ebx
mov bl, byte [ecx + 2]
lea edx, [eax + edx*4 + 1]
mov dword [esp + 0x1c], edx
mov byte [edx], bl
mov edx, dword [esp + 0x18]
mov bl, byte [ecx]
lea edx, [eax + edx*4 + 2]
mov byte [edx], bl
mov bl, byte [ecx + 3]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx*4 + 3], bl
xor ebx, ebx
mov bl, byte [eax + ecx*4]
xor eax, eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1c]
fild dword [esp + 0x14]
mov al, byte [ebx]
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [edx]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [esi + 8]
fstp dword [esp + 0x14]
fmul dword [esi + 4]
fstp dword [esp + 0x1c]
fmul dword [esi]
fld dword [esp + 0x14]
fadd dword [edi + 8]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fadd dword [edi + 4]
fstp dword [esp + 0x18]
fadd dword [edi]
fcom dword [ebp + 4]
fnstsw ax
test ah, 1
je 0x10085da8
fst dword [ebp + 4]
fld dword [esp + 0x18]
fcomp dword [ebp + 8]
fnstsw ax
test ah, 1
je 0x10085dbd
mov edx, dword [esp + 0x18]
mov dword [ebp + 8], edx
fld dword [esp + 0x20]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 1
je 0x10085dd2
mov eax, dword [esp + 0x20]
mov dword [ebp + 0xc], eax
fcom dword [ebp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x10085de1
fstp dword [ebp + 0x10]
jmp 0x10085de3
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [ebp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10085df8
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x14], edx
fld dword [esp + 0x20]
fcomp dword [ebp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x10085e0d
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x24]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x10085d06
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x20]
inc eax
add edx, 0x28
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
jl 0x10085bad
xor ebx, ebx
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
push ebx
push ecx
mov ecx, dword [0x10116788]
push edx
call fcn.1004c640
push 1
mov ecx, eax
mov dword [ebp + 0x1c], eax
call fcn.100554c0
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jle 0x10085eb6
xor eax, eax
mov edi, dword [esp + 0x84]
xor ecx, ecx
xor edx, edx
xor esi, esi
mov cx, word [edi + eax + 2]
mov dx, word [edi + eax + 4]
mov si, word [edi + eax]
mov edi, dword [ebp + 0x1c]
add eax, 6
mov ebx, dword [edi + 8]
mov word [ebx + eax - 6], si
mov esi, dword [edi + 8]
mov word [esi + eax - 4], dx
mov edx, dword [edi + 8]
mov word [edx + eax - 2], cx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x28]
inc ecx
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x10085e6b
xor ebx, ebx
mov ecx, dword [ebp + 0x1c]
call fcn.10055550
cmp dword [0x1011da34], ebx
jne 0x10085f17
mov dword [0x1011da34], 0x1010dea0
xor ecx, ecx
mov eax, dword [0x1011da34]
add eax, ecx
add ecx, 0xc
cmp ecx, 0x798
fld dword [eax]
fld dword [eax + 8]
mov edx, dword [eax + 4]
fstp dword [esp + 0xa0]
mov dword [esp + 0x9c], edx
mov dword [eax], edx
mov edx, dword [esp + 0xa0]
fstp dword [esp + 0xa4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 8], edx
jl 0x10085ed2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x198], 0xf
call fcn.10053260
mov edx, dword [esp + 0x44]
push edx
call fcn.100d02fa
add esp, 4
lea ecx, [esp + 0x120]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x190], 0xe
call fcn.100860d0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x198], 0xd
call fcn.10053260
mov edx, dword [esp + 0x54]
push edx
call fcn.100d02fa
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
push eax
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0x198], 0xc
call fcn.10053260
mov edx, dword [esp + 0x84]
push edx
call fcn.100d02fa
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
push eax
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x198], 0xb
call fcn.10053260
mov edx, dword [esp + 0x34]
push edx
call fcn.100d02fa
add esp, 4
lea ecx, [esp + 0x70]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x190], 4
call fcn.1005a550
lea ecx, [esp + 0xc4]
mov byte [esp + 0x190], 1
call fcn.1002cb50
jmp 0x10086092
mov dword [esp + 0xc4], esi
mov al, byte [esp + 0x10c]
mov byte [esp + 0x190], 0xa
test al, al
je 0x1008605d
lea ecx, [esp + 0xc4]
call fcn.1002db20
mov ecx, dword [esp + 0x108]
cmp ecx, ebx
je 0x1008606f
push 1
call fcn.1002d520
lea ecx, [esp + 0x110]
call fcn.100272f0
lea ecx, [esp + 0xf8]
mov dword [esp + 0xc4], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100272f0
mov ecx, dword [esp + 0x188]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x184
ret 4