Function at 0x1001c6e0
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 0x1001c776
mov byte [esp + 0x17], 1
test esi, esi
jne 0x1001c77b
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xcc]
push 0xffffffffffffffff
push 0
call fcn.10007a70
cmp byte [esp + 0x17], 0
jne 0x1001c894
test esi, esi
jle 0x1001c7ac
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]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.1000f4d0
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
add esp, 8
test byte [ebx + 0x60], 2
mov byte [esp + 0x20], 0
je 0x1001c81e
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
sub eax, edi
je 0x1001c808
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 0x1001c81e
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 0x1001c81e
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 0x1001c84c
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 0x1001cb32
mov edx, dword [esp + 0xc4]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.1000f4d0
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x14]
mov eax, dword [edx]
mov esi, dword [edi]
mov ecx, dword [esp + 0xd0]
mov ebx, eax
add esp, 8
sub ebx, esi
test byte [ecx + 0x60], 2
mov byte [esp + 0x17], 0
je 0x1001c900
sub eax, esi
je 0x1001c8fb
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 0x1001c900
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 0x1001c900
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x24]
cmp ebx, eax
jne 0x1001c92e
mov ecx, dword [esp + 0xc8]
cmp eax, dword [ecx + 0x5c]
jg 0x1001c92e
cmp byte [esp + 0x17], 0
jne 0x1001c92e
mov ecx, dword [esp + 0xcc]
push ebx
push esi
call fcn.10009fb0
jmp 0x1001cb32
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 0x1001c9a0
lea edx, [esp + 0x74]
push edx
mov cl, 0x20
call fcn.1000f140
add esp, 4
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.1000f4d0
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
add esp, 8
sub eax, dword [ecx]
jne 0x1001c9e4
mov edx, dword [esp + 0xc8]
test byte [edx + 0x60], 2
je 0x1001c9e4
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 0x1001ca12
lea eax, [esp + 0x1c]
mov edi, dword [eax]
mov dword [esp + 0x18], edi
cmp dword [esp + 0x24], edi
ja 0x1001ca31
push edi
push ecx
mov ecx, dword [esp + 0xd4]
call fcn.10009fb0
jmp 0x1001cad4
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 0x1001ca4e
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 0x1001ca89
cmp dword [ebx + 0x18], 0x10
jb 0x1001ca71
mov eax, dword [ebx + 4]
jmp 0x1001ca74
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x20]
mov cl, byte [esi + ecx]
sub eax, edx
cmp cl, byte [eax + esi]
jne 0x1001ca89
inc esi
cmp esi, dword [esp + 0x18]
jb 0x1001ca66
cmp esi, edi
jb 0x1001ca91
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 0x1001cb1d
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001cb1d
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 0x1001cb1d
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 0x1001cb85
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001cb85
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 0x1001cb85
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