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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
mov esi, eax
mov edi, edi
cmp dword [esi + 0x58], 4
jne 0x41c6bf
lea eax, [esi + 0x1e0]
push 0
push eax
call fcn.0041f690
add esp, 8
test eax, eax
jne 0x41ca0c
mov edi, 4
cmp dword [esi + 0x58], edi
jne 0x41c7a0
lea edi, [esi + 0x78]
lea eax, [esp + 0x40]
push eax
push edi
call fcn.00433fd0
add esp, 8
cmp eax, 0xffffffff
je 0x41c6a0
test eax, eax
jle 0x41c79b
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
lea edx, [esp + 0x40]
push edx
lea eax, [esi + 0x250]
push eax
mov dword [esp + 0x24], ecx
call fcn.0041df90
add esp, 8
test eax, eax
jne 0x41c6d0
push eax
lea edi, [esi + 0x1e0]
push edi
call fcn.0041f690
add esp, 8
test eax, eax
jne 0x41ca00
lea ecx, [esi + 0x250]
push ecx
push edi
call fcn.0041eca0
push 0
push edi
call fcn.0041f690
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea eax, [edx*8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
fadd qword [esi + 0x70]
mov ecx, ebx
and ecx, edx
add esp, 0x10
fstp qword [esi + 0x70]
fild dword [esp + 0x10]
fadd qword [esi + 0x68]
fstp qword [esi + 0x68]
cmp ecx, 0xffffffff
je 0x41c6a0
cmp dword [esp + 0x4c], 0
jne 0x41c6a0
mov ecx, dword [esi + 4]
xor edi, edi
cmp ecx, edi
je 0x41c91d
mov eax, dword [esi + 0x60]
mov dword [esp + 0x10], eax
jmp 0x41c923
mov edi, 4
cmp dword [esi + 0x58], 2
jl 0x41c80e
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
push ecx
call fcn.00419950
add esp, 0xc
test edx, edx
jl 0x41c802
jg 0x41c7c1
test eax, eax
jb 0x41c802
mov edx, dword [esp + 0x34]
lea eax, [edx*8]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fadd qword [esi + 0x68]
fstp qword [esi + 0x68]
cmp dword [esi + 0x58], edi
jne 0x41c817
lea ecx, [esp + 0x30]
push ecx
call fcn.00433480
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x41c80e
lea edx, [esp + 0x30]
push edx
call fcn.004333d0
add esp, 4
test eax, eax
je 0x41c7a6
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x58], edi
je 0x41c8e3
cmp dword [esi + 0x58], 3
jge 0x41c891
cmp dword [esi + 4], 0
je 0x41c870
lea eax, [esp + 0x30]
push eax
call fcn.00433480
mov ebx, dword [esi + 0x34]
add esp, 4
xor ecx, ecx
test ebx, ebx
jle 0x41c84c
mov edx, dword [esi + 0x40]
lea esp, [esp]
cmp dword [edx], eax
je 0x41c84c
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x41c840
cmp ecx, ebx
je 0x41c6bf
mov dword [esi + 0x60], ecx
push eax
lea ecx, [esi + 0x78]
push ecx
mov dword [esi + 0x5c], eax
call fcn.00433e60
add esp, 8
mov dword [esi + 0x58], 3
jmp 0x41c89b
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
lea edx, [esi + 0x5c]
push edx
push eax
push ecx
lea eax, [esp + 0x3c]
mov ecx, esi
call fcn.0041a010
add esp, 0xc
test eax, eax
jne 0x41c900
inc dword [esi + 0x60]
mov eax, dword [esi + 0x58]
cmp eax, 3
jg 0x41c8e3
jl 0x41c8f9
cmp dword [esi + 4], 0
lea ebx, [esi + 0x1e0]
je 0x41c8b3
mov edx, dword [esi + 0x60]
shl edx, 5
add edx, dword [esi + 0x48]
push edx
jmp 0x41c8b7
mov eax, dword [esi + 0x48]
push eax
push ebx
call fcn.0041ec70
add esp, 8
test eax, eax
jne 0x41c916
lea ecx, [esi + 0x250]
push ecx
push ebx
call fcn.0041e290
fldz
fst qword [esi + 0x68]
add esp, 8
fstp qword [esi + 0x70]
mov dword [esi + 0x58], 4
lea edx, [esp + 0x30]
push edx
lea eax, [esi + 0x78]
push eax
call fcn.00433ad0
add esp, 8
jmp 0x41c6bf
mov eax, 0xffffff7f
test eax, eax
jns 0x41c6a0
cmp eax, 0xfffffffd
je 0x41c6a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffff77
jmp 0x41c8fe
mov dword [esp + 0x10], edi
mov eax, edi
cmp ecx, edi
je 0x41c93f
cmp eax, edi
jle 0x41c93f
mov ecx, dword [esi + 0x44]
add eax, eax
sub ebx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
sbb edx, eax
mov dword [esp + 0x1c], edx
xor edi, edi
cmp edx, edi
jg 0x41c94f
jl 0x41c949
cmp ebx, edi
jae 0x41c94f
xor ebx, ebx
mov dword [esp + 0x1c], edi
lea eax, [esi + 0x1e0]
push edi
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call fcn.0041f690
mov ecx, dword [esp + 0x18]
cdq
add esp, 8
sub ebx, eax
sbb dword [esp + 0x1c], edx
xor eax, eax
mov dword [esp + 0x18], ebx
cmp ecx, 2
jl 0x41c9c3
mov eax, dword [esi + 0x44]
add ecx, 0xfffffffe
shr ecx, 1
add eax, 0x18
inc ecx
lea edx, [ecx + ecx]
mov dword [esp + 0x14], edx
mov edx, dword [eax - 0x10]
add dword [esp + 0x20], edx
mov edx, dword [eax - 0xc]
adc dword [esp + 0x24], edx
add edi, dword [eax]
mov edx, dword [esp + 0x2c]
adc edx, dword [eax + 4]
add eax, 0x20
dec ecx
mov dword [esp + 0x2c], edx
jne 0x41c994
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
jmp 0x41c9c7
mov edx, dword [esp + 0x2c]
cmp eax, ecx
jge 0x41c9e7
mov ecx, dword [esi + 0x44]
shl eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [eax + ecx + 8]
add ebx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + ecx + 0xc]
adc dword [esp + 0x1c], ecx
add edi, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
add edi, ebx
adc edx, dword [esp + 0x1c]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edx
jmp 0x41c6a0
mov eax, 0xffffff7f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret