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

Disassembly:
mov ecx, dword [0xaebd08]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d2e1
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test byte [eax], al
lea ecx, [eax + 0x40]
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.00403080
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x88]
cmp edx, ecx
sete bl
xchg ebp, ebx
setl bl
xchg ebp, ebx
mov esi, dword [esp + 0x84]
cmp esi, eax
xchg edi, ebx
setb bl
xchg edi, ebx
and ebx, edi
or ebx, ebp
test bl, bl
jne 0x41d102
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x68], ecx
sar ecx, 0x1f
mov dword [esp + 0x64], ecx
lea ebp, [eax + 0x28]
mov dword [esp + 0x74], ebp
nop
mov edi, dword [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call fcn.00403040
nop
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00403080
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x20]
sub edx, ebx
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x2c]
sbb ebx, esi
mov esi, eax
mov eax, edx
mov edi, dword [esp + 0x68]
mul edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
imul eax, ebp
imul ebx, edi
add edx, ebx
add eax, edx
mov dword [esp + 0x60], eax
test esi, esi
setne dl
test ecx, ecx
setne bl
or edx, ebx
test dl, dl
je 0x41d03d
mov eax, dword [esp + 0x74]
mov dword [esp], eax
xor eax, eax
sub eax, esi
mov dword [esp + 4], eax
mov eax, 0
sbb eax, ecx
mov dword [esp + 8], eax
call fcn.004030a0
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0x38]
mov dword [esp + 0x78], ecx
nop
mov dword [esp], ecx
call fcn.00403080
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
setne dl
test eax, eax
setne bl
or ebx, edx
test bl, bl
je 0x41d09b
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x78]
mov dword [esp], edx
xor edx, edx
sub edx, eax
mov dword [esp + 4], edx
mov edx, 0
sbb edx, ecx
mov dword [esp + 8], edx
call fcn.004030a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
movzx ebx, byte [edx + 0x50]
test bl, bl
jne 0x41d0f8
mov ebx, dword [0xaebd08]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x18]
nop
inc dword [ebp + 0x7c]
mov ebp, dword [0xaab898]
mov dword [esp + 0x70], ebp
mov esi, dword [0xaab89c]
mov dword [esp + 0x5c], esi
mov ebx, dword [ebx + 0x18]
mov dword [esp + 0x6c], ebx
xor edi, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x68], edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
xor edi, edi
jmp 0x41d1c1
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
jmp 0x41d106
add esp, 0x7c
ret
movzx esi, byte [edx + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x41d16f
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004645f0
movsd xmm0, qword [0x846f20]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00464550
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
add ebp, eax
mov eax, dword [esp + 0x48]
adc ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
sub edx, eax
mov eax, dword [esp + 0x60]
sbb eax, ecx
sub edx, ebp
mov dword [esp + 4], edx
sbb eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0041d2f0
add esp, 0x7c
ret
mov ebp, dword [esp + 0x54]
lea edi, [ebp + 1]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], ecx
mov ecx, eax
mov eax, ebx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
cmp edi, esi
jge 0x41d294
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + edi*4]
test byte [eax], al
add eax, 0x968
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.0041d6e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp al, 1
ja 0x41d229
test al, al
jne 0x41d251
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x41d19b
cmp al, 2
je 0x41d233
cmp al, 3
jne 0x41d24c
mov ebx, dword [esp + 0x58]
add ecx, ebx
mov ebx, dword [esp + 0x68]
adc edx, ebx
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x41d19b
cmp al, 4
jne 0x41d2ca
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
lea eax, [0xaae640]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004030a0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
adc ecx, edx
mov edx, dword [esp + 0x68]
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x58]
jmp 0x41d19b
mov ebp, dword [ebx + 0x7c]
lea esi, [ebp - 1]
nop
mov edi, dword [0xaebd08]
mov edi, dword fs:[edi]
mov edi, dword [edi]
mov dword [ebx + 0x7c], esi
cmp ebp, 1
jne 0x41d2bd
movzx ebx, byte [edi + 0x65]
test bl, bl
je 0x41d2bd
mov dword [edi + 8], 0xfffffade
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x58]
jmp 0x41d106
lea eax, [0x7bfced]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.0043a4d0
nop
call fcn.0046b960
jmp fcn.0041cf10