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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x1012bf40]
push esi
push eax
push 1
lea ecx, [esp + 0x28]
push 4
push ecx
call fcn.1009cac9
mov edx, dword [0x1012bf40]
push edx
push 1
lea eax, [esp + 0x34]
push 4
push eax
call fcn.1009cac9
mov ecx, dword [0x1012bf40]
push ecx
push 1
lea edx, [esp + 0x4c]
push 4
push edx
call fcn.1009cac9
mov edx, dword [0x1012bf40]
mov esi, dword [0x1012bf38]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
push edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0xffffffff
mov byte [esp + 0xa0], 0xff
mov dword [esp + 0x9c], ecx
call fcn.1009c946
mov ecx, dword [esi - 4]
add esp, 0x34
sub ecx, eax
je 0x100601a9
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, ebx
and edi, 1
and ebx, 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov edx, dword [0x1012bf40]
push edx
push 1
lea eax, [esp + 0x54]
push 0xc
push eax
call fcn.1009cac9
add esp, 0x10
test edi, edi
je 0x1005ff89
mov ecx, dword [0x1012bf40]
push ecx
push 1
lea edx, [esp + 0x60]
push 0xc
push edx
call fcn.1009cac9
add esp, 0x10
test ebx, ebx
je 0x10060126
mov eax, dword [0x1012bf40]
push eax
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.1009cac9
fld dword [esp + 0x20]
fcomp dword [0x10100498]
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x20], edx
fnstsw ax
test ah, 1
je 0x1005ffcb
mov dword [esp + 0x20], 0
jmp 0x1005ffe4
fld dword [esp + 0x10]
fcomp dword [0x101004b8]
fnstsw ax
test ah, 0x41
jne 0x1005ffe4
mov dword [esp + 0x20], 0x3f800000
mov eax, dword [0x1012bf40]
push eax
push 1
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.1009cac9
fld dword [esp + 0x24]
fcomp dword [0x10100498]
mov edx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x24], edx
fnstsw ax
test ah, 1
je 0x1006001e
mov dword [esp + 0x24], 0
jmp 0x10060037
fld dword [esp + 0x14]
fcomp dword [0x101004b8]
fnstsw ax
test ah, 0x41
jne 0x10060037
mov dword [esp + 0x24], 0x3f800000
mov eax, dword [0x1012bf40]
push eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.1009cac9
fld dword [esp + 0x28]
fcomp dword [0x10100498]
mov edx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x28], edx
fnstsw ax
test ah, 1
je 0x10060071
mov dword [esp + 0x28], 0
jmp 0x1006008a
fld dword [esp + 0x18]
fcomp dword [0x101004b8]
fnstsw ax
test ah, 0x41
jne 0x1006008a
mov dword [esp + 0x28], 0x3f800000
mov eax, dword [0x1012bf40]
push eax
push 1
lea ecx, [esp + 0x24]
push 4
push ecx
call fcn.1009cac9
fld dword [esp + 0x2c]
fld dword [esp + 0x2c]
add esp, 0x10
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x100600c0
fstp st(0)
fld dword [0x10100498]
jmp 0x100600d9
fld dword [esp + 0x1c]
fcomp dword [0x101004b8]
fnstsw ax
test ah, 0x41
jne 0x100600d9
fstp st(0)
fld dword [0x101004b8]
fmul dword [0x101004c8]
call fcn.1009a92c
fld dword [esp + 0x20]
fmul dword [0x101004c8]
mov esi, eax
shl esi, 8
call fcn.1009a92c
fld dword [esp + 0x24]
fmul dword [0x101004c8]
or esi, eax
shl esi, 8
call fcn.1009a92c
fld dword [esp + 0x28]
fmul dword [0x101004c8]
or esi, eax
shl esi, 8
call fcn.1009a92c
or esi, eax
mov dword [esp + 0x64], esi
xor esi, esi
test ebp, ebp
jle 0x10060173
mov edx, dword [esp + 0x30]
lea ebx, [edx*4]
lea edi, [esp + 0x68]
mov eax, dword [0x1012bf40]
push eax
push 1
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.1009cac9
add esp, 0x10
cmp esi, 2
jge 0x10060163
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [edi], edx
mov dword [edi + 4], eax
inc esi
add edi, 8
cmp esi, ebp
jl 0x1006013b
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x4c]
push ecx
call fcn.10078d00
mov edx, dword [0x1012bf40]
mov esi, dword [0x1012bf38]
push edx
call fcn.1009c946
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x1005ff55
mov eax, dword [esp + 0x2c]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x7c
ret
mov eax, dword [esp + 0x20]
pop esi
add esp, 0x7c
ret