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

Disassembly:
push 0xffffffffffffffff
push 0x100e3323
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc8]
lea eax, [esp + 0x2c]
push eax
mov edi, ebp
call fcn.1001dd50
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xb8], 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 0x10028b76
mov byte [esp + 0x17], 1
test esi, esi
jne 0x10028b7b
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xc4]
push 0xffffffffffffffff
push 0
call fcn.10007a70
cmp byte [esp + 0x17], 0
jne 0x10028c8f
test esi, esi
jle 0x10028bac
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
lea eax, [esp + eax + 0x34]
mov dword [eax + 0x18], 0
lea eax, [esp + 0x34]
push str.Unknown_error
push eax
call fcn.1000f4d0
mov ecx, dword [ebp + 0x14]
mov edi, dword [ecx]
add esp, 8
test byte [ebx + 0x60], 2
mov byte [esp + 0x20], 0
je 0x10028c19
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
sub eax, edi
je 0x10028c03
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push 0x2b
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
cmp byte [edi], al
je 0x10028c19
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
push 0x2d
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
cmp byte [edi], al
je 0x10028c19
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
push 0x20
lea ecx, [esp + ecx + 0x38]
call fcn.1000ded0
mov byte [esp + 0x20], al
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
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 0x10028c47
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 + 0xe0]
call fcn.1001e460
add esp, 0x1c
jmp 0x10028f23
lea edx, [esp + 0x34]
push str.Unknown_error
push edx
call fcn.1000f4d0
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x14]
mov eax, dword [eax]
mov esi, dword [edi]
mov ecx, dword [esp + 0xc8]
mov ebx, eax
add esp, 8
sub ebx, esi
test byte [ecx + 0x60], 2
mov byte [esp + 0x17], 0
je 0x10028cf6
sub eax, esi
je 0x10028cf1
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 0x10028cf6
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 0x10028cf6
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x24]
cmp ebx, eax
jne 0x10028d24
mov ecx, dword [esp + 0xc0]
cmp eax, dword [ecx + 0x5c]
jg 0x10028d24
cmp byte [esp + 0x17], 0
jne 0x10028d24
mov ecx, dword [esp + 0xc4]
push ebx
push esi
call fcn.10009fb0
jmp 0x10028f23
mov ecx, dword [esp + 0xc4]
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 + 0xc0]
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0xcc]
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 0x10028d96
lea edx, [esp + 0x74]
push edx
mov cl, 0x20
call fcn.1000f140
add esp, 4
lea eax, [esp + 0x74]
push str.Unknown_error
push eax
call fcn.1000f4d0
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov edx, dword [ebp + 0x14]
add esp, 8
sub eax, dword [edx]
jne 0x10028dd5
mov eax, dword [esp + 0xc0]
test byte [eax + 0x60], 2
je 0x10028dd5
lea ecx, [esp + 0x74]
push ecx
mov cl, 0x20
mov byte [esp + 0x1b], 1
call fcn.1000f140
add esp, 4
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov edx, dword [esp + 0xc0]
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 0x10028e03
lea eax, [esp + 0x1c]
mov edi, dword [eax]
mov dword [esp + 0x18], edi
cmp dword [esp + 0x24], edi
ja 0x10028e22
push edi
push ecx
mov ecx, dword [esp + 0xcc]
call fcn.10009fb0
jmp 0x10028ec5
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 0x10028e3f
lea ecx, [esp + 0x1c]
mov ecx, dword [ecx]
mov ebx, dword [esp + 0xc4]
movzx esi, al
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
cmp esi, ecx
jae 0x10028e7a
cmp dword [ebx + 0x18], 0x10
jb 0x10028e62
mov eax, dword [ebx + 4]
jmp 0x10028e65
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x20]
mov cl, byte [esi + ecx]
sub eax, edx
cmp cl, byte [eax + esi]
jne 0x10028e7a
inc esi
cmp esi, dword [esp + 0x18]
jb 0x10028e57
cmp esi, edi
jb 0x10028e82
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 + 0xb8], 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 0x10028f0e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10028f0e
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 0x10028f0e
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 + 0xb8], 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 0x10028f76
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10028f76
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 0x10028f76
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 + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret