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

Disassembly:
push 0xffffffffffffffff
push 0x100a94c1
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d8dd0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea eax, [esp + 0x38]
push eax
call fcn.1002a9d0
mov dword [esp + 0xc0], 0
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx + 4]
mov ebp, dword [esp + 0xcc]
mov eax, dword [esp + 0xd4]
lea ebx, [ebp + 0x3c]
lea edi, [esp + edi + 0x3c]
call fcn.1002acb0
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov edi, dword [esp + eax + 0x4c]
mov ecx, edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + eax + 0x54]
shr ecx, 8
and cl, 1
mov dword [esp + 0x2c], edi
je 0x10028a40
mov byte [esp + 0x1b], 1
test edi, edi
jne 0x10028a45
mov byte [esp + 0x1b], 0
mov ecx, dword [esp + 0xd0]
push 0xffffffffffffffff
push 0
call fcn.1004e360
cmp byte [esp + 0x1b], 0
jne 0x10028b56
test edi, edi
jle 0x10028a76
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x3c]
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0xc8]
fld qword [eax]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
push ecx
call fcn.10028850
mov edx, dword [esi + 0x14]
mov ebx, dword [edx]
xor edi, edi
test byte [ebp + 0x60], 2
je 0x10028aed
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
sub eax, ebx
test eax, 0xfffffffe
je 0x10028ad8
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
push 0x2b
lea ecx, [esp + ecx + 0x40]
call fcn.10046180
cmp word [ebx], ax
je 0x10028aed
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x40]
call fcn.10046180
cmp word [ebx], ax
je 0x10028aed
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
push 0x20
lea ecx, [esp + ecx + 0x40]
call fcn.10046180
movzx edi, ax
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov edx, dword [esi + 0x14]
sub eax, dword [edx]
mov ecx, dword [ebp + 0x5c]
sar eax, 1
xor edx, edx
test di, di
setne dl
mov dword [esp + 0x24], eax
sub ecx, edx
cmp eax, ecx
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x24]
jb 0x10028b1a
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0x6c]
mov edx, dword [ebp + 0x60]
mov eax, dword [eax]
shr edx, 2
and dl, 1
movzx edx, dl
push edx
mov edx, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0xd8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x40]
push ebx
call fcn.1002a6e0
add esp, 0x18
jmp 0x10028e0e
mov eax, dword [esp + 0xc8]
fld qword [eax]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
push ecx
call fcn.10028850
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
mov eax, dword [eax]
mov edi, dword [edx]
mov ecx, dword [esp + 0xcc]
mov ebp, eax
sub ebp, edi
sar ebp, 1
test byte [ecx + 0x60], 2
mov byte [esp + 0x1b], 0
je 0x10028bcd
sub eax, dword [edx]
test eax, 0xfffffffe
je 0x10028bc8
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x40]
call fcn.10046180
cmp word [edi], ax
je 0x10028bcd
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x40]
call fcn.10046180
cmp word [edi], ax
je 0x10028bcd
mov byte [esp + 0x1b], 1
mov eax, dword [esp + 0x2c]
cmp ebp, eax
jne 0x10028bfb
mov edx, dword [esp + 0xcc]
cmp eax, dword [edx + 0x5c]
jg 0x10028bfb
cmp byte [esp + 0x1b], 0
jne 0x10028bfb
mov ecx, dword [esp + 0xd0]
push ebp
push edi
call fcn.1004cd60
jmp 0x10028e0e
mov ecx, dword [esp + 0xd0]
push ebp
push edi
call fcn.1004cd60
call fcn.1002ad60
push esi
lea eax, [esp + 0x78]
push eax
call fcn.1002a9d0
mov byte [esp + 0xc0], 1
mov ecx, dword [esp + 0x7c]
mov edi, dword [ecx + 4]
mov eax, dword [esp + 0xd4]
lea edi, [esp + edi + 0x7c]
call fcn.1002acb0
cmp byte [esp + 0x1b], 0
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x7c]
mov dword [eax + 0x18], 0
je 0x10028c5e
lea eax, [esp + 0x7c]
push eax
call fcn.10034da0
add esp, 4
mov ecx, dword [esp + 0xc8]
fld qword [ecx]
sub esp, 8
lea edx, [esp + 0x84]
fstp qword [esp]
push edx
call fcn.10028850
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov ecx, dword [esi + 0x14]
sub eax, dword [ecx]
test eax, 0xfffffffe
jne 0x10028caa
mov edx, dword [esp + 0xcc]
test byte [edx + 0x60], 2
je 0x10028caa
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x1f], 1
call fcn.10034da0
add esp, 4
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
mov eax, dword [edx]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xcc]
mov edx, dword [edx + 0x5c]
sub eax, ecx
sar eax, 1
mov dword [esp + 0x20], eax
cmp eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x20]
jb 0x10028cda
lea eax, [esp + 0x1c]
mov ebx, dword [eax]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x2c], ebx
ja 0x10028cf9
push ebx
push ecx
mov ecx, dword [esp + 0xd8]
call fcn.1004cd60
jmp 0x10028dc5
mov al, byte [esp + 0x1b]
xor ecx, ecx
test al, al
setne cl
lea edx, [esp + 0x20]
add ebp, ecx
mov dword [esp + 0x1c], ebp
cmp ebx, ebp
jb 0x10028d16
lea edx, [esp + 0x1c]
mov ebp, dword [edx]
movzx eax, al
mov edi, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], eax
cmp edi, ebp
jae 0x10028ea1
sub eax, ecx
mov dword [esp + 0x1c], eax
add eax, eax
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0xd0]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebp + 0x14]
jbe 0x10028d4e
call fcn.1007cbf7
cmp dword [ebp + 0x18], 8
jb 0x10028d59
mov eax, dword [ebp + 4]
jmp 0x10028d5c
lea eax, [ebp + 4]
mov edx, dword [esp + 0x24]
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x20]
cmp cx, word [eax + edx]
jne 0x10028d7e
inc dword [esp + 0x1c]
add dword [esp + 0x20], 2
inc edi
cmp edi, dword [esp + 0x30]
jb 0x10028d39
mov eax, dword [esp + 0x28]
cmp edi, ebx
jb 0x10028d88
mov edi, eax
mov eax, dword [esp + 0x24]
push edi
push eax
mov ecx, ebp
call fcn.1004cd60
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
movzx ecx, word [esp + edx + 0xac]
mov eax, dword [esp + 0x2c]
push ecx
sub eax, ebx
push eax
mov ecx, ebp
call fcn.10048dc0
mov eax, dword [esp + 0x24]
sub ebx, edi
lea ecx, [eax + edi*2]
push ebx
push ecx
mov ecx, ebp
call fcn.100345e0
mov byte [esp + 0xc0], 0
lea edx, [esp + 0x80]
push edx
call fcn.1002ac20
lea eax, [esp + 0x80]
mov dword [esp + 0x28], eax
mov dword [esp + 0x80], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esp + 0xc0], 0
mov ecx, eax
push ecx
mov dword [esp + 0x84], vtable.std::ios_base.0
call fcn.1006a03e
add esp, 4
or edi, 0xffffffff
call fcn.1002ad60
mov dword [esp + 0xc0], edi
lea edx, [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc0], 3
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x3c], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0xc0], edi
lea edx, [esp + 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc0], edi
mov eax, edx
push eax
call fcn.1002ab50
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0xc0], edi
mov edx, ecx
push edx
mov dword [esp + 0x44], vtable.std::ios_base.0
call fcn.1006a03e
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret
mov ebp, dword [esp + 0xd0]
jmp 0x10028d82