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

Disassembly:
push 8
mov eax, 0x5205c9
call fcn.004cafe3
push ebx
sub esp, 0x1b0
push esi
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, edi
call fcn.004abfca
mov ecx, edi
mov byte [ebp - 0x17], al
call fcn.004ac27b
xor edx, edx
test al, al
je 0x4b9c1d
mov byte [ebp - 0x11], 1
cmp byte [ebx + 0x54], dl
je 0x4b9c20
mov byte [ebp - 0x11], dl
mov esi, dword [ebx + 0x14]
movd xmm2, dword [ebx + 0x18]
mov eax, dword [ebx + 0x44]
cmp dword [ebx + 0x3c], edx
mov ecx, dword [esi + 0x38]
cvtdq2pd xmm2, xmm2
movsd xmm0, qword [ecx + eax*8]
sete byte [ebp - 0x30]
test byte [ebx + 0x40], 1
movaps xmm1, xmm2
mov ecx, dword [ebx + 0xc]
subsd xmm1, xmm0
subsd xmm0, xmm2
mov eax, dword [ecx + 0x2ac]
movsd qword [ebp - 0x100], xmm1
movsd qword [ebp - 0xb8], xmm0
movd xmm1, dword [eax + 0x214]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [edi + 0x68]
movsd qword [ebp - 0xb0], xmm1
je 0x4b9c8b
test byte [edi + 0x48], 1
mov byte [ebp - 0x70], 1
jne 0x4b9c8e
mov byte [ebp - 0x70], dl
movsd xmm0, qword [ebx + 0x24]
addsd xmm0, qword [edi + 0x50]
mov eax, dword [ebp - 0x28]
movsd qword [ebp - 0x78], xmm0
cmp dword [eax + 0x1c], edx
jne 0x4b9caa
cmp byte [ebp - 0x17], dl
jne 0x4b9cb9
mov ecx, edi
call fcn.004abfd2
test al, al
jne 0x4b9cb9
push 2
jmp 0x4b9cbb
push 3
mov edx, dword [ebx + 0xc]
movsd xmm0, qword [ebp - 0xb8]
pop ecx
push edi
lea eax, [edx + 0x244]
mov dword [ebp - 0xc0], eax
lea eax, [edx + 0x10]
push eax
push dword [edx + 0x2ac]
lea eax, [edx + 0x244]
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea ecx, [ebp - 0x19c]
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push eax
push esi
call fcn.004b1efc
and dword [ebp - 4], 0
jmp 0x4ba8f9
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x19c]
call fcn.004b30c3
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
add eax, ecx
push eax
push ecx
mov ecx, dword [ebx + 0x14]
lea esi, [eax - 1]
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x2c], esi
push eax
call fcn.004b3c5a
movsd xmm1, qword [ebp - 0x100]
movsd xmm2, qword [ebp - 0x100]
movsd xmm0, qword [ebx + 0x2c]
addsd xmm1, qword [eax]
addsd xmm2, qword [eax + 8]
comisd xmm0, xmm1
movsd qword [ebp - 0x60], xmm1
movsd qword [ebp - 0x58], xmm2
jbe 0x4ba8f3
comisd xmm2, xmmword [ebx + 0x1c]
jbe 0x4ba8f3
mov eax, dword [ebx + 0x14]
movsd xmm0, qword [ebx + 0x24]
movsd qword [ebp - 0xb8], xmm0
movsd qword [ebp - 0xe0], xmm0
mov eax, dword [eax + 0x34]
movsd xmm0, qword [ebx + 0x34]
movsd qword [ebp - 0xe8], xmm1
movsd qword [ebp - 0xd8], xmm2
movzx eax, byte [eax + esi]
imul ecx, eax, 0x78
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x14]
movsd qword [ebp - 0x48], xmm0
movsd qword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], ecx
mov esi, dword [ecx + eax + 0x58]
mov eax, dword [ecx + eax + 0x70]
mov ecx, dword [ebx + 0xc]
add ecx, 0x294
mov dword [ebp - 0x4c], eax
cmp dword [ecx], 0xffffffff
je 0x4b9e1a
cmp dword [ecx + 4], 0xffffffff
je 0x4b9e1a
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
push eax
call fcn.004b2998
mov edi, dword [ebx + 0x10]
test al, al
je 0x4b9e1a
push 0x46
lea eax, [ebp - 0x108]
mov byte [ebp - 0x50], 1
push eax
mov ecx, edi
call fcn.004ab755
cmp byte [ebp - 0x104], 0
je 0x4b9e1e
mov esi, dword [ebp - 0x108]
jmp 0x4b9e1e
mov byte [ebp - 0x50], 0
cmp byte [edi + 0x41], 0
je 0x4b9f33
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x2ac]
mov ecx, dword [eax + 0x238]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x4b9f33
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebx + 0x4c]
push eax
call edx
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x4b9f1e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [edi + 0x34]
mov dword [ebp - 0x24], eax
lea ecx, [eax + 8]
mov dword [ebp - 0xbc], ecx
push ecx
mov ecx, eax
call fcn.0047d57d
test al, al
jne 0x4b9eff
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x4c]
add ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x18]
call eax
push dword [ebp - 0xc4]
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
call edx
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0xf0]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xec], edi
push dword [eax + 0x2a0]
call fcn.004b2998
test al, al
je 0x4b9eff
mov eax, dword [ebp - 0xbc]
cmp dword [eax], 0x11
jne 0x4b9f1e
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0xc]
jmp 0x4b9f1e
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x11
jne 0x4b9f1e
test byte [eax + 0x1c], 1
je 0x4b9f1b
mov esi, dword [ebp - 0x84]
or esi, 0xff000000
jmp 0x4b9f1e
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x7c]
jne 0x4b9e4f
mov edi, dword [ebx + 0x10]
cmp byte [edi + 0x78], 0
je 0x4b9f52
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.004948e2
mov ecx, eax
mov dword [ebp - 0x24], eax
jmp 0x4b9f57
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [edi + 0xf0]
shr eax, 5
test al, 1
je 0x4b9f81
cmp ecx, 1
jne 0x4b9f81
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
push edi
push dword [ebx + 0xc]
push eax
call fcn.004b6dc9
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x24], ecx
push ecx
push edi
push dword [ebx + 0xc]
lea eax, [ebp - 0xf8]
push eax
call fcn.004bf1d8
push dword [ebp - 0x2c]
cmp byte [ebp - 0xf4], 0
lea eax, [ebp - 0x34]
push dword [ebp - 0x3c]
cmovne esi, dword [ebp - 0xf8]
push dword [ebp - 0x50]
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x24]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push dword [ebx + 0x14]
push edi
push dword [ebx + 0xc]
push eax
call fcn.004bf3d5
mov ecx, dword [ebp - 0x64]
add esp, 0x38
test ecx, ecx
je 0x4ba401
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
cmp byte [edx + eax], 9
jne 0x4ba2e6
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1c], 0
jne 0x4ba044
cmp byte [ebp - 0x11], 0
je 0x4ba01f
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004ac256
test al, al
je 0x4ba01f
push 0x3d
lea eax, [ebp - 0x10c]
mov ecx, edi
push eax
call fcn.004ab7af
mov eax, dword [eax]
or eax, 0xff000000
mov dword [ebp - 0x34], eax
jmp 0x4ba022
mov eax, dword [ebp - 0x34]
mov edx, dword [ebx + 8]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
mov edx, dword [edx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x48]
mov edi, dword [ebx + 0x10]
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x30], 0
je 0x4ba166
cmp dword [edi + 0xe8], 1
jne 0x4ba166
mov esi, dword [ebx + 0x14]
lea eax, [ebp - 0x120]
push edx
push eax
mov ecx, esi
call fcn.004b3c7f
movsd xmm0, qword [ebp - 0x120]
movsd xmm4, qword [0x5425f8]
movsd xmm3, qword [ebp - 0xb0]
addsd xmm0, xmm4
movsd xmm2, qword [ebp - 0x118]
divsd xmm0, xmm3
cvttsd2si eax, xmm0
movaps xmm0, xmm2
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x4ba166
test eax, eax
jle 0x4ba142
mulsd xmm1, xmm3
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.0050bc70
movd xmm0, dword [esi + 0x24]
cvtdq2pd xmm0, xmm0
pop ecx
pop ecx
fstp qword [ebp - 0x40]
ucomisd xmm0, qword [ebp - 0x40]
lahf
test ah, 0x44
jp 0x4ba0ee
mov al, 1
jmp 0x4ba0f0
xor al, al
push dword [ebp - 0x70]
movd xmm0, dword [ebx + 0x18]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
cvtdq2pd xmm0, xmm0
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
addsd xmm0, qword [ebp - 0x40]
push ecx
push ecx
mov ecx, dword [ebp - 0x28]
movsd qword [esp], xmm0
push dword [ebx + 8]
call fcn.004ba92c
movsd xmm2, qword [ebp - 0x118]
movsd xmm3, qword [ebp - 0xb0]
movsd xmm4, qword [0x5425f8]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebx + 0x14]
movaps xmm0, xmm2
inc eax
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jae 0x4ba0b9
mov edi, dword [ebx + 0x10]
cmp dword [edi + 0xdc], 0
je 0x4ba83e
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004ac256
test al, al
je 0x4ba83e
movsd xmm0, qword [ebp - 0x60]
addsd xmm0, qword [0x53dce8]
mov esi, dword [ebp - 0x28]
cvttsd2si ecx, qword [ebp - 0xb8]
mov eax, dword [edi + 0x48]
cdq
sub eax, edx
sar eax, 1
push 0x3c
movsd qword [ebp - 0x60], xmm0
movd xmm0, dword [esi + 0x58]
add eax, ecx
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x20], eax
mov ecx, edi
lea eax, [ebp - 0x158]
push eax
addsd xmm0, qword [ebp - 0xb8]
movsd qword [ebp - 0x40], xmm0
movsd xmm0, qword [ebp - 0x58]
subsd xmm0, qword [0x53dce8]
movsd qword [ebp - 0x58], xmm0
movsd xmm0, qword [ebp - 0x48]
subsd xmm0, qword [edi + 0x58]
movsd qword [ebp - 0x48], xmm0
call fcn.004ab755
cmp byte [eax + 4], 0
je 0x4ba200
mov eax, dword [eax]
jmp 0x4ba203
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0x5c]
sub esp, 0x10
movsd xmm0, qword [0x53dce8]
mov edi, esp
push dword [ebx + 0x10]
push dword [ebp - 0x20]
sub esp, 0x20
push 8
pop ecx
test edx, edx
jne 0x4ba289
movsd qword [ebp - 0x148], xmm0
lea esi, [ebp - 0x150]
movsd xmm0, qword [ebp - 0x60]
mov dword [ebp - 0x150], eax
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x90], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
push dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
call fcn.004bbd28
add esp, 0x3c
jmp 0x4ba3f9
movsd qword [ebp - 0x138], xmm0
lea esi, [ebp - 0x140]
movsd xmm0, qword [ebp - 0x60]
mov dword [ebp - 0x140], eax
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x90], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
push dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
call edx
jmp 0x4ba281
xor edx, edx
cmp dword [edi + 0x84], 0x20
mov byte [ebp - 0x30], dl
jl 0x4ba35f
mov eax, dword [edi + 0x14]
push esi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x1150]
mov dword [ebp - 0x3c], eax
mov al, byte [edi + 0x84]
mov byte [ebp - 0x18], al
mov eax, dword [ebx + 8]
push ecx
push ecx
mov byte [ebp - 0x17], dl
mov edx, esp
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x18]
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ba329
movsd xmm0, qword [ebp - 0x78]
sub ecx, esi
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x3c]
mov dword [edx + 4], ecx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [ebp - 0x7c]
jmp 0x4ba3f9
mov eax, dword [ecx + 0x18]
shr eax, 4
test al, 1
je 0x4ba36f
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], esi
test byte [ecx + 0x18], 1
je 0x4ba3b5
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1c], edx
mov eax, ecx
sete dl
cmp dword [eax + 0x14], 0x10
jb 0x4ba388
mov ecx, dword [ecx]
push edx
push esi
push dword [ebp - 0x34]
lea esi, [ebp - 0xe8]
push dword [eax + 0x10]
push ecx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x10]
push edi
push dword [ebx + 8]
call fcn.004bbeca
add esp, 0x3c
jmp 0x4ba83e
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
mov eax, ecx
cmp dword [eax + 0x14], 0x10
jb 0x4ba3ca
mov ecx, dword [ecx]
movsd xmm0, qword [ebp - 0x78]
push esi
push dword [eax + 0x10]
mov eax, dword [edi + 0x14]
lea esi, [ebp - 0xe8]
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
push dword [eax + 0x1150]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call edx
mov edi, dword [ebx + 0x10]
jmp 0x4ba83e
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x80]
cmp byte [ecx + eax + 0x68], 0
je 0x4ba481
mov eax, dword [ebx + 0x14]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebx + 8]
movsd xmm0, qword [ebp - 0x78]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x6c]
inc eax
cmp dword [edi + 0x1c], 0
mov edx, dword [edx]
je 0x4ba459
push esi
push eax
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x74]
jmp 0x4ba4fd
push dword [ebp - 0x34]
push esi
push eax
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x6c]
jmp 0x4ba4fd
lea edx, [ecx + 0x6b]
add edx, eax
cmp byte [edx], 0
je 0x4ba500
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ba490
mov eax, dword [ebx + 8]
sub ecx, edi
mov edi, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x78]
mov eax, dword [eax]
cmp dword [edi + 0x1c], 0
je 0x4ba4d4
push esi
push ecx
push edx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [eax + 0x88]
jmp 0x4ba4fd
push dword [ebp - 0x34]
push esi
push ecx
push edx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [eax + pe_nt_image_headers32]
mov edi, dword [ebx + 0x10]
cmp dword [edi + 0xdc], 0
jne 0x4ba520
cmp byte [ebp - 0x30], 0
je 0x4ba83e
cmp dword [edi + 0xe8], 0
je 0x4ba83e
mov eax, dword [ebp - 0x2c]
xor esi, esi
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], esi
js 0x4ba83e
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x30]
add ecx, esi
cmp byte [ecx + eax], 0x20
jne 0x4ba825
cmp dword [edi + 0xdc], 0
je 0x4ba6ff
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004ac256
test al, al
je 0x4ba6fc
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebx + 0x14]
add eax, esi
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.004b3c7f
movsd xmm1, qword [ebp - 0x100]
movaps xmm0, xmm1
addsd xmm1, qword [eax + 8]
addsd xmm0, qword [eax]
mov eax, dword [ebp - 0x28]
movsd qword [ebp - 0x60], xmm1
cmp dword [eax + 0x1c], 0
addsd xmm1, xmm0
movsd qword [ebp - 0x58], xmm0
mulsd xmm1, qword [0x53e308]
movsd qword [ebp - 0x48], xmm1
jne 0x4ba62e
cmp byte [ebp - 0x11], 0
je 0x4ba62e
push 0x3d
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.004ab7af
movsd xmm0, qword [ebp - 0x58]
lea esi, [ebp - 0xa8]
mov ecx, dword [ebx + 8]
movsd qword [ebp - 0xa8], xmm0
mov eax, dword [eax]
movsd xmm0, qword [ebx + 0x24]
or eax, 0xff000000
mov edx, dword [ecx]
push eax
sub esp, 0x20
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x60]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebx + 0x34]
push 8
pop ecx
mov edi, esp
movsd qword [ebp - 0x90], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
call dword [edx + 0x48]
movsd xmm1, qword [ebp - 0x48]
mov edi, dword [ebx + 0x10]
jmp 0x4ba631
mov esi, dword [ebx + 8]
mov ecx, dword [edi + 0xe4]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push 0x3c
movd xmm0, eax
mov eax, dword [edi + 0x48]
cdq
cvtdq2pd xmm0, xmm0
sub eax, edx
sar eax, 1
movd xmm2, eax
lea eax, [ebp - 0x160]
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm2, xmm2
push eax
mov ecx, edi
cvtdq2pd xmm0, xmm0
addsd xmm2, qword [ebp - 0xb8]
movaps xmm3, xmm0
movsd qword [ebp - 0x48], xmm1
addsd xmm3, xmm1
movaps xmm1, xmm2
movsd qword [ebp - 0x58], xmm2
addsd xmm1, xmm0
movsd qword [ebp - 0x60], xmm3
movsd qword [ebp - 0x40], xmm1
call fcn.004ab755
cmp byte [eax + 4], 0
je 0x4ba6a6
mov eax, dword [eax]
jmp 0x4ba6a9
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x48]
mov edx, dword [esi]
lea esi, [ebp - 0xa8]
push eax
movsd qword [ebp - 0xa8], xmm0
sub esp, 0x20
movsd xmm0, qword [ebp - 0x58]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x60]
push 8
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x40]
pop ecx
mov edi, esp
movsd qword [ebp - 0x90], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x48]
mov edi, dword [ebx + 0x10]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebx + 0x14]
cmp byte [ebp - 0x30], 0
je 0x4ba829
cmp dword [edi + 0xe8], 1
jne 0x4ba829
mov eax, dword [ebp - 0x6c]
mov ecx, edx
add eax, esi
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.004b3c7f
movsd xmm0, qword [ebp - 0x130]
movsd xmm4, qword [0x5425f8]
movsd xmm3, qword [ebp - 0xb0]
addsd xmm0, xmm4
movsd xmm2, qword [ebp - 0x128]
divsd xmm0, xmm3
cvttsd2si eax, xmm0
movaps xmm0, xmm2
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x4ba829
test eax, eax
jle 0x4ba7ff
mulsd xmm1, xmm3
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.0050bc70
mov eax, dword [ebx + 0x14]
fstp qword [ebp - 0x48]
pop ecx
pop ecx
movd xmm0, dword [eax + 0x24]
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [ebp - 0x48]
lahf
test ah, 0x44
jp 0x4ba7ae
mov al, 1
jmp 0x4ba7b0
xor al, al
push dword [ebp - 0x70]
movd xmm0, dword [ebx + 0x18]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
cvtdq2pd xmm0, xmm0
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
addsd xmm0, qword [ebp - 0x48]
push ecx
push ecx
mov ecx, dword [ebp - 0x28]
movsd qword [esp], xmm0
push dword [ebx + 8]
call fcn.004ba92c
movsd xmm2, qword [ebp - 0x128]
movsd xmm3, qword [ebp - 0xb0]
movsd xmm4, qword [0x5425f8]
mov eax, dword [ebp - 0x20]
movaps xmm0, xmm2
inc eax
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jae 0x4ba776
mov esi, dword [ebp - 0x24]
jmp 0x4ba829
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
inc esi
sub eax, dword [ebp - 0x6c]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x24], esi
cmp esi, eax
jle 0x4ba531
mov al, byte [ebp - 0x50]
lea edx, [edi + 0xa8]
test al, al
je 0x4ba850
cmp byte [edx], 0
jne 0x4ba864
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x80]
cmp byte [ecx + eax + 0x61], 0
je 0x4ba8f9
mov al, byte [ebp - 0x50]
movsd xmm0, qword [ebp - 0x78]
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0xa8]
addsd xmm0, qword [0x53dce8]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x78]
addsd xmm0, qword [0x53deb0]
movsd qword [ebp - 0x90], xmm0
test al, al
je 0x4ba8c9
cmp byte [edx], 0
je 0x4ba8c9
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x168]
push 0x46
push eax
call fcn.004ab755
cmp byte [eax + 4], 0
je 0x4ba8c3
mov eax, dword [eax]
jmp 0x4ba8c6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
lea esi, [ebp - 0xa8]
push ecx
mov ecx, esp
sub esp, 0x20
mov eax, dword [eax]
push 8
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call edx
mov edi, dword [ebx + 0x10]
jmp 0x4ba8f9
comisd xmm1, xmm0
ja 0x4ba90c
lea ecx, [ebp - 0x19c]
call fcn.004b30af
test al, al
jne 0x4b9d0b
lea ecx, [ebp - 0x19c]
call fcn.004b23ed
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x50