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

Disassembly:
push 0xffffffffffffffff
push 0x5e3b33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebp
mov ebp, dword [esp + 0xec]
mov eax, dword [ebp + 4]
test eax, eax
push edi
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x34], ecx
jle 0x4bdf3c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*8 - 8]
cmp edx, dword [edi]
jne 0x4bdf3c
fld dword [0x617db0]
jmp 0x4bf1ab
cmp dword [edi], 1
push ebx
push esi
jne 0x4be11e
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*8], edx
mov edx, dword [edi + 4]
mov dword [ecx + eax*8 + 4], edx
inc dword [ebp + 4]
mov esi, dword [edi + 4]
mov al, byte [esi + 0x50]
test al, al
je 0x4be11e
mov eax, dword [esp + 0xec]
cmp esi, dword [eax + 4]
je 0x4be11e
mov ebx, dword [esi + 4]
lea eax, [esp + 0x4c]
mov ecx, ebx
call fcn.004bb510
fld dword [esi + 0x54]
mov eax, dword [esi + 0x18]
lea edx, [eax - 1]
mov eax, esi
call fcn.004bcba0
mov esi, eax
lea eax, [esp + 0x6c]
mov ecx, 1
mov edx, esi
call fcn.004c05c0
lea eax, [esp + 0x28]
mov ecx, 2
mov edx, esi
call fcn.004c05c0
fld dword [esp + 0x30]
fadd dword [esp + 0x74]
xor eax, eax
fld dword [esp + 0x2c]
mov dword [edi], eax
fadd dword [esp + 0x70]
mov dword [edi + 4], ebx
fld dword [esp + 0x28]
mov dword [esp + 0x94], eax
fadd dword [esp + 0x6c]
mov dword [esp + 0x98], eax
fstp dword [esp + 0x6c]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x18]
fmul dword [0x617db4]
fld dword [esp + 0x6c]
fmul dword [0x617db4]
fld dword [esp + 0x18]
fsub dword [esp + 0x54]
fstp dword [esp + 0x20]
fxch st(1)
fsub dword [esp + 0x50]
fstp dword [esp + 0x24]
fsub dword [esp + 0x4c]
fld st(0)
fmulp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fsqrt
fld dword [0x617dbc]
fsub dword [esp + 0xe4]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x18]
fstp st(0)
mov dword [esp + 0xd4], eax
call fcn.00446190
push eax
mov eax, 1
call fcn.004456c0
mov eax, dword [ebp]
lea esi, [esp + 0x90]
call fcn.00413690
call fcn.00446190
push eax
mov eax, 1
call fcn.004456d0
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0xf0]
push edx
push eax
mov eax, dword [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x5c]
push edx
push 0
push edi
push eax
call fcn.004bdef0
fadd dword [esp + 0x18]
mov ecx, dword [esp + 0x94]
xor eax, eax
test ecx, ecx
fstp dword [esp + 0x1c]
jle 0x4be101
mov esi, dword [esp + 0x98]
mov edi, dword [esi + eax*8]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*8], edi
mov esi, dword [esi + eax*8 + 4]
mov dword [edx + ecx*8 + 4], esi
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x94]
inc esi
inc eax
cmp eax, ecx
mov dword [ebp + 4], esi
jl 0x4be0d3
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4bf1a5
push eax
call fcn.004452b0
add esp, 4
jmp 0x4bf1a5
mov edx, dword [esp + 0xec]
mov ebx, dword [edi + 4]
mov esi, dword [edx + 4]
cmp ebx, esi
jne 0x4be1bd
cmp dword [edi], 1
jne 0x4be169
fld dword [ebx + 0x54]
fld dword [esp + 0xe4]
fmul st(1)
fxch st(1)
fmul dword [esp + 0xf0]
fsubp st(1)
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
and eax, 0x7fffffff
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
jmp 0x4bf1a9
mov eax, dword [esp + 0xe8]
fld dword [eax]
mov ecx, dword [esp + 0xf4]
fsub dword [ecx]
mov esi, dword [edx]
fld dword [eax + 4]
fsub dword [ecx + 4]
fld dword [eax + 8]
mov eax, dword [ebp + 8]
fsub dword [ecx + 8]
mov ecx, dword [ebp + 4]
fld st(2)
mov dword [eax + ecx*8], esi
fmulp st(3)
mov edx, dword [edx + 4]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp + 4]
fld st(0)
inc eax
fmul st(1)
mov dword [ebp + 4], eax
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fxch st(2)
fsqrt
fstp st(2)
fstp st(0)
jmp 0x4bf1a9
mov edi, dword [edi]
cmp edi, 1
mov dword [esp + 0x40], edi
jne 0x4be2cb
mov eax, dword [esp + 0xec]
cmp dword [eax], edi
jne 0x4be2cb
mov eax, dword [ebx]
cmp eax, dword [esi + 4]
mov ecx, dword [ebx + 4]
mov edx, dword [esi]
jne 0x4be2cb
cmp ecx, edx
jne 0x4be2cb
mov ecx, dword [0x604eac]
mov edi, dword [esp + 0xe8]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x74]
push ecx
push ebx
call fcn.004bd4c0
mov edx, dword [0x604eac]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edx
push ecx
lea edx, [esp + 0x64]
push edx
push esi
lea edi, [esp + 0x8c]
mov dword [esp + 0x40], 0xffffffff
call fcn.004bd4c0
fld dword [esp + 0x44]
fcomp dword [0x617df0]
add esp, 0x20
fnstsw ax
test ah, 5
jp 0x4be2cb
mov edx, dword [esp + 0x20]
mov eax, esi
call fcn.004bcba0
mov ebx, eax
mov eax, dword [esi + 0x54]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], eax
push ecx
mov eax, ebx
call fcn.004bd6e0
fstp dword [esp]
call fcn.004bd6a0
fmul dword [esp + 0x28]
fld dword [esp + 0x28]
add esp, 4
fmul dword [esp + 0xf0]
mov eax, ebp
fsubp st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
and edx, 0x7fffffff
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 4]
dec edx
call fcn.004bf9e0
mov ecx, dword [esp + 0xec]
mov eax, ebp
call fcn.004bfa30
fld dword [esp + 0x18]
jmp 0x4bf1a9
mov eax, dword [0x604eac]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x30], eax
mov eax, dword [edx]
xor ecx, ecx
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x44], edi
jne 0x4be30c
mov dword [esp + 0x80], esi
mov dword [esp + 0x28], ecx
jmp 0x4be382
mov eax, dword [esi]
fld dword [esi + 0x54]
fmul dword [esp + 0xf0]
mov dword [esp + 0x80], eax
mov al, byte [esi + 0x50]
test al, al
fstp dword [esp + 0x34]
mov dword [esp + 0x28], esi
jne 0x4be36f
mov al, byte [esp + 0xdc]
test al, al
mov edi, dword [esi + 4]
mov dword [esp + 0x44], edi
je 0x4be348
fld dword [0x604eb0]
jmp 0x4be34e
fld dword [0x617dbc]
fld dword [esi + 0x54]
fld dword [0x617dbc]
fsub dword [esp + 0xf0]
fmul st(1)
fmul st(2)
fstp dword [esp + 0x84]
fstp st(0)
fstp st(0)
jmp 0x4be382
mov edx, dword [0x604eac]
xor edi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x84], edx
cmp dword [esp + 0x40], ecx
mov byte [esp + 0x3b], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
jne 0x4be5a3
mov al, byte [esp + 0xdc]
test al, al
lea eax, [ebx + 0x20]
jne 0x4be3aa
lea eax, [ebx + 0x38]
cmp dword [ebx + 0x50], ecx
jne 0x4be3b9
cmp dword [eax + 4], 1
jne 0x4be5a3
xor edi, edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xd4], 1
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov byte [esp + 0xd4], 2
call fcn.00446190
push eax
mov eax, 1
call fcn.004456c0
mov eax, dword [ebp]
lea esi, [esp + 0xa4]
call fcn.00413690
mov eax, dword [ebp]
lea esi, [esp + 0x90]
call fcn.00413690
call fcn.00446190
push eax
mov eax, 1
call fcn.004456d0
mov eax, dword [0x604eac]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0xb0]
push ecx
push edi
push ebx
push ebx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call fcn.004bf3d0
fadd dword [esp + 0x34]
mov ecx, dword [esp + 0xec]
mov eax, dword [ecx]
cmp eax, 1
fstp dword [esp + 0x40]
jne 0x4be4a3
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4be4a3
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 1
call fcn.004bf1e0
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
cmp dword [esp + 0x44], edi
je 0x4be517
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xe8]
lea edx, [esp + 0x9c]
push edx
push edi
push ebx
push ebx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call fcn.004bf3d0
fadd dword [esp + 0x84]
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
cmp eax, 1
fstp dword [esp + 0x48]
jne 0x4be517
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4be517
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 0
call fcn.004bf1e0
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 5
jp 0x4be550
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xdc]
lea eax, [esp + 0x20]
push eax
push ebp
push ecx
push edx
push esi
mov ecx, ebx
mov eax, ebx
call fcn.004bf540
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
jmp 0x4be575
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x20]
push ecx
push ebp
push edx
push eax
push esi
mov ecx, ebx
mov eax, ebx
call fcn.004bf540
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x98]
cmp eax, edi
je 0x4be589
push eax
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edi
jmp 0x4bef8b
mov edx, dword [0x604eac]
xor ebx, ebx
mov eax, edx
mov ecx, edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xd4], 3
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0xd4], 4
call fcn.00446190
push eax
mov eax, 1
call fcn.004456c0
mov eax, dword [ebp]
lea esi, [esp + 0x90]
call fcn.00413690
mov eax, dword [ebp]
lea esi, [esp + 0xa4]
call fcn.00413690
call fcn.00446190
push eax
mov eax, 1
call fcn.004456d0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
cmp edi, ebx
mov byte [esp + 0xd4], 6
je 0x4be685
call fcn.00446190
push eax
mov eax, 1
call fcn.004456c0
mov eax, dword [ebp]
lea esi, [esp + 0xb8]
call fcn.00413690
mov eax, dword [ebp]
lea esi, [esp + 0x6c]
call fcn.00413690
call fcn.00446190
push eax
mov eax, 1
call fcn.004456d0
mov eax, dword [esp + 0xe0]
cmp dword [eax], 1
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
jne 0x4be9c5
test cl, cl
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
je 0x4be6c5
fld dword [0x604eb0]
jmp 0x4be6cb
fld dword [0x617dbc]
mov eax, dword [esp + 0x24]
fld dword [eax + 0x54]
mov edx, dword [0x604eac]
mov esi, dword [eax]
fmul st(1)
mov edi, dword [eax + 4]
fmul dword [esp + 0xe4]
fstp dword [esp + 0x20]
fstp st(0)
fld dword [eax + 0x54]
mov dword [esp + 0x4c], eax
fld dword [0x617dbc]
mov dword [esp + 0x54], edx
fsub dword [esp + 0xe4]
mov dl, byte [eax + 0x50]
test dl, dl
fmul st(1)
fstp dword [esp + 0x18]
fstp st(0)
jne 0x4be7be
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x9c]
push eax
push ebx
push edi
push esi
push edx
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x74], 0
call fcn.004bf3d0
fadd dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
fadd dword [esp + 0x34]
fstp dword [esp + 0x64]
je 0x4be78a
cmp dword [esp + 0x88], ebx
je 0x4be78a
mov eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
call fcn.004bf1e0
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0xec]
cmp dword [ecx], 1
jne 0x4be7be
cmp dword [esp + 0x88], ebx
je 0x4be7be
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 1
call fcn.004bf1e0
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
lea ecx, [esp + 0x8c]
push ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push esi
push edi
push edx
push eax
mov dword [esp + 0x38], ebx
mov byte [esp + 0x74], 1
call fcn.004bf3d0
fadd dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
je 0x4be838
cmp dword [esp + 0x8c], ebx
je 0x4be838
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
call fcn.004bf1e0
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0xec]
cmp dword [eax], 1
jne 0x4be86c
cmp dword [esp + 0x8c], ebx
je 0x4be86c
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 1
call fcn.004bf1e0
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
cmp dword [esp + 0x44], ebx
je 0x4bebf2
mov edx, dword [esp + 0x24]
mov al, byte [edx + 0x50]
test al, al
mov ebx, dword [esp + 0x3c]
jne 0x4be92d
lea ecx, [esp + 0x48]
push ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0xc4]
push ecx
push 0
push edi
push esi
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x38], 0
mov byte [esp + 0x74], 0
call fcn.004bf3d0
fadd dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
test ecx, ecx
fadd dword [esp + 0x84]
fstp dword [esp + 0x68]
je 0x4be8fe
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4be8fe
push ebx
lea eax, [esp + 0x50]
call fcn.004bf1e0
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0xec]
cmp dword [ecx], 1
jne 0x4be92d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4be92d
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 0
call fcn.004bf1e0
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x50]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0x78]
push eax
push 0
push esi
push edi
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x38], 0
mov byte [esp + 0x74], 1
call fcn.004bf3d0
fadd dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
fadd dword [esp + 0x84]
mov esi, dword [esp + 0x40]
fstp dword [esp + 0x1c]
je 0x4be99f
test esi, esi
je 0x4be99f
push ebx
lea eax, [esp + 0x50]
call fcn.004bf1e0
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0xec]
cmp dword [eax], 1
jne 0x4bebf2
test esi, esi
je 0x4bebf2
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push ecx
jmp 0x4bebdc
test cl, cl
mov esi, dword [eax + 4]
lea eax, [esi + 0x20]
jne 0x4be9d2
lea eax, [esi + 0x38]
mov eax, dword [eax + 8]
mov dl, byte [eax + 4]
test dl, dl
mov edx, dword [eax]
je 0x4be9e3
mov eax, dword [edx + 4]
jmp 0x4be9e5
mov eax, dword [edx]
mov edx, eax
push edx
mov dword [esp + 0x24], eax
push ecx
lea edi, [esp + 0x20]
lea ebx, [esp + 0x2c]
mov eax, esi
mov dword [esp + 0x2c], 0
call fcn.004bc650
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x8c]
xor eax, eax
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0xec]
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push eax
push esi
push ecx
push edx
mov ecx, edi
call fcn.004bf3d0
fadd dword [esp + 0x34]
mov ebx, dword [esp + 0xec]
mov eax, dword [ebx]
cmp eax, 1
fstp dword [esp + 0x64]
jne 0x4bea8a
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4bea8a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bea8a
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 1
call fcn.004bf1e0
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x8c]
xor eax, eax
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0xec]
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push eax
push esi
push ecx
push edx
mov ecx, edi
call fcn.004bf3d0
fadd dword [esp + 0x34]
cmp dword [ebx], 1
fstp dword [esp + 0x34]
jne 0x4beb03
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4beb03
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4beb03
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 1
call fcn.004bf1e0
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4bebf2
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
xor eax, eax
lea edx, [esp + 0xc4]
push edx
mov edx, dword [esp + 0xec]
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push eax
push esi
push ecx
push edx
mov ecx, edi
call fcn.004bf3d0
fadd dword [esp + 0x84]
cmp dword [ebx], 1
fstp dword [esp + 0x68]
jne 0x4beb82
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4beb82
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4beb82
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 0
call fcn.004bf1e0
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x50]
xor eax, eax
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0xec]
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push eax
push esi
push ecx
push edx
mov ecx, edi
call fcn.004bf3d0
fadd dword [esp + 0x84]
cmp dword [ebx], 1
fstp dword [esp + 0x1c]
jne 0x4bebf2
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4bebf2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bebf2
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30], 0
call fcn.004bf1e0
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov byte [esp + 0xd4], 7
call fcn.00446190
push eax
mov eax, 1
call fcn.004456c0
mov eax, 4
lea esi, [esp + 0x4c]
call fcn.004bfac0
call fcn.00446190
push eax
mov eax, 1
call fcn.004456d0
fld dword [esp + 0x64]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
fstp dword [esi + 8]
mov eax, dword [esp + 0x88]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esi], edi
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], 1
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], 2
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x28], eax
mov dword [esp + 0x50], 4
mov dword [esi + 0x24], 3
xor ebx, ebx
mov eax, dword [esi + edi + 4]
test eax, eax
jne 0x4becae
mov ecx, ebx
lea eax, [esp + 0x4c]
call fcn.004bfa50
mov esi, dword [esp + 0x54]
jmp 0x4becb2
inc ebx
add edi, 0xc
mov eax, dword [esp + 0x50]
cmp ebx, eax
jl 0x4bec95
fld dword [0x604eac]
or ebx, 0xffffffff
xor ecx, ecx
test eax, eax
jle 0x4bece7
lea edx, [esi + 8]
mov edi, eax
mov edi, edi
fcom dword [edx]
fnstsw ax
test ah, 0x41
jne 0x4becdf
fstp st(0)
mov ebx, ecx
fld dword [edx]
inc ecx
add edx, 0xc
cmp ecx, edi
jl 0x4becd0
lea ecx, [ebx + ebx*2]
fstp st(0)
mov edx, dword [esi + ecx*4 + 4]
lea eax, [esi + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
cmp eax, 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
ja case.default.0x4bed09
jmp dword [eax*4 + 0x4bf1c4]
mov ecx, dword [esp + 0x94]
xor edi, edi
xor eax, eax
cmp ecx, edi
jle 0x4bee1f
mov edi, dword [esp + 0x98]
mov ebx, dword [edi + eax*8]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*8], ebx
mov edi, dword [edi + eax*8 + 4]
mov dword [ecx + edx*8 + 4], edi
mov edi, dword [ebp + 4]
mov ecx, dword [esp + 0x94]
inc edi
inc eax
cmp eax, ecx
mov dword [ebp + 4], edi
jl 0x4bed23
jmp case.default.0x4bed09
mov ecx, dword [esp + 0xa8]
xor edi, edi
xor eax, eax
cmp ecx, edi
jle 0x4bee1f
lea esp, [esp]
mov edi, dword [esp + 0xac]
mov ebx, dword [edi + eax*8]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*8], ebx
mov edi, dword [edi + eax*8 + 4]
mov dword [ecx + edx*8 + 4], edi
mov edi, dword [ebp + 4]
mov ecx, dword [esp + 0xa8]
inc edi
inc eax
cmp eax, ecx
mov dword [ebp + 4], edi
jl 0x4bed70
jmp case.default.0x4bed09
mov ecx, dword [esp + 0xbc]
xor eax, eax
test ecx, ecx
jle 0x4bee18
mov edi, dword [esp + 0xc0]
mov ebx, dword [edi + eax*8]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*8], ebx
mov edi, dword [edi + eax*8 + 4]
mov dword [ecx + edx*8 + 4], edi
mov edi, dword [ebp + 4]
mov ecx, dword [esp + 0xbc]
inc edi
inc eax
cmp eax, ecx
mov dword [ebp + 4], edi
jl 0x4bedb0
jmp 0x4bee18
mov ecx, dword [esp + 0x70]
xor eax, eax
test ecx, ecx
jle 0x4bee18
lea ebx, [ebx]
mov edi, dword [esp + 0x74]
mov ebx, dword [edi + eax*8]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*8], ebx
mov edi, dword [edi + eax*8 + 4]
mov dword [ecx + edx*8 + 4], edi
mov edi, dword [ebp + 4]
mov ecx, dword [esp + 0x70]
inc edi
inc eax
cmp eax, ecx
mov dword [ebp + 4], edi
jl 0x4bedf0
mov byte [esp + 0x3b], 1
xor edi, edi
mov eax, dword [esp + 0x98]
cmp eax, edi
je 0x4bee33
push eax
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0xac]
cmp eax, edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edi
je 0x4bee55
push eax
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0xc0]
cmp eax, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], edi
je 0x4bee77
push eax
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], edi
je 0x4bee96
push eax
call fcn.004452b0
add esp, 4
cmp dword [esp + 0x18], 3
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
jne 0x4bef1a
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + edx*8 - 8]
mov ecx, dword [eax + edx*8 - 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [eax + edx*8 - 4]
mov dword [ebp + 0x10], ebx
mov ebx, dword [eax + edx*8 - 8]
mov dword [eax + edx*8 - 8], ebx
mov ebx, dword [eax + edx*8 - 4]
mov dword [eax + edx*8 - 4], ebx
mov edx, dword [ebp + 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + edx*8 - 8], ebx
mov ebx, dword [ebp + 0x10]
mov dword [eax + edx*8 - 4], ebx
mov edx, dword [ebp + 4]
mov al, byte [esp + 0x3b]
dec edx
mov dword [ebp + 4], edx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xe0]
test al, al
mov eax, dword [esp + 0x48]
push ebp
jne 0x4bef0c
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
mov eax, ecx
call fcn.004bf540
cmp esi, edi
je 0x4bef27
push esi
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x4bef38
push eax
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0xc0]
cmp eax, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
je 0x4bef54
push eax
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0xac]
cmp eax, edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], edi
je 0x4bef76
push eax
call fcn.004452b0
add esp, 4
mov eax, dword [esp + 0x98]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], edi
cmp eax, edi
je 0x4bef98
push eax
call fcn.004452b0
add esp, 4
mov ecx, dword [esp + 0xec]
cmp dword [ecx], 0
jne 0x4bf097
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + edx*8 - 0xc]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jne 0x4befdc
mov edx, dword [eax + 0x18]
dec edx
call fcn.004bcba0
mov esi, eax
lea eax, [esp + 0x4c]
mov ecx, 1
mov edx, esi
call fcn.004c05c0
mov ecx, 2
jmp 0x4beff7
xor edx, edx
call fcn.004bcba0
mov esi, eax
lea eax, [esp + 0x4c]
xor ecx, ecx
mov edx, esi
call fcn.004c05c0
mov ecx, 3
mov edx, esi
lea eax, [esp + 0x6c]
call fcn.004c05c0
fld dword [esp + 0x6c]
fadd dword [esp + 0x4c]
fld dword [esp + 0x70]
fadd dword [esp + 0x50]
fld dword [esp + 0x74]
fadd dword [esp + 0x54]
fstp dword [esp + 0x74]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
fmul dword [0x617db4]
mov eax, dword [esp + 0xf4]
fstp dword [esp + 0x2c]
fld dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
fmul dword [0x617db4]
mov dword [esp + 0x50], ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
fsub dword [eax]
mov dword [esp + 0x54], edx
fld dword [esp + 0x50]
fsub dword [eax + 4]
fld dword [esp + 0x54]
fsub dword [eax + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
jmp 0x4bf0ac
mov esi, dword [ecx]
mov eax, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [edx + eax*8], esi
mov ecx, dword [ecx + 4]
mov dword [edx + eax*8 + 4], ecx
inc dword [ebp + 4]
mov ecx, dword [esp + 0xe0]
cmp dword [ecx], 0
jne 0x4bf1a5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jne 0x4bf0ec
mov edx, dword [eax + 0x18]
dec edx
call fcn.004bcba0
mov esi, eax
lea eax, [esp + 0x4c]
mov ecx, 1
mov edx, esi
call fcn.004c05c0
mov ecx, 2
jmp 0x4bf107
xor edx, edx
call fcn.004bcba0
mov esi, eax
lea eax, [esp + 0x4c]
xor ecx, ecx
mov edx, esi
call fcn.004c05c0
mov ecx, 3
mov edx, esi
lea eax, [esp + 0x6c]
call fcn.004c05c0
fld dword [esp + 0x6c]
fadd dword [esp + 0x4c]
fld dword [esp + 0x70]
fadd dword [esp + 0x50]
fld dword [esp + 0x74]
fadd dword [esp + 0x54]
fstp dword [esp + 0x74]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
fmul dword [0x617db4]
mov eax, dword [esp + 0xe8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
fmul dword [0x617db4]
mov dword [esp + 0x50], ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
fsub dword [eax]
mov dword [esp + 0x54], edx
fld dword [esp + 0x50]
fsub dword [eax + 4]
fld dword [esp + 0x54]
fsub dword [eax + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
pop esi
pop ebx
mov ecx, dword [esp + 0xc4]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0xc8
ret 0x20