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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101d45f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov ecx, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
cmp ecx, esi
push edi
je 0x1019b32a
mov edx, dword [ebp + 0x14]
cmp edx, esi
je 0x1019b32a
fld qword [ebp + 0x24]
fcomp qword [0x10200f40]
mov dword [esp + 0x20], esi
fnstsw ax
test ah, 0x40
jne 0x1019aff8
mov dword [esp + 0x20], 1
mov eax, ecx
add edx, ecx
add ecx, 0x18
mov dword [esp + 0x1c], esi
cmp ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
jae 0x1019b311
mov edi, dword [ebp + 0x18]
jmp 0x1019b022
mov eax, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
mov dword [esp + 0x18], esi
jne 0x1019b2ed
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
mov ecx, dword [eax]
je 0x1019b047
cmp ecx, 1
je 0x1019b050
jmp 0x1019b2ed
cmp ecx, 2
jne 0x1019b2ed
cmp dword [edi + 4], esi
jle 0x1019b2ed
lea edx, [esp + 0x78]
push esi
push edx
mov ecx, edi
call fcn.1019c170
mov eax, dword [eax]
cmp byte [eax + 1], 8
sete bl
lea ecx, [esp + 0x80]
mov dword [esp + 0xa0], 0
call fcn.100c88e0
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.100c88e0
test bl, bl
je 0x1019b25f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1019b187
lea ecx, [esp + 0x58]
push esi
push ecx
mov ecx, edi
call fcn.1019c170
mov ebx, dword [eax]
mov dword [esp + 0xa0], 1
test ebx, ebx
mov dword [esp + 0x14], 0
je 0x1019b153
fld qword [ebp + 0x24]
fcomp qword [0x10200f40]
fnstsw ax
test ah, 0x40
jne 0x1019b14b
mov ax, word [ebx + 0xc]
test ax, ax
jne 0x1019b0f3
cmp word [ebx + 0xe], ax
je 0x1019b14b
and eax, 0xffff
push eax
call fcn.1019bef0
fstp qword [esp + 0x30]
xor edx, edx
mov dx, word [ebx + 0xe]
push edx
call fcn.1019bf70
fcom qword [0x10200f40]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x1019b12a
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 1
jne 0x1019b153
jmp 0x1019b12c
fstp st(0)
fld qword [esp + 0x2c]
fcomp qword [0x10200f40]
fnstsw ax
test ah, 0x40
jne 0x1019b14b
fld qword [esp + 0x2c]
fcomp qword [ebp + 0x24]
fnstsw ax
test ah, 0x41
je 0x1019b153
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0xa0], 2
call fcn.100c88e0
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.100c88e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1019b25f
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, edi
call fcn.1019c170
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.10093a8f
add esp, 8
test eax, eax
sete bl
lea ecx, [esp + 0x40]
mov dword [esp + 0xa0], 3
call fcn.100c88e0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.100c88e0
test bl, bl
push esi
jne 0x1019b26d
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call fcn.1019c170
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
sete bl
lea ecx, [esp + 0x50]
mov dword [esp + 0xa0], 5
call fcn.100c88e0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.100c88e0
test bl, bl
je 0x1019b25f
lea ecx, [esp + 0x68]
push esi
push ecx
mov ecx, edi
call fcn.1019c170
mov edx, dword [eax]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x70]
mov dword [esp + 0xa0], 6
call fcn.100c88e0
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.100c88e0
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x1019b059
jmp 0x1019b2b0
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
call fcn.1019c170
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0xa0], 4
call fcn.100c88e0
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.100c88e0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1019b2e9
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
sete dl
xor ecx, ecx
push edx
mov edx, dword [ebp + 0x20]
test esi, esi
sete cl
push ecx
push eax
mov eax, dword [ebp + 0x1c]
push edx
push eax
call fcn.1019ada0
add esp, 0x14
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lea ecx, [edx + ecx*2]
lea eax, [eax + ecx + 0x1b]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
add eax, 0x18
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x1019b01c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x98]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret