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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 0x14]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x40c38800
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xc0c38800
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x40c38800
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc0c38800
call fcn.00427000
mov ebx, dword [eax]
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x60], edi
cmp dword [ebx + 8], 4
setne al
dec eax
and eax, ebx
mov dword [esp + 0x68], eax
je 0x41c91a
mov eax, dword [eax + 0x78]
cmp eax, edi
je 0x41c914
mov eax, dword [eax + 4]
jmp 0x41c916
xor eax, eax
mov dword [esp + 0x60], eax
mov ecx, dword [esi + 0x14]
push 1
call fcn.00427000
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x50]
cmp eax, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
jle 0x41cc35
mov eax, dword [esi + 0x54]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x74], eax
mov edx, dword [eax - 8]
mov dword [esp + 0x6c], edi
cmp edx, edi
mov dword [esp + 0x64], edx
jle 0x41cc04
jmp 0x41c965
mov eax, dword [esp + 0x74]
mov edx, dword [ebx]
lea ecx, [esp + 0x6c]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov edx, dword [ebx]
mov edi, eax
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x41ca78
fild dword [esp + 0x48]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41c9a2
fst qword [esp + 0x28]
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41c9b5
fstp qword [esp + 0x20]
jmp 0x41c9b7
fstp st(0)
fild dword [esp + 0x50]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41c9cc
fst qword [esp + 0x28]
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41c9df
fstp qword [esp + 0x20]
jmp 0x41c9e1
fstp st(0)
fild dword [esp + 0x44]
fmul qword [esp + 0x38]
fmul qword [0x4d89f8]
fadd qword [esp + 0x10]
fild dword [esp + 0x4c]
fmul qword [esp + 0x38]
fmul qword [0x4d89f8]
fadd qword [esp + 0x10]
fstp qword [esp + 0x58]
fld qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41ca1a
fst qword [esp + 0x18]
fld qword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41ca2d
fstp qword [esp + 0x30]
jmp 0x41ca2f
fstp st(0)
fld qword [esp + 0x58]
fld qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41ca44
fst qword [esp + 0x18]
fld qword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41ca57
fstp qword [esp + 0x30]
jmp 0x41ca59
fstp st(0)
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x28]
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fmul qword [esp + 0x38]
fmul qword [0x4d89f8]
jmp 0x41cbb9
mov ecx, dword [esp + 0x68]
push edi
call fcn.00417d30
mov ebx, eax
lea eax, [esp + 0x56]
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x70]
push ebx
call fcn.00417d00
movsx eax, word [esp + 0x54]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
sub edx, eax
sub ecx, eax
movsx eax, word [esp + 0x56]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x48]
fild dword [esp + 0x44]
fld qword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x50]
fcomp st(1)
sub edx, eax
sub ecx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
fnstsw ax
test ah, 0x41
jne 0x41cadf
fst qword [esp + 0x18]
fld qword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41caf2
fstp qword [esp + 0x30]
jmp 0x41caf4
fstp st(0)
fild dword [esp + 0x4c]
fld qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41cb09
fst qword [esp + 0x18]
fld qword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41cb1c
fstp qword [esp + 0x30]
jmp 0x41cb1e
fstp st(0)
fild dword [esp + 0x48]
fmul qword [esp + 0x38]
fmul qword [0x4d89f8]
fadd qword [esp + 0x10]
fild dword [esp + 0x50]
fmul qword [esp + 0x38]
fmul qword [0x4d89f8]
fadd qword [esp + 0x10]
fstp qword [esp + 0x58]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41cb57
fst qword [esp + 0x28]
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41cb6a
fstp qword [esp + 0x20]
jmp 0x41cb6c
fstp st(0)
fld qword [esp + 0x58]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41cb81
fst qword [esp + 0x28]
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x41cb94
fstp qword [esp + 0x20]
jmp 0x41cb96
fstp st(0)
mov ecx, dword [esp + 0x68]
push ebx
call fcn.00417cf0
movsx edx, ax
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x70]
fild dword [esp + 0x58]
fmul qword [esp + 0x38]
fmul qword [0x4d89f8]
fadd qword [esp + 0x10]
cmp edi, 0x20
fstp qword [esp + 0x10]
jne 0x41cbda
mov ecx, dword [esi + 0x14]
push 3
call fcn.00427000
fld qword [eax]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [esi + 0x14]
push 2
call fcn.00427000
fld qword [eax]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
fadd qword [esp + 0x10]
cmp ecx, eax
fstp qword [esp + 0x10]
jl 0x41c961
mov ecx, dword [esp + 0x40]
xor edi, edi
mov eax, dword [esi + 0x50]
cmp eax, 1
jle 0x41cc28
cmp ecx, eax
jge 0x41cc28
mov edx, dword [esi + 0x58]
fld qword [esp + 0x38]
fmul qword [edx + ecx*8]
fmul qword [0x4d89f8]
fsubr qword [esp + 0x10]
fstp qword [esp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x40], ecx
jl 0x41c942
mov eax, dword [esp + 0x60]
cmp eax, edi
mov eax, dword [ebp + 8]
je 0x41cc83
cmp eax, edi
je 0x41cc49
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x41cc5d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
fld qword [esp + 0x38]
fmul qword [esp + 0x18]
fmul qword [0x4d89f8]
fstp qword [esp + 0x18]
fld qword [esp + 0x38]
fmul qword [esp + 0x30]
fmul qword [0x4d89f8]
fstp qword [esp + 0x30]
jmp 0x41ccc0
cmp eax, edi
je 0x41cc90
fld qword [esp + 0x10]
fmul qword [ebp + 0x10]
fstp qword [eax]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x41cc9c
mov dword [eax], edi
mov dword [eax + 4], edi
fld qword [esp + 0x38]
fmul qword [esp + 0x28]
fmul qword [0x4d89f8]
fstp qword [esp + 0x28]
fld qword [esp + 0x38]
fmul qword [esp + 0x20]
fmul qword [0x4d89f8]
fstp qword [esp + 0x20]
mov ecx, dword [esi + 0x14]
push 4
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x3ff00000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x3ff00000
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.00427000
push eax
lea ecx, [esp + 0x7c]
call fcn.00421f20
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x18]
lea ebx, [esi + 0x20]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xa4], eax
mov dword [ebx], ecx
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0x28]
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0x38]
mov dword [esp + 0x40], ecx
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov ecx, dword [esp + 0x20]
lea edi, [esi + 0x30]
mov edx, dword [esp + 0x24]
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
push ecx
push edi
push eax
push ebx
lea ecx, [esp + 0x88]
mov dword [edi + 4], edx
call fcn.00422020
fld qword [edi]
fadd qword [0x4d89f0]
mov ecx, dword [esi + 0x14]
push 5
fstp qword [edi]
call fcn.00427000
mov eax, dword [eax]
cmp eax, 1
je 0x41ce03
cmp eax, 2
je 0x41ce03
cmp eax, 5
je 0x41ce03
cmp eax, 6
jne 0x41ce39
mov esi, dword [esi + 0x18]
push 4
mov ecx, esi
call fcn.00427000
fld qword [eax]
fmul qword [0x4d89f0]
fld qword [ebx]
mov eax, dword [esp + 0x64]
fsub st(1)
fstp qword [ebx]
fld st(0)
fadd qword [eax]
fstp qword [eax]
mov eax, dword [esp + 0x40]
fld st(0)
fadd qword [edi]
fstp qword [edi]
fld qword [eax]
fsub st(1)
fstp qword [eax]
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10