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

Disassembly:
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
push ebx
push ebp
push esi
push edi
mov ecx, 5
mov esi, eax
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
mov dword [esp + 0x74], 2
mov dword [esp + 0x68], ebx
mov dword [esp + 0x14], ebx
jle 0x50e43f
mov dword [esp + 0x10], ebx
jmp 0x50e230
mov eax, dword [esp + 0xc8]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x10]
add edx, eax
mov ebp, ebx
fld dword [edx]
fcomp dword [0xbcabd0]
fnstsw ax
test ah, 1
je 0x50e251
mov edi, 1
jmp 0x50e253
xor edi, edi
fld dword [edx + 4]
fcomp dword [0xbcabd4]
fnstsw ax
test ah, 1
je 0x50e26a
mov esi, 1
jmp 0x50e26c
xor esi, esi
fld dword [0xbcabd8]
fadd dword [0x5333e0]
fcomp dword [edx]
fnstsw ax
test ah, 1
je 0x50e288
mov ecx, 1
jmp 0x50e28a
xor ecx, ecx
fld dword [0xbcabdc]
fadd dword [0x5333e0]
fcomp dword [edx + 4]
fnstsw ax
test ah, 1
je 0x50e2a7
mov eax, 1
jmp 0x50e2a9
xor eax, eax
lea ebx, [eax + eax]
mov eax, dword [esp + 0x10]
or ebx, ecx
shl ebx, 1
or ebx, esi
shl ebx, 1
or ebx, edi
test eax, eax
jle 0x50e41b
mov ecx, ebx
or ecx, ebp
je 0x50e3e8
test ebp, ebx
jne 0x50e41b
fld dword [0x5333e0]
fdiv dword [edx - 0x1c]
mov eax, dword [edx - 0x24]
mov ecx, dword [edx - 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [0xbcadc0]
mov dword [esp + 0x44], ecx
mov ecx, 0xa
lea esi, [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x64], ebx
fst dword [esp + 0x20]
fmul dword [edx - 0x18]
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fmul dword [edx - 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [edx - 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fmul dword [edx - 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x20]
fmul dword [edx - 8]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [edx - 4]
fstp dword [esp + 0x38]
fld dword [0x5333e0]
fdiv dword [edx + 8]
fst dword [esp + 0x48]
fmul dword [edx + 0xc]
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
fmul dword [edx + 0x10]
fstp dword [esp + 0x50]
fld dword [esp + 0x48]
fmul dword [edx + 0x14]
fstp dword [esp + 0x54]
fld dword [esp + 0x48]
fmul dword [edx + 0x18]
fstp dword [esp + 0x58]
fld dword [esp + 0x48]
fmul dword [edx + 0x1c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x48]
fmul dword [edx + 0x20]
lea edx, [esp + 0x68]
mov dword [esp + 0x68], 0
push edx
push 0x50e450
push eax
fstp dword [esp + 0x6c]
sub esp, 0x28
mov edi, esp
sub esp, 0x28
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa
lea esi, [esp + 0x9c]
mov edi, esp
sub esp, 0x28
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa
lea esi, [esp + 0x9c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0050bf20
add esp, 0x84
jmp 0x50e41b
lea esi, [edx - 0x24]
mov ecx, 9
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov esi, edx
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], 1
push ecx
call fcn.0050d4c0
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edx, 0x24
inc eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
cmp eax, dword [edx + 0xc]
jl 0x50e229
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret