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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a6c69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, ecx
cmp word [ebp + 8], 0
mov dword [esp + 0x3c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
mov cx, word [eax + 0x42]
mov dx, word [eax + 0x44]
mov word [esp + 0x40], cx
mov word [esp + 0x10], dx
je 0x417d54
push 0x3840
call fcn.00586401
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xa0], 0
je 0x417d41
mov esi, eax
mov ebx, 0x4b0
mov ecx, esi
call fcn.00479c40
add esi, 0xc
dec ebx
jne 0x417d1f
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x417d8d
xor eax, eax
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x417d8d
push 0xc
call fcn.00586401
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
test esi, esi
mov dword [esp + 0xa0], 1
je 0x417d7c
mov ecx, esi
call fcn.00479c40
jmp 0x417d7e
xor esi, esi
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0x20]
mov esi, 1
mov dword [eax], 0
movsx eax, word [esp + 0x10]
test eax, eax
mov dword [esp + 0x48], eax
jle 0x417dd7
movsx edx, word [esp + 0x40]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xc], eax
xor eax, eax
test edx, edx
jle 0x417dc9
mov ebx, dword [ecx]
inc eax
cmp eax, edx
mov dword [ebx + eax*4 - 4], 0
jl 0x417dba
mov eax, dword [esp + 0xc]
add ecx, 4
dec eax
mov dword [esp + 0xc], eax
jne 0x417db4
mov ecx, dword [edi]
mov ebx, dword [ecx + 0x20]
add ebx, 0x28
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
jmp 0x417df3
mov eax, dword [esp + 0x14]
movsx edx, word [ebx]
cmp eax, edx
jge 0x4180bb
mov ecx, dword [edi]
push eax
fld dword [ecx + 0x30]
fmul dword [ebp + 0x10]
mov ecx, ebx
fmul dword [0x5cb220]
fstp dword [esp + 0x3c]
call fcn.00426200
test ax, ax
je 0x417e31
mov edx, dword [esp + 0x14]
mov ecx, ebx
push edx
call fcn.004261d0
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x417e60
movsx ecx, word [ebx]
fild dword [esp + 0x14]
mov dword [esp + 0x10], ecx
push ecx
fidiv dword [esp + 0x14]
fstp dword [esp]
call eax
mov esi, eax
add esp, 4
test si, si
jne 0x417e60
mov edx, dword [ebp + 0x20]
mov dword [edx], 3
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
mov ecx, dword [eax + ecx + 8]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x4c], ecx
add eax, 0x1c
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x64], eax
xor eax, eax
test si, si
mov dword [esp + 0x10], eax
je 0x41808c
jmp 0x417ea4
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x18]
movsx edx, word [ecx + 0xc]
cmp eax, edx
jge 0x41808c
mov edx, dword [ebp + 0x20]
push edx
mov edx, dword [esp + 0x24]
push 0
push edx
lea edx, [esp + 0x50]
push edx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
lea edx, [esp + 0x78]
push edx
push eax
call fcn.00429430
mov esi, eax
mov dword [esp + 0x1c], 0
test si, si
je 0x418076
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jge 0x418076
xor ebx, ebx
test si, si
mov dword [esp + 0x30], ebx
je 0x418059
movsx eax, word [esp + 0x40]
cmp ebx, eax
jge 0x418059
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
push eax
push ebx
mov ecx, dword [edx + 0x1c]
lea edx, [esp + 0x88]
push edx
call fcn.00421060
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi]
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x5c]
mov eax, dword [eax + 8]
push edx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
fld dword [ecx + 0x2c]
lea ecx, [esp + 0x90]
push eax
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
push ecx
call fcn.0041e7a0
mov edx, dword [eax]
add esp, 0xc
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
mov edx, dword [eax + 8]
mov dword [esp + 0x70], edx
call fcn.0041e2c0
xor edi, edi
test si, si
je 0x418047
mov ebx, dword [esp + 0x20]
cmp edi, dword [esp + 0x44]
jge 0x418043
mov ecx, ebx
call fcn.0041e2e0
fst qword [esp + 0x24]
fcomp qword [0x5cb1a8]
fnstsw ax
test ah, 0x40
jne 0x418036
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.0041e6f0
fst qword [esp + 0x74]
fdiv qword [esp + 0x24]
sub esp, 8
fchs
fstp qword [esp]
call fcn.004204f0
fmul qword [0x5cb218]
add esp, 8
fst qword [esp + 0x24]
fcomp qword [0x5cb200]
fnstsw ax
test ah, 1
jne 0x4180ab
fld qword [esp + 0x24]
fcomp qword [0x5cb1f8]
mov esi, 1
fnstsw ax
test ah, 0x41
je 0x418036
fld dword [esp + 0x38]
fmul qword [esp + 0x74]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
fdivp st(1)
mov eax, dword [edx]
lea eax, [eax + ecx*4]
fsubr dword [eax]
fstp dword [eax]
inc edi
add ebx, 0xc
test si, si
jne 0x417f9c
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
inc ebx
test si, si
mov dword [esp + 0x30], ebx
jne 0x417f10
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
inc edx
add ecx, 4
test si, si
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], ecx
jne 0x417ef1
mov eax, dword [esp + 0x10]
inc eax
test si, si
mov dword [esp + 0x10], eax
jne 0x417e9c
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
inc edx
add ecx, 0xc
test si, si
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
jne 0x417def
jmp 0x4180e1
mov ecx, dword [ebp + 0x20]
xor esi, esi
mov dword [ecx], 5
jmp 0x418036
test si, si
je 0x4180e1
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4180e1
push 0x3f800000
call eax
mov esi, eax
add esp, 4
test si, si
jne 0x4180e1
mov edx, dword [ebp + 0x20]
mov dword [edx], 3
mov eax, dword [esp + 0x20]
push eax
call fcn.0058642a
mov ecx, dword [esp + 0x9c]
add esp, 4
mov ax, si
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c