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

Disassembly:
push 0xffffffffffffffff
push 0x10083493
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc8]
push 1
push ebp
lea ecx, [esp + 0x34]
call fcn.10046070
mov esi, dword [esp + 0xcc]
mov dword [esp + 0xb4], 0
test esi, esi
je 0x10046825
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + ecx + 0x3c]
call fcn.1003d570
lea ecx, [esp + 0x20]
call fcn.10015ee0
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov edi, dword [esp + 0xc0]
push esi
lea edx, [esp + eax + 0x38]
lea ecx, [edi + 0x3c]
push edx
call fcn.10042d80
mov esi, dword [esp + 0xbc]
mov eax, dword [esi]
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x38]
push ecx
call edx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x4c]
mov eax, dword [esp + eax + 0x54]
mov dword [esp + 0x20], ecx
shr ecx, 8
add esp, 8
and cl, 1
mov dword [esp + 0x28], eax
je 0x1004687f
test eax, eax
je 0x1004687f
mov bl, 1
jmp 0x10046881
xor bl, bl
mov ecx, dword [esp + 0xc4]
push 0xffffffffffffffff
push 0
call fcn.1001c4c0
test bl, bl
jne 0x10046993
cmp dword [esp + 0x28], 0
jle 0x100468b2
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], 0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
push edx
lea eax, [esp + 0x38]
push eax
call ecx
mov edx, dword [ebp + 0x14]
mov esi, dword [edx]
xor bl, bl
add esp, 8
test byte [edi + 0x60], 2
mov byte [esp + 0x24], bl
je 0x10046920
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
sub eax, esi
je 0x10046908
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.1001ecb0
cmp byte [esi], al
je 0x10046920
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.1001ecb0
cmp byte [esi], al
je 0x10046920
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.1001ecb0
mov bl, al
mov byte [esp + 0x24], bl
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov edx, dword [ebp + 0x14]
sub eax, dword [edx]
mov ecx, dword [edi + 0x5c]
xor edx, edx
test bl, bl
setne dl
mov dword [esp + 0x20], eax
sub ecx, edx
cmp eax, ecx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x20]
jb 0x1004694a
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0x64]
mov edx, dword [edi + 0x60]
mov eax, dword [eax]
shr edx, 2
and dl, 1
mov byte [esp + 0x1c], cl
movzx ecx, dl
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0xd4]
push ecx
push eax
push esi
push edx
call fcn.10041830
add esp, 0x20
jmp 0x10046c40
mov eax, dword [esi]
mov edx, dword [esi + 8]
push eax
lea ecx, [esp + 0x38]
push ecx
call edx
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov edx, dword [esp + 0xc8]
mov edi, eax
add esp, 8
sub edi, ebx
test byte [edx + 0x60], 2
mov byte [esp + 0x17], 0
je 0x100469fb
mov ecx, dword [ebp + 0x14]
sub eax, dword [ecx]
je 0x100469f6
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.1001ecb0
cmp byte [ebx], al
je 0x100469fb
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.1001ecb0
cmp byte [ebx], al
je 0x100469fb
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x28]
cmp edi, eax
jne 0x10046a29
mov ecx, dword [esp + 0xc0]
cmp eax, dword [ecx + 0x5c]
jg 0x10046a29
cmp byte [esp + 0x17], 0
jne 0x10046a29
mov ecx, dword [esp + 0xc4]
push edi
push ebx
call fcn.1001d430
jmp 0x10046c40
push edi
push ebx
mov ebx, dword [esp + 0xcc]
mov ecx, ebx
call fcn.1001d430
mov ecx, ebp
call fcn.1003d430
push 1
push ebp
lea ecx, [esp + 0x74]
call fcn.10046070
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0xcc]
mov ecx, dword [eax + 4]
push edx
lea edx, [esp + ecx + 0x78]
mov ecx, dword [esp + 0xc4]
push edx
add ecx, 0x3c
mov byte [esp + 0xbc], 1
call fcn.10042d80
mov eax, dword [esi]
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x78]
push ecx
call edx
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 4]
add esp, 8
cmp byte [esp + 0x17], 0
lea eax, [esp + eax + 0x74]
mov dword [eax + 0x18], 0
je 0x10046aaf
lea ecx, [esp + 0x74]
push 0x20
push ecx
call fcn.10020bf0
add esp, 8
mov edx, dword [esi]
mov ecx, dword [esi + 8]
push edx
lea eax, [esp + 0x78]
push eax
call ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
add esp, 8
sub eax, dword [ecx]
jne 0x10046aec
mov edx, dword [esp + 0xc0]
test byte [edx + 0x60], 2
je 0x10046aec
lea eax, [esp + 0x74]
push 0x20
push eax
mov byte [esp + 0x1f], 1
call fcn.10020bf0
add esp, 8
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc0]
mov edx, dword [edx + 0x5c]
sub eax, ecx
mov dword [esp + 0x18], eax
cmp eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x18]
jb 0x10046b1a
lea eax, [esp + 0x1c]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
cmp dword [esp + 0x28], esi
ja 0x10046b34
push esi
push ecx
mov ecx, ebx
call fcn.1001d430
jmp 0x10046be2
mov cl, byte [esp + 0x17]
xor eax, eax
test cl, cl
setne al
lea edx, [esp + 0x20]
add edi, eax
mov dword [esp + 0x18], edi
cmp esi, edi
jb 0x10046b51
lea edx, [esp + 0x18]
mov edx, dword [edx]
movzx esi, cl
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
cmp esi, edx
jae 0x10046b94
mov edi, esi
sub edi, eax
cmp edi, dword [ebx + 0x14]
jbe 0x10046b74
call fcn.100661d7
mov edx, dword [esp + 0x18]
cmp dword [ebx + 0x18], 0x10
jb 0x10046b7f
mov eax, dword [ebx + 4]
jmp 0x10046b82
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x24]
mov cl, byte [esi + ecx]
cmp cl, byte [eax + edi]
jne 0x10046b94
inc esi
inc edi
cmp esi, edx
jb 0x10046b66
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp esi, edi
cmovae esi, dword [esp + 0x1c]
push esi
push edx
mov ecx, ebx
call fcn.1001d430
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov cl, byte [esp + edx + 0xa4]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
sub eax, edi
push edx
push eax
mov ecx, ebx
call fcn.1001d2a0
mov eax, dword [esp + 0x24]
sub edi, esi
push edi
add esi, eax
push esi
mov ecx, ebx
call fcn.1001d790
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]
mov byte [esp + 0xb4], 0
test esi, esi
je 0x10046c2b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046c2b
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 0x10046c2b
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.100634ff
add esp, 4
mov ecx, ebp
call fcn.1003d430
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]
mov dword [esp + 0xb4], 0xffffffff
test esi, esi
je 0x10046c93
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10046c93
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 0x10046c93
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.100634ff
add esp, 4
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret