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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x89c
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ebx
jne 0x1004fdff
fld qword [ecx + edi*8 - 8]
fstp qword [esp + 0x5c]
fld qword [ecx + esi*8]
fstp qword [esp + 0x64]
jmp 0x1004fe1a
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov eax, dword [ebp + 0x20]
push ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x78]
mov dword [esp + 0x88], ecx
push eax
push 3
mov dword [esp + 0x94], edx
call fcn.100448e0
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp eax, ebx
jne 0x1004ff42
lea ecx, [edi + esi*2]
lea eax, [esi + ecx - 2]
cmp eax, 0x100
ja 0x1004fe88
lea edx, [esp + 0xa8]
mov dword [esp + 0x10], edx
jmp 0x1004feaa
shl eax, 3
push eax
call fcn.10003ce0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x44], eax
jne 0x1004fea6
mov esi, 1
jmp 0x1005058a
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea edx, [esi + edi]
test esi, esi
lea ebx, [ecx + esi*8]
lea eax, [ebx + edx*8 - 0x10]
mov dword [esp + 0x28], eax
jle 0x1004fef7
mov edx, dword [ebp + 0x18]
lea eax, [edx + 8]
mov edx, esi
fld qword [eax + 8]
fld qword [eax]
fmul qword [esp + 0x7c]
fld qword [eax - 8]
fxch st(2)
fmul qword [esp + 0x84]
fxch st(2)
fmul qword [esp + 0x74]
fxch st(2)
faddp st(1)
fxch st(1)
add eax, 0x18
add ecx, 8
dec edx
faddp st(1)
fstp qword [ecx - 8]
jne 0x1004fec8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
push 0
push eax
push ebx
push 0
push ecx
push edx
push esi
push edi
push 1
call fcn.10057d20
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
add esp, 0x24
dec esi
dec edi
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x70]
push ebx
push edx
push esi
push edi
call fcn.10056fc0
add esp, 0x24
jmp 0x10050582
lea eax, [edi + edi]
lea eax, [eax + eax*2]
lea eax, [eax + edi*4 - 5]
cmp eax, 0x100
ja 0x1004ff5c
lea ecx, [esp + 0xa8]
jmp 0x1004ff80
lea ecx, [eax*8]
push ecx
call fcn.10003ce0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x44], eax
jne 0x1004ff7e
mov esi, 1
jmp 0x1005058a
mov ecx, eax
mov eax, edi
mov dword [esp + 0x10], ecx
shl eax, 4
mov dword [esp + 0x20], ebx
lea edx, [eax + ecx]
lea ecx, [edi*8]
mov dword [esp + 0x2c], edx
add edx, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x30], edx
add edx, ecx
mov dword [esp + 0x28], edx
add edx, ecx
mov dword [esp + 0x6c], edx
add edx, ecx
mov dword [esp + 0x70], edx
lea edx, [edx + eax - 0x10]
lea eax, [edi - 1]
cmp eax, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], eax
jge 0x10050579
lea ecx, [eax + 1]
mov edx, dword [ebp + 0x14]
lea eax, [eax + eax*2]
mov dword [esp + 0x14], ecx
shl eax, 3
mov dword [esp + 0x54], eax
lea eax, [edi + edi*2]
shl eax, 3
mov dword [esp + 0x94], eax
lea eax, [edx + ecx*8]
mov ecx, 0xfffffff8
mov dword [esp + 0x18], eax
sub ecx, edx
mov dword [esp + 0x90], ecx
jmp 0x1005000a
mov eax, dword [esp + 0x18]
fld qword [eax - 8]
fcomp qword [eax]
fnstsw ax
test ah, 0x40
jne 0x10050546
mov eax, dword [esp + 0x18]
fld qword [eax]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 1
jne 0x10050546
mov ecx, dword [esp + 0x18]
fld qword [ecx - 8]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 0x41
je 0x10050546
fld qword [ecx - 8]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x1005005c
fld qword [ecx - 8]
fstp qword [esp + 0x38]
jmp 0x1005006c
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
fld qword [ecx]
fcomp qword [esp + 0x64]
fnstsw ax
test ah, 1
je 0x10050081
fld qword [ecx]
fstp qword [esp + 0x48]
jmp 0x10050091
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x90]
lea esi, [eax + edx]
lea eax, [edi*8]
mov edx, esi
mov dword [esp + 0x1c], esi
sub edx, eax
mov eax, dword [esp + 0x24]
sub eax, edi
lea ebx, [eax + 1]
mov eax, dword [esp + 0x14]
cmp ebx, eax
mov dword [esp + 0xc], ebx
jge 0x10050143
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [edx + eax + 8]
mov eax, dword [esp + 0x2c]
lea ecx, [ecx + esi + 0x20]
mov esi, dword [esp + 0x30]
sub esi, eax
sub edi, ebx
fld qword [ecx + 8]
fld qword [ecx - 8]
fmul qword [esp + 0x74]
fld qword [ecx]
fxch st(2)
fmul qword [esp + 0x84]
fxch st(2)
fmul qword [esp + 0x7c]
fxch st(2)
faddp st(1)
fxch st(1)
add ecx, 0x18
add edx, 8
add eax, 8
dec edi
faddp st(1)
fst qword [eax - 8]
fld qword [edx - 8]
fmul st(1)
fstp qword [eax - 8]
mov ebx, dword [edx - 8]
mov dword [esi + eax - 8], ebx
mov ebx, dword [edx - 4]
mov dword [esi + eax - 4], ebx
fstp st(0)
jne 0x100500ee
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov eax, esi
lea ecx, [edi*8]
sub eax, ecx
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jge 0x10050186
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [eax + edx + 8]
mov edx, dword [esp + 0x14]
sub edx, ebx
mov dword [esp + 0xc], edx
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
add ecx, 8
dec edx
mov dword [esp + 0xc], edx
jne 0x1005016b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edi + 1]
cmp edx, eax
mov dword [esp + 0x1c], eax
jge 0x100501c9
mov eax, dword [esp + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x10]
add edx, edi
mov dword [esp + 0xc], edi
lea ecx, [ecx + edx*8 - 8]
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
add ecx, 8
dec edx
mov dword [esp + 0xc], edx
jne 0x100501ae
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push 0
push eax
mov eax, dword [esp + 0x40]
push ecx
push edi
push edx
push eax
push 0xffffffffffffffff
call fcn.10057ca0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
add esp, 0x1c
push 0
push ecx
mov ecx, dword [esp + 0x50]
push edx
push edi
push eax
push ecx
push 1
call fcn.10057ca0
mov ecx, dword [esp + 0x30]
lea eax, [edi*8]
sub esi, eax
add esp, 0x1c
mov eax, esi
mov esi, dword [esp + 0x10]
cmp ebx, ecx
jge 0x10050244
mov edx, dword [ebp + 0x14]
mov ecx, esi
lea eax, [eax + edx + 8]
mov edx, dword [esp + 0x14]
sub edx, ebx
mov ebx, dword [eax]
add eax, 8
mov dword [ecx], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + 4], ebx
add ecx, 8
dec edx
jne 0x10050231
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jge 0x10050275
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
sub ecx, ebx
mov edx, edi
add ecx, edi
lea ecx, [esi + ecx*8 - 8]
mov ebx, dword [eax]
add eax, 8
mov dword [ecx], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + 4], ebx
add ecx, 8
dec edx
jne 0x10050262
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0
push ebx
push esi
push edi
push eax
push ecx
push 0xffffffffffffffff
call fcn.10057ca0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 0x1c
push 0
push ebx
push esi
push edi
push edx
push eax
push 1
call fcn.10057ca0
mov edx, dword [esp + 0x44]
lea eax, [edi - 1]
add esp, 0x1c
test eax, eax
jle 0x10050313
lea eax, [ebx + 8]
mov ebx, dword [esp + 0x2c]
mov esi, ebx
sub ebx, edx
sub esi, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x6c]
mov ecx, edx
sub ebx, edx
mov dword [esp + 0x8c], ebx
lea ebx, [edi - 1]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x1c]
add ecx, 8
fld qword [esi + eax]
fsub qword [ebx + ecx - 8]
mov ebx, dword [esp + 0x8c]
add eax, 8
fstp qword [ecx - 8]
fld qword [eax - 8]
fsub qword [eax - 0x10]
fstp qword [ebx + ecx - 8]
mov ebx, dword [esp + 0xc]
dec ebx
mov dword [esp + 0xc], ebx
jne 0x100502df
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push esi
push ecx
lea eax, [edi - 1]
push edx
mov edx, dword [esp + 0x38]
push eax
push ebx
push edx
push edi
call fcn.10057a10
add esp, 0x1c
lea eax, [edi + edi - 2]
lea ebx, [eax - 1]
push esi
push esi
push ebx
push eax
call fcn.10057510
fld qword [esi]
fcom qword [0x10059f78]
add esp, 0x10
xor edx, edx
mov dword [esp + 0xc], edx
fnstsw ax
test ah, 0x40
je 0x1005035e
mov edx, 1
cmp ebx, 1
jle 0x100503a6
lea eax, [ebx - 1]
lea ecx, [esi + 8]
mov dword [esp + 0x1c], eax
fld qword [ecx]
fmul st(1)
fcomp qword [0x10059f78]
fnstsw ax
test ah, 1
je 0x10050382
inc dword [esp + 0xc]
fld qword [ecx]
fcomp qword [0x10059f78]
fnstsw ax
test ah, 0x40
je 0x10050394
inc edx
jmp 0x10050398
fstp st(0)
fld qword [ecx]
mov eax, dword [esp + 0x1c]
add ecx, 8
dec eax
mov dword [esp + 0x1c], eax
jne 0x1005036d
cmp edx, ebx
fstp st(0)
jne 0x100503e7
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 0x24]
cmp eax, esi
jge 0x100503ce
fld qword [esp + 0x38]
mov ecx, dword [ebp + 0x2c]
fstp qword [ecx + eax*8]
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x100503ce
lea edx, [edi - 1]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, esi
jge 0x100503dd
fld qword [esp + 0x48]
mov edx, dword [ebp + 0x2c]
fstp qword [edx + eax*8]
inc eax
mov dword [esp + 0x20], eax
jmp 0x10050546
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x100503f7
test edx, edx
je 0x10050546
cmp eax, 1
jg 0x10050451
test edx, edx
jg 0x10050451
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x98]
push eax
push ecx
push esi
push ebx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0x3ff00000
call fcn.10056690
add esp, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], 1
jmp 0x10050469
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x50]
push edx
push eax
push esi
push ebx
call fcn.10056990
add esp, 0x10
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
test ecx, ecx
fld qword [edx]
fld qword [0x10059f80]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
fmul qword [esp + 0x38]
faddp st(1)
je 0x1005049f
mov esi, dword [ebp + 0x2c]
fld st(0)
fcomp qword [esi + ecx*8 - 8]
fnstsw ax
test ah, 0x41
jne 0x100504c8
jmp 0x100504a2
mov esi, dword [ebp + 0x2c]
cmp ecx, dword [ebp + 0x24]
jge 0x100504bf
mov eax, dword [ebp + 0x30]
fstp qword [esi + ecx*8]
test eax, eax
je 0x100504c1
mov dword [eax + ecx*4], 0
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x100504ca
fstp st(0)
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x100504ca
fstp st(0)
mov ebx, dword [esp + 0x50]
cmp ebx, 1
jle 0x10050546
cmp ebx, 1
mov dword [esp + 0xc], 1
jle 0x1005053e
mov eax, dword [ebp + 0x30]
add edx, 8
lea esi, [esi + ecx*8 + 8]
lea eax, [eax + ecx*4 + 4]
fld qword [edx]
fld qword [0x10059f80]
mov ebx, dword [ebp + 0x24]
fsub st(1)
fxch st(1)
fmul qword [esp + 0x48]
fxch st(1)
fmul qword [esp + 0x38]
cmp ecx, ebx
faddp st(1)
jge 0x10050520
mov ebx, dword [ebp + 0x30]
fstp qword [esi - 8]
test ebx, ebx
je 0x10050522
mov dword [eax - 4], 0
jmp 0x10050522
fstp st(0)
mov ebx, dword [esp + 0xc]
add eax, 4
inc ebx
add edx, 8
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
add esi, 8
cmp dword [esp + 0xc], ebx
jl 0x100504ee
lea ecx, [ecx + ebx - 1]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
inc eax
add ebx, 0x18
add esi, 8
inc edx
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
jl 0x10050006
mov edx, dword [ebp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x10050597
push eax
call fcn.10003d40
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret