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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1017d096
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
mov eax, dword [0x101cb280]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x27c], eax
call fcn.10153770
push 0x15
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x294], ebx
call fcn.10153e60
test al, al
jne 0x1003ff47
mov esi, 0x80004005
jmp 0x100402bf
push 0x100
call fcn.10165744
pop ecx
mov dword [edi + 0x148], eax
push 0x304
call fcn.10165744
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28c], 1
je 0x1003ff90
push 0x40
pop ecx
push fcn.1003de52
push 0x1003df6f
push ecx
lea esi, [eax + 4]
push 0xc
push esi
mov dword [eax], ecx
call fcn.10167a02
jmp 0x1003ff92
xor esi, esi
mov eax, dword [edi + 0x148]
and dword [esp + 0x28], 0
mov byte [esp + 0x28c], 0
mov dword [ebx + eax], esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x1003fff7
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edi + 0x148]
mov ecx, dword [ebx + eax]
add ecx, dword [esp + 0x30]
call fcn.1003cfd0
inc esi
cmp esi, dword [esp + 0x20]
jl 0x1003ffbe
add dword [esp + 0x28], 0xc
cmp dword [esp + 0x28], 0x300
jl 0x1003ffa8
add ebx, 4
cmp ebx, 0x100
jl 0x1003ff58
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
and dword [esp + 0x1c], 0
cmp dword [esp + 0x20], 0
jle 0x1004015b
push 0x90
call fcn.101656a0
pop ecx
xor esi, esi
cmp eax, esi
je 0x1004004f
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov esi, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], 0
call fcn.101538a0
lea eax, [esp + 0x27]
push eax
lea ecx, [esp + 0x5c]
call fcn.10153850
cmp byte [esp + 0x27], 0
lea ecx, [esp + 0x58]
setne al
mov byte [esi], al
lea eax, [esp + 0x50]
push eax
call fcn.101538a0
mov eax, dword [esp + 0x50]
mov dword [esi + 4], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.1003c30f
and dword [esp + 0x28], 0
cmp dword [esp + 0x34], 0
jle 0x100400fc
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call fcn.1003df2f
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x34]
jl 0x100400b6
push 0x40
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0x60]
call fcn.101537f0
push 0x18
lea eax, [esi + 0x60]
push eax
lea ecx, [esp + 0x60]
call fcn.101537f0
xor eax, eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [edi + 0x170]
mov dword [esp + 0x44], esi
call fcn.1003d0f2
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jl 0x10040033
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x1004019b
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10028a0e
inc esi
cmp esi, dword [esp + 0x20]
jl 0x10040171
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x100401db
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.101538a0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10028a0e
inc esi
cmp esi, dword [esp + 0x20]
jl 0x100401b1
lea ecx, [esp + 0x58]
call fcn.101537b0
cmp byte [edi + 0x1a4], 0
je 0x100402bd
mov eax, dword [edi + 0x174]
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
jmp 0x100402b5
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100402a2
fld dword [eax + 0x50]
push ecx
fdiv dword [edi + 0x1a8]
push ecx
fstp qword [esp]
call fcn.10167e90
call fcn.10165e44
mov esi, eax
mov eax, dword [ebx + 0x10]
fld dword [eax + 0x58]
fdiv dword [edi + 0x1a8]
fstp qword [esp]
call fcn.10167e90
pop ecx
pop ecx
call fcn.10165e44
test esi, esi
jl 0x100402a2
cmp esi, dword [edi + 0x19c]
jge 0x100402a2
test eax, eax
jl 0x100402a2
cmp eax, dword [edi + 0x1a0]
jge 0x100402a2
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [esp + 0x3c]
shl eax, 2
push ecx
mov ecx, dword [edi + 0x198]
mov dword [esp + 0x30], eax
mov eax, dword [eax + ecx]
lea esi, [esi + esi*8]
shl esi, 2
lea ecx, [eax + esi + 0x18]
call fcn.10023900
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x28]
add eax, 4
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x198]
mov ecx, dword [ecx + eax]
add ecx, esi
call fcn.1003cfd0
lea ecx, [esp + 0x1c]
call fcn.100d8422
mov eax, dword [edi + 0x174]
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jne 0x10040202
xor esi, esi
or dword [esp + 0x28c], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.10153c40
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x27c]
mov eax, esi
call fcn.10165cbe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc