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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa54
mov edx, dword [eax]
mov dword [esp + 4], edx
fild dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 4]
fstp dword [esp + 0x24]
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
lea edx, [edi + edx - 1]
mov dword [esp + 0x10], edx
lea edx, [eax + esi - 1]
mov eax, dword [ecx + 0xc]
fstp dword [esp + 0x20]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
fstp dword [esp + 0x24]
fild dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, 0x5dd088
fstp dword [esp + 0x2c]
mov byte [esp + 0xe], 0
mov dword [esp + 0x40], edx
call fcn.00404ae0
mov ebx, dword [ebp + 0x10]
test ebx, ebx
mov byte [esp + 0xf], al
je 0x483812
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
test ebx, ebx
setne al
test al, al
mov byte [esp + 0xd], al
je 0x483836
cmp byte [ebx + 0x52], 0
jne 0x48382f
cmp byte [ebx + 0x51], 0
jne 0x48382f
cmp byte [ebp + 0x20], 0
je 0x483836
mov byte [esp + 0x18], 1
jmp 0x48383b
mov byte [esp + 0x18], 0
mov eax, 3
cmp dword [ebp + 0xc], eax
jl 0x483b1e
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
add eax, 0x14
cmp byte [esp + 0xe], 0
jne 0x48386e
lea ecx, [eax - 0x14]
mov dword [esp + 0x64], eax
add eax, 0x14
mov dword [esp + 0x60], ecx
mov dword [esp + 0x1c], eax
jmp 0x483880
lea ecx, [eax + 0x14]
lea edx, [eax - 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x64], ecx
fld dword [esp + 0x2c]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x78], eax
fld dword [esp + 0x30]
lea eax, [esp + 0x70]
fstp dword [esp + 8]
lea esi, [esp + 0x170]
fld dword [esp + 0x34]
mov dword [esp + 0x7c], 0
fstp dword [esp + 4]
fld dword [esp + 0x38]
fstp dword [esp]
call fcn.004836e0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x483afa
fld qword [0x5ba890]
xor esi, esi
test edi, edi
jbe 0x483911
lea ebx, [esp + 0x264]
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax]
fmul st(1)
call fcn.005690a0
mov dword [ebx - 4], eax
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax + 4]
fmul st(1)
call fcn.005690a0
mov dword [ebx], eax
add esi, 1
add ebx, 0x20
cmp esi, edi
jb 0x4838de
mov ebx, dword [ebp + 0x10]
cmp byte [esp + 0xd], 0
je 0x4839db
xor esi, esi
test edi, edi
jbe 0x48397b
fild dword [ebx + 0x24]
fstp dword [esp + 0x14]
fild dword [ebx + 0x28]
lea ebx, [esp + 0x27c]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fld dword [esp + 0x30]
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax + 8]
fmul st(2)
fmul st(3)
call fcn.005690a0
mov dword [ebx - 4], eax
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax + 0xc]
fmul st(1)
fmul st(3)
call fcn.005690a0
mov dword [ebx], eax
add esi, 1
add ebx, 0x20
cmp esi, edi
jb 0x48393f
mov ebx, dword [ebp + 0x10]
fstp st(2)
fstp st(0)
mov eax, dword [ebx]
fstp st(0)
mov edx, dword [eax + 0x7c]
mov ecx, ebx
call edx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x5c], eax
imul eax, ecx
mov edx, ecx
mov dword [esp + 0x58], eax
mov eax, edx
shr eax, 1
mov dword [esp + 0x54], ecx
mov ecx, 0
je 0x4839b7
lea esp, [esp]
add ecx, 1
shr eax, 1
jne 0x4839b0
mov eax, 0x10
sub eax, ecx
mov ecx, dword [ebx + 0x28]
add edx, 0xffffffff
shl edx, 0x10
sub ecx, 1
shl ecx, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
jmp 0x4839dd
fstp st(0)
cmp byte [ebp + 0x24], 0
je 0x483a39
xor esi, esi
test edi, edi
jbe 0x483a39
lea eax, [esp + 0x26c]
mov ecx, dword [esp + esi*4 + 0x160]
mov edx, dword [ecx + 0x10]
sar edx, 8
and edx, 0xff0000
mov dword [eax - 4], edx
mov edx, dword [ecx + 0x10]
and edx, 0xff0000
mov dword [eax], edx
mov edx, dword [ecx + 0x10]
and edx, 0xff00
shl edx, 8
mov dword [eax + 4], edx
mov ecx, dword [ecx + 0x10]
and ecx, 0xff
shl ecx, 0x10
mov dword [eax + 8], ecx
add esi, 1
add eax, 0x20
cmp esi, edi
jb 0x4839f0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push edx
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov cl, byte [esp + 0x27]
lea edx, [esp + 0x278]
push edx
mov dl, byte [ebp + 0x24]
push eax
mov al, byte [esp + 0x2d]
call fcn.004e4c10
add esp, 0x20
cmp edi, 3
jbe 0x483afa
add edi, 0xffffffff
cmp edi, 2
jbe 0x483afa
add edi, 0xfffffffe
lea ebx, [esp + 0x2c0]
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x1c]
lea esi, [ebx - 0x20]
mov ecx, 8
lea edi, [esp + 0x280]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, ebx
lea edi, [esp + 0x2a0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x20]
push ecx
push edx
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
mov edx, dword [esp + 0x2c]
push eax
mov al, byte [esp + 0x25]
lea ecx, [esp + 0x278]
push ecx
mov cl, byte [esp + 0x2b]
push edx
mov dl, byte [ebp + 0x24]
call fcn.004e4c10
add esp, 0x20
add ebx, 0x20
sub dword [esp + 0x14], 1
jne 0x483a92
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add esi, 1
cmp byte [esp + 0xe], 0
mov dword [esp + 0x10], esi
sete cl
cmp esi, dword [ebp + 0xc]
mov byte [esp + 0xe], cl
jle 0x483853
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret