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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x101701f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
mov eax, dword [0x101b7f10]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x27c], eax
call fcn.101536c0
push 0x15
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x294], ebx
call fcn.10153db0
test al, al
jne 0x1003fec1
mov esi, 0x80004005
jmp 0x10040239
push 0x100
call fcn.10158aa3
pop ecx
mov dword [edi + 0x148], eax
push 0x304
call fcn.10158aa3
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28c], 1
je 0x1003ff0a
push 0x40
pop ecx
push fcn.1003ddcc
push 0x1003dee9
push ecx
lea esi, [eax + 4]
push 0xc
push esi
mov dword [eax], ecx
call fcn.1015ad62
jmp 0x1003ff0c
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.101537f0
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x1003ff71
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
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.1003cf4a
inc esi
cmp esi, dword [esp + 0x20]
jl 0x1003ff38
add dword [esp + 0x28], 0xc
cmp dword [esp + 0x28], 0x300
jl 0x1003ff22
add ebx, 4
cmp ebx, 0x100
jl 0x1003fed2
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
and dword [esp + 0x1c], 0
cmp dword [esp + 0x20], 0
jle 0x100400d5
push 0x90
call fcn.101589ff
pop ecx
xor esi, esi
cmp eax, esi
je 0x1003ffc9
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.101537f0
lea eax, [esp + 0x27]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537a0
cmp byte [esp + 0x27], 0
lea ecx, [esp + 0x58]
setne al
mov byte [esi], al
lea eax, [esp + 0x50]
push eax
call fcn.101537f0
mov eax, dword [esp + 0x50]
mov dword [esi + 4], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.1003c0b3
and dword [esp + 0x28], 0
cmp dword [esp + 0x34], 0
jle 0x10040076
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
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.1003dea9
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x34]
jl 0x10040030
push 0x40
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0x60]
call fcn.10153740
push 0x18
lea eax, [esi + 0x60]
push eax
lea ecx, [esp + 0x60]
call fcn.10153740
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.1003d06c
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jl 0x1003ffad
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x10040115
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10028943
inc esi
cmp esi, dword [esp + 0x20]
jl 0x100400eb
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
xor esi, esi
cmp dword [esp + 0x20], esi
jle 0x10040155
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.101537f0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10028943
inc esi
cmp esi, dword [esp + 0x20]
jl 0x1004012b
lea ecx, [esp + 0x58]
call fcn.10153700
cmp byte [edi + 0x1a4], 0
je 0x10040237
mov eax, dword [edi + 0x174]
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
jmp 0x1004022f
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x1004021c
fld dword [eax + 0x50]
push ecx
fdiv dword [edi + 0x1a8]
push ecx
fstp qword [esp]
call fcn.1015b1f0
call fcn.101591a4
mov esi, eax
mov eax, dword [ebx + 0x10]
fld dword [eax + 0x58]
fdiv dword [edi + 0x1a8]
fstp qword [esp]
call fcn.1015b1f0
pop ecx
pop ecx
call fcn.101591a4
test esi, esi
jl 0x1004021c
cmp esi, dword [edi + 0x19c]
jge 0x1004021c
test eax, eax
jl 0x1004021c
cmp eax, dword [edi + 0x1a0]
jge 0x1004021c
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.10023835
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.1003cf4a
lea ecx, [esp + 0x1c]
call fcn.1001b92b
mov eax, dword [edi + 0x174]
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jne 0x1004017c
xor esi, esi
or dword [esp + 0x28c], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.10153b90
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x27c]
mov eax, esi
call fcn.1015901e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc