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

Disassembly:
sub esp, 0x70
mov edx, dword [esp + 0x74]
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp edx, ebp
push edi
mov dword [esp + 0x1c], esi
jl 0x41afe8
cmp edx, 4
jge 0x41afe8
mov eax, dword [esi + 0x160]
cmp eax, ebp
je 0x41afe8
mov ecx, dword [esi + 0x164]
sub ecx, eax
test ecx, 0xffffffc0
je 0x41afe8
mov eax, dword [esi + 0x170]
cmp eax, ebp
je 0x41afe8
mov ecx, dword [esi + 0x174]
sub ecx, eax
test ecx, 0xffffffc0
je 0x41afe8
mov ecx, dword [esi + 0x180]
mov ebx, dword [esi + 0x160]
cmp ecx, ebp
mov edi, eax
jne 0x41a800
mov dword [esp + 0x20], ebp
jmp 0x41a80f
mov eax, dword [esi + 0x184]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ebp
test eax, eax
jle 0x41acb1
mov eax, dword [esi + 0x180]
mov eax, dword [eax + ebp*4]
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x41aca0
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4 + 0x2c]
test ecx, ecx
je 0x41aca0
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x60]
test eax, eax
je 0x41ac99
test edx, edx
je 0x41ac99
mov ecx, dword [ecx + 0x30]
test ecx, ecx
jle 0x41ac99
mov esi, eax
mov dword [esp + 0x14], eax
sub esi, edx
lea ebp, [edx + 8]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 4]
cmp edx, 1
mov dword [esp + 0x34], edx
jne 0x41aa1b
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov cl, byte [0x81a24c]
shl esi, 6
test dl, cl
jne 0x41a8be
mov dl, cl
push fcn.004465e0
or dl, 1
mov byte [0x81a24c], dl
call fcn.00673ac4
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [esi + edi + 0x10]
fmul dword [ebp - 4]
fld dword [esi + edi + 0x20]
fmul dword [ebp]
faddp st(1)
fld dword [esi + edi]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x30]
fstp dword [0x81a250]
fld dword [esi + edi + 0x14]
fmul dword [ebp - 4]
fld dword [esi + edi + 0x24]
fmul dword [ebp]
mov edx, dword [0x81a250]
mov dword [esp + 0x38], edx
faddp st(1)
fld dword [esi + edi + 4]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x34]
fstp dword [0x81a254]
fld dword [esi + edi + 0x18]
fmul dword [ebp - 4]
fld dword [esi + edi + 0x28]
fmul dword [ebp]
mov ecx, dword [0x81a254]
mov dword [esp + 0x3c], ecx
mov cl, byte [0x81a24c]
faddp st(1)
fld dword [esi + edi + 8]
fmul dword [ebp - 8]
test cl, 1
faddp st(1)
fadd dword [esi + edi + 0x38]
fstp dword [0x81a258]
mov edx, dword [0x81a258]
mov dword [esp + 0x40], edx
jne 0x41a96b
mov dl, cl
push fcn.004465e0
or dl, 1
mov byte [0x81a24c], dl
call fcn.00673ac4
mov eax, dword [esp + 0x18]
add esp, 4
fld dword [esp + 0x40]
fmul dword [esi + ebx + 0x20]
fld dword [esp + 0x3c]
fmul dword [esi + ebx + 0x10]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esi + ebx]
faddp st(1)
fadd dword [esi + ebx + 0x30]
fstp dword [0x81a250]
fld dword [esp + 0x40]
fmul dword [esi + ebx + 0x24]
fld dword [esp + 0x3c]
fmul dword [esi + ebx + 0x14]
mov ecx, dword [0x81a250]
mov dword [esp + 0x5c], ecx
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esi + ebx + 4]
faddp st(1)
fadd dword [esi + ebx + 0x34]
fstp dword [0x81a254]
fld dword [esp + 0x40]
fmul dword [esi + ebx + 0x28]
fld dword [esp + 0x3c]
fmul dword [esi + ebx + 0x18]
mov edx, dword [0x81a254]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esi + ebx + 8]
faddp st(1)
fadd dword [esi + ebx + 0x38]
mov esi, dword [esp + 0x1c]
fstp dword [0x81a258]
mov ecx, dword [0x81a258]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
fld dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
fstp dword [edx + ebp]
mov dword [eax + 4], ecx
jmp 0x41ac7c
jle 0x41ac7c
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x58], 0
mov dword [esp + 0x30], ecx
xor ecx, ecx
test edx, edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x10], ecx
jle 0x41ac64
mov edx, dword [ebp + 8]
mov al, byte [0x81a24c]
mov esi, dword [edx + ecx*4]
shl esi, 6
test al, 1
jne 0x41aa78
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a24c], dl
call fcn.00673ac4
add esp, 4
fld dword [esi + edi + 0x20]
fmul dword [ebp]
fld dword [esi + edi + 0x10]
fmul dword [ebp - 4]
faddp st(1)
fld dword [ebp - 8]
fmul dword [esi + edi]
faddp st(1)
fadd dword [esi + edi + 0x30]
fstp dword [0x81a250]
fld dword [esi + edi + 0x24]
fmul dword [ebp]
fld dword [esi + edi + 4]
fmul dword [ebp - 8]
mov eax, dword [0x81a250]
mov dword [esp + 0x44], eax
mov al, byte [0x81a24c]
faddp st(1)
fld dword [esi + edi + 0x14]
fmul dword [ebp - 4]
test al, 1
faddp st(1)
fadd dword [esi + edi + 0x34]
fstp dword [0x81a254]
fld dword [esi + edi + 0x28]
fmul dword [ebp]
fld dword [esi + edi + 8]
fmul dword [ebp - 8]
mov ecx, dword [0x81a254]
mov dword [esp + 0x48], ecx
faddp st(1)
fld dword [esi + edi + 0x18]
fmul dword [ebp - 4]
faddp st(1)
fadd dword [esi + edi + 0x38]
fstp dword [0x81a258]
mov edx, dword [0x81a258]
mov dword [esp + 0x4c], edx
jne 0x41ab1e
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a24c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x4c]
fmul dword [esi + ebx + 0x20]
fld dword [esp + 0x48]
fmul dword [esi + ebx + 0x10]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + ebx]
faddp st(1)
fadd dword [esi + ebx + 0x30]
fstp dword [0x81a250]
fld dword [esp + 0x4c]
fmul dword [esi + ebx + 0x24]
fld dword [esp + 0x48]
fmul dword [esi + ebx + 0x14]
mov eax, dword [0x81a250]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + ebx + 4]
faddp st(1)
fadd dword [esi + ebx + 0x34]
fstp dword [0x81a254]
fld dword [esp + 0x4c]
fmul dword [esi + ebx + 0x28]
fld dword [esp + 0x48]
fmul dword [esi + ebx + 0x18]
mov ecx, dword [0x81a254]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + ebx + 8]
faddp st(1)
fadd dword [esi + ebx + 0x38]
fstp dword [0x81a258]
fld dword [eax + ecx*4]
mov al, byte [0x81a22c]
mov edx, dword [0x81a258]
fstp dword [esp + 0x18]
test al, 1
mov dword [esp + 0x70], edx
jne 0x41abdc
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a22c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x68]
fmul dword [esp + 0x18]
fstp dword [0x81a230]
fld dword [esp + 0x6c]
fmul dword [esp + 0x18]
mov edx, dword [0x81a230]
mov dword [esp + 0x74], edx
fstp dword [0x81a234]
fld dword [esp + 0x70]
fmul dword [esp + 0x18]
mov eax, dword [0x81a234]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
fstp dword [0x81a238]
fld dword [esp + 0x74]
fadd dword [esp + 0x50]
mov ecx, dword [0x81a238]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x10]
inc ecx
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd dword [esp + 0x78]
cmp ecx, eax
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x58]
jl 0x41aa4e
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x58]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
fstp dword [edx + ebp]
mov ecx, dword [esp + 0x28]
add ebp, 0x18
add eax, 0x18
dec ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
jne 0x41a880
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov dword [esp + 0x2c], ebp
jl 0x41a81f
mov eax, dword [esi + 0x1c8]
test eax, eax
je 0x41afe8
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x41afe8
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x41afe8
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x30]
test eax, eax
jle 0x41afe8
mov dword [esp + 0x14], ecx
sub ecx, edx
lea esi, [edx + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
cmp eax, 1
mov dword [esp + 0x28], eax
jne 0x41ae7a
mov eax, dword [esi + 8]
mov ebp, dword [eax]
mov al, byte [0x81a24c]
shl ebp, 6
test al, 1
jne 0x41ad30
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a24c], dl
call fcn.00673ac4
add esp, 4
fld dword [edi + ebp + 0x10]
fmul dword [esi - 4]
fld dword [edi + ebp + 0x20]
fmul dword [esi]
faddp st(1)
fld dword [edi + ebp]
fmul dword [esi - 8]
faddp st(1)
fadd dword [edi + ebp + 0x30]
fstp dword [0x81a250]
fld dword [edi + ebp + 0x14]
fmul dword [esi - 4]
fld dword [edi + ebp + 0x24]
fmul dword [esi]
mov ecx, dword [0x81a250]
mov dword [esp + 0x50], ecx
faddp st(1)
fld dword [edi + ebp + 4]
fmul dword [esi - 8]
faddp st(1)
fadd dword [edi + ebp + 0x34]
fstp dword [0x81a254]
fld dword [edi + ebp + 0x18]
fmul dword [esi - 4]
fld dword [edi + ebp + 0x28]
fmul dword [esi]
mov edx, dword [0x81a254]
mov dword [esp + 0x54], edx
faddp st(1)
fld dword [edi + ebp + 8]
fmul dword [esi - 8]
faddp st(1)
fadd dword [edi + ebp + 0x38]
fstp dword [0x81a258]
mov eax, dword [0x81a258]
mov dword [esp + 0x58], eax
mov al, byte [0x81a24c]
test al, 1
jne 0x41add3
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a24c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x58]
fmul dword [ebx + ebp + 0x20]
fld dword [esp + 0x54]
fmul dword [ebx + ebp + 0x10]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [ebx + ebp]
faddp st(1)
fadd dword [ebx + ebp + 0x30]
fstp dword [0x81a250]
fld dword [esp + 0x50]
fmul dword [ebx + ebp + 4]
fld dword [esp + 0x58]
fmul dword [ebx + ebp + 0x24]
mov ecx, dword [0x81a250]
mov dword [esp + 0x74], ecx
faddp st(1)
fld dword [esp + 0x54]
fmul dword [ebx + ebp + 0x14]
faddp st(1)
fadd dword [ebx + ebp + 0x34]
fstp dword [0x81a254]
fld dword [esp + 0x50]
fmul dword [ebx + ebp + 8]
fld dword [esp + 0x58]
fmul dword [ebx + ebp + 0x28]
mov edx, dword [0x81a254]
mov dword [esp + 0x78], edx
faddp st(1)
fld dword [esp + 0x54]
fmul dword [ebx + ebp + 0x18]
faddp st(1)
fadd dword [ebx + ebp + 0x38]
fstp dword [0x81a258]
mov eax, dword [0x81a258]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
fld dword [esp + 0x7c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x34]
fstp dword [eax + esi]
jmp 0x41afcb
jle 0x41afcb
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov ecx, dword [esi + 0xc]
test eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], 0
jle 0x41afbd
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x10]
mov ebp, dword [edx + eax*4]
mov al, byte [0x81a24c]
shl ebp, 6
test al, 1
jne 0x41aedd
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a24c], dl
call fcn.00673ac4
add esp, 4
fld dword [edi + ebp + 0x20]
fmul dword [esi]
fld dword [edi + ebp + 0x10]
fmul dword [esi - 4]
faddp st(1)
fld dword [esi - 8]
fmul dword [edi + ebp]
faddp st(1)
fadd dword [edi + ebp + 0x30]
fstp dword [0x81a250]
fld dword [edi + ebp + 0x24]
fmul dword [esi]
fld dword [edi + ebp + 0x14]
fmul dword [esi - 4]
mov ecx, dword [0x81a250]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
faddp st(1)
fld dword [edi + ebp + 4]
fmul dword [esi - 8]
faddp st(1)
fadd dword [edi + ebp + 0x34]
fstp dword [0x81a254]
fld dword [edi + ebp + 0x28]
fmul dword [esi]
fld dword [edi + ebp + 0x18]
fmul dword [esi - 4]
mov edx, dword [0x81a254]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x10]
faddp st(1)
fld dword [edi + ebp + 8]
fmul dword [esi - 8]
faddp st(1)
fadd dword [edi + ebp + 0x38]
add ebp, ebx
fstp dword [0x81a258]
mov eax, dword [0x81a258]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + edx*4]
lea ecx, [esp + 0x5c]
push eax
push ecx
lea edx, [esp + 0x40]
push ebp
push edx
lea ecx, [esp + 0x78]
call fcn.0041d0d0
mov ecx, eax
call fcn.0041d510
fld dword [esp + 0x44]
fadd dword [eax]
mov ecx, dword [esp + 0x28]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fadd dword [eax + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fadd dword [eax + 8]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
fstp dword [esp + 0x4c]
jl 0x41aeaf
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
call fcn.0041ea40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add esi, 0x18
add ecx, 0x18
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
jne 0x41acf7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4