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

Disassembly:
push 0xffffffffffffffff
push 0x100e2a23
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebp
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov edi, ebx
call fcn.1001de00
mov ebp, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xb8], 0
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 4]
lea edi, [ebp + 0x3c]
lea esi, [esp + esi + 0x34]
call fcn.1001e570
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov esi, dword [esp + eax + 0x44]
mov edi, dword [esp + eax + 0x4c]
mov ecx, esi
shr ecx, 8
and cl, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edi
je 0x1001c1de
mov byte [esp + 0x17], 1
test edi, edi
jne 0x1001c1e3
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xc8]
push 0xffffffffffffffff
xor esi, esi
push esi
call fcn.1000c6a0
cmp byte [esp + 0x17], 0
jne 0x1001c2f5
cmp edi, esi
jle 0x1001c211
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], esi
mov eax, dword [esp + 0xc0]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.1001edc0
mov edx, dword [ebx + 0x14]
mov edi, dword [edx]
add esp, 8
test byte [ebp + 0x60], 2
mov dword [esp + 0x18], edi
je 0x1001c286
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
sub eax, edi
test eax, 0xfffffffe
je 0x1001c271
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.1001d8d0
cmp word [edi], ax
je 0x1001c286
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.1001d8d0
cmp word [edi], ax
je 0x1001c286
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.1001d8d0
movzx esi, ax
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
mov edx, dword [ebx + 0x14]
sub eax, dword [edx]
mov ecx, dword [ebp + 0x5c]
sar eax, 1
mov edi, eax
xor eax, eax
test si, si
setne al
mov dword [esp + 0x20], edi
sub ecx, eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x20]
cmp edi, ecx
jb 0x1001c2b5
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 0x60]
movzx edi, word [esp + edx + 0x64]
mov eax, dword [eax]
shr ecx, 2
and cl, 1
movzx edx, cl
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push esi
push ecx
push edi
mov edi, dword [esp + 0xd8]
push eax
mov eax, dword [esp + 0x38]
push edx
call fcn.1001e620
add esp, 0x18
jmp 0x1001c59c
mov eax, dword [esp + 0xc0]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.1001edc0
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x14]
mov eax, dword [eax]
mov esi, dword [edx]
mov ecx, dword [esp + 0xcc]
mov ebp, eax
sub ebp, esi
add esp, 8
sar ebp, 1
test byte [ecx + 0x60], 2
mov byte [esp + 0x17], 0
je 0x1001c368
sub eax, dword [edx]
test eax, 0xfffffffe
je 0x1001c363
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.1001d8d0
cmp word [esi], ax
je 0x1001c368
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.1001d8d0
cmp word [esi], ax
je 0x1001c368
mov byte [esp + 0x17], 1
cmp ebp, edi
jne 0x1001c392
mov edx, dword [esp + 0xc4]
cmp edi, dword [edx + 0x5c]
jg 0x1001c392
cmp byte [esp + 0x17], 0
jne 0x1001c392
mov ecx, dword [esp + 0xc8]
push ebp
push esi
call fcn.1000c5b0
jmp 0x1001c59c
mov ecx, dword [esp + 0xc8]
push ebp
push esi
call fcn.1000c5b0
mov esi, ebx
call fcn.1001e3f0
lea eax, [esp + 0x6c]
push eax
mov edi, ebx
call fcn.1001de00
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
mov byte [esp + 0xb8], 1
mov ecx, dword [esp + 0x74]
mov esi, dword [ecx + 4]
lea esi, [esp + esi + 0x74]
add edi, 0x3c
call fcn.1001e570
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
je 0x1001c402
lea eax, [esp + 0x74]
push eax
call fcn.1001e730
add esp, 4
mov ecx, dword [esp + 0xc0]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.1001edc0
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
sub eax, dword [ecx]
add esp, 8
test eax, 0xfffffffe
jne 0x1001c447
mov edx, dword [esp + 0xc4]
test byte [edx + 0x60], 2
je 0x1001c447
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1b], 1
call fcn.1001e730
add esp, 4
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x14]
mov eax, dword [edx]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc4]
mov edx, dword [edx + 0x5c]
sub eax, ecx
sar eax, 1
mov dword [esp + 0x18], eax
cmp eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x18]
jb 0x1001c477
lea eax, [esp + 0x1c]
mov edi, dword [eax]
mov dword [esp + 0x18], edi
cmp dword [esp + 0x24], edi
ja 0x1001c496
push edi
push ecx
mov ecx, dword [esp + 0xd0]
call fcn.1000c5b0
jmp 0x1001c53e
mov al, byte [esp + 0x17]
xor ecx, ecx
test al, al
setne cl
lea edx, [esp + 0x18]
add ebp, ecx
mov dword [esp + 0x1c], ebp
cmp edi, ebp
jb 0x1001c4b3
lea edx, [esp + 0x1c]
mov ebp, dword [edx]
movzx eax, al
mov esi, eax
mov dword [esp + 0x18], ebp
cmp esi, ebp
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x1c], eax
jae 0x1001c4fb
sub eax, ecx
add eax, eax
cmp dword [ebp + 0x18], 8
jb 0x1001c4dc
mov ecx, dword [ebp + 4]
jmp 0x1001c4df
lea ecx, [ebp + 4]
mov edx, dword [esp + 0x20]
mov dx, word [edx + esi*2]
cmp dx, word [ecx + eax]
jne 0x1001c4f7
inc esi
add eax, 2
cmp esi, dword [esp + 0x18]
jb 0x1001c4d1
mov eax, dword [esp + 0x1c]
cmp esi, edi
jb 0x1001c501
mov esi, eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov ecx, ebp
call fcn.1000c5b0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0xa4]
mov eax, dword [esp + 0x24]
push ecx
sub eax, edi
push eax
mov ecx, ebp
call fcn.10015bb0
mov eax, dword [esp + 0x20]
sub edi, esi
lea ecx, [eax + esi*2]
push edi
push ecx
mov ecx, ebp
call fcn.1000c490
mov byte [esp + 0xb8], 0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x74], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov esi, dword [esp + 0x70]
test esi, esi
je 0x1001c587
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001c587
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001c587
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.100af7db
add esp, 4
mov esi, ebx
call fcn.1001e3f0
mov dword [esp + 0xb8], 0xffffffff
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x34], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1001c5ef
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001c5ef
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001c5ef
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], vtable.std::ios_base.0
call fcn.100af7db
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xac
ret