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

Disassembly:
push 0xffffffffffffffff
push 0x100e3ff3
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd0]
lea eax, [esp + 0x2c]
push eax
mov edi, ebp
call fcn.1001dd50
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 4]
lea edi, [ebx + 0x3c]
lea esi, [esp + esi + 0x34]
call fcn.1001e2d0
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov esi, dword [esp + eax + 0x44]
mov ecx, esi
mov dword [esp + 0x18], esi
mov esi, dword [esp + eax + 0x4c]
shr ecx, 8
and cl, 1
mov dword [esp + 0x24], esi
je 0x1006dc06
mov byte [esp + 0x17], 1
test esi, esi
jne 0x1006dc0b
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xcc]
push 0xffffffffffffffff
push 0
call fcn.10007a70
cmp byte [esp + 0x17], 0
jne 0x1006dd22
test esi, esi
jle 0x1006dc3c
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0xc4]
movzx ecx, word [eax]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.1004cad0
test byte [ebx + 0x60], 2
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov byte [esp + 0x20], 0
je 0x1006dcac
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
sub eax, edi
je 0x1006dc96
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
cmp byte [edi], al
je 0x1006dcac
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
cmp byte [edi], al
je 0x1006dcac
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
mov byte [esp + 0x20], al
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebx + 0x5c]
xor edx, edx
cmp byte [esp + 0x20], dl
mov esi, eax
setne dl
mov dword [esp + 0x28], esi
lea eax, [esp + 0x28]
sub ecx, edx
mov dword [esp + 0x1c], ecx
cmp esi, ecx
jb 0x1006dcda
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0x64]
mov edx, dword [ebx + 0x60]
mov eax, dword [eax]
shr edx, 2
mov byte [esp + 0x1c], cl
and dl, 1
movzx ecx, dl
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
push eax
push edi
mov edi, dword [esp + 0xe8]
call fcn.1001e460
add esp, 0x1c
jmp 0x1006dfbc
mov edx, dword [esp + 0xc4]
movzx eax, word [edx]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.1004cad0
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x14]
mov eax, dword [edx]
mov esi, dword [edi]
mov ecx, dword [esp + 0xc8]
mov ebx, eax
sub ebx, esi
test byte [ecx + 0x60], 2
mov byte [esp + 0x17], 0
je 0x1006dd8c
sub eax, esi
je 0x1006dd87
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
cmp byte [esi], al
je 0x1006dd8c
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
cmp byte [esi], al
je 0x1006dd8c
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x24]
cmp ebx, eax
jne 0x1006ddba
mov ecx, dword [esp + 0xc8]
cmp eax, dword [ecx + 0x5c]
jg 0x1006ddba
cmp byte [esp + 0x17], 0
jne 0x1006ddba
mov ecx, dword [esp + 0xcc]
push ebx
push esi
call fcn.10009fb0
jmp 0x1006dfbc
mov ecx, dword [esp + 0xcc]
push ebx
push esi
call fcn.10009fb0
mov esi, ebp
call fcn.1001e3f0
lea edx, [esp + 0x6c]
push edx
mov edi, ebp
call fcn.1001dd50
mov edi, dword [esp + 0xc8]
mov byte [esp + 0xbc], 1
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0xd4]
lea esi, [esp + esi + 0x74]
add edi, 0x3c
call fcn.1001e2d0
cmp byte [esp + 0x17], 0
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
je 0x1006de2c
lea edx, [esp + 0x74]
push edx
mov cl, 0x20
call fcn.1000f140
add esp, 4
mov eax, dword [esp + 0xc4]
movzx ecx, word [eax]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.1004cad0
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
sub eax, dword [ecx]
jne 0x1006de6e
mov edx, dword [esp + 0xc8]
test byte [edx + 0x60], 2
je 0x1006de6e
lea eax, [esp + 0x74]
push eax
mov cl, 0x20
mov byte [esp + 0x1b], 1
call fcn.1000f140
add esp, 4
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + 0x5c]
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x18]
jb 0x1006de9c
lea eax, [esp + 0x1c]
mov edi, dword [eax]
mov dword [esp + 0x18], edi
cmp dword [esp + 0x24], edi
ja 0x1006debb
push edi
push ecx
mov ecx, dword [esp + 0xd4]
call fcn.10009fb0
jmp 0x1006df5e
mov al, byte [esp + 0x17]
xor edx, edx
test al, al
setne dl
lea ecx, [esp + 0x18]
add ebx, edx
mov dword [esp + 0x1c], ebx
cmp edi, ebx
jb 0x1006ded8
lea ecx, [esp + 0x1c]
mov ecx, dword [ecx]
mov ebx, dword [esp + 0xcc]
movzx esi, al
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
cmp esi, ecx
jae 0x1006df13
cmp dword [ebx + 0x18], 0x10
jb 0x1006defb
mov eax, dword [ebx + 4]
jmp 0x1006defe
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x20]
mov cl, byte [esi + ecx]
sub eax, edx
cmp cl, byte [eax + esi]
jne 0x1006df13
inc esi
cmp esi, dword [esp + 0x18]
jb 0x1006def0
cmp esi, edi
jb 0x1006df1b
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
push edx
mov ecx, ebx
call fcn.10009fb0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0xa4]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
sub eax, edi
push edx
push eax
mov ecx, ebx
call fcn.10009e00
mov eax, dword [esp + 0x20]
sub edi, esi
push edi
add esi, eax
push esi
mov ecx, ebx
call fcn.1000be10
mov byte [esp + 0xbc], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x74], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov esi, dword [esp + 0x70]
test esi, esi
je 0x1006dfa7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1006dfa7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1006dfa7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.100af7db
add esp, 4
mov esi, ebp
call fcn.1001e3f0
mov dword [esp + 0xbc], 0xffffffff
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x34], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1006e00f
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1006e00f
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1006e00f
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], vtable.std::ios_base.0
call fcn.100af7db
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret