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

Disassembly:
push 8
mov eax, 0x520589
call fcn.004cafe3
push ebx
sub esp, 0x120
push esi
mov esi, dword [ebx + 0x10]
mov ecx, esi
push edi
call fcn.004abfca
mov edi, dword [ebx + 0x14]
mov edx, dword [ebx + 0x40]
cmp dword [ebx + 0x3c], 0
movd xmm0, dword [ebx + 0x18]
mov ecx, dword [edi + 0x38]
sete byte [ebp - 0x1c]
push esi
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [ecx + edx*8]
xor ecx, ecx
test al, al
movaps xmm2, xmm0
mov eax, dword [ebx + 0xc]
subsd xmm2, xmm1
setne cl
subsd xmm1, xmm0
lea edi, [eax + 0x244]
add eax, 0x10
push eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x28], edi
movsd qword [ebp - 0x48], xmm2
push dword [eax + 0x2ac]
push ecx
push ecx
push ecx
movsd qword [esp], xmm1
lea ecx, [ebp - 0xac]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push edx
push edi
mov edi, dword [ebx + 0x14]
push edi
call fcn.004b1efc
and dword [ebp - 4], 0
mov ecx, esi
call fcn.004ac27b
test al, al
je 0x4b74b3
cmp byte [ebx + 0x50], 0
mov byte [ebp - 0x11], 1
je 0x4b74b7
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0xac]
call fcn.004b30af
test al, al
je 0x4b7681
mov esi, dword [ebx + 0x48]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xac]
call fcn.004b30c3
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, ecx
push eax
push ecx
mov ecx, edi
lea edx, [eax - 1]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0xe0]
add edx, esi
push eax
mov dword [ebp - 0x18], edx
call fcn.004b3c5a
movsd xmm2, qword [ebp - 0x48]
xorps xmm3, xmm3
movsd xmm1, qword [ebp - 0x48]
addsd xmm2, qword [eax + 8]
addsd xmm1, qword [eax]
movaps xmm0, xmm2
movsd qword [ebp - 0x60], xmm2
subsd xmm0, xmm1
movsd qword [ebp - 0x68], xmm1
comisd xmm3, xmm0
movsd xmm0, qword [ebx + 0x2c]
jae 0x4b77d9
comisd xmm0, xmm1
jbe 0x4b77d9
comisd xmm2, xmmword [ebx + 0x1c]
jbe 0x4b77d9
sub esp, 0x10
lea esi, [ebp - 0x68]
mov edi, esp
lea eax, [ebp - 0xd0]
sub esp, 0x20
movsd dword es:[edi], dword [esi]
push 8
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebx + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004ae198
mov esi, dword [ebx + 0x10]
add esp, 0x34
cmp byte [esi + 0x78], 0
je 0x4b758a
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
call fcn.004948e2
mov edi, eax
jmp 0x4b758c
xor edi, edi
mov eax, dword [esi + 0xf0]
shr eax, 5
test al, 1
je 0x4b75af
cmp edi, 1
jne 0x4b75af
push esi
push dword [ebx + 0xc]
push dword [ebp - 0x18]
call fcn.004b6dc9
add esp, 0xc
mov edi, eax
mov ecx, dword [ebx + 0xc]
add ecx, 0x294
cmp dword [ecx], 0xffffffff
je 0x4b75d3
cmp dword [ecx + 4], 0xffffffff
je 0x4b75d3
push dword [ebp - 0x18]
call fcn.004b2998
mov byte [ebp - 0x2c], 1
test al, al
jne 0x4b75d7
mov byte [ebp - 0x2c], 0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [edx + 0x34]
movzx eax, byte [eax + ecx]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push edi
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
push edx
push esi
push dword [ebx + 0xc]
push eax
call fcn.004bf3d5
add esp, 0x28
cmp dword [ebp - 0x30], 0
je 0x4b769f
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
cmp byte [edx + eax], 9
jne 0x4b7647
cmp byte [ebp - 0x11], 0
je 0x4b764b
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004ac256
test al, al
je 0x4b764b
push 0x3d
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004ab7af
mov eax, dword [eax]
or eax, 0xff000000
mov dword [ebp - 0x24], eax
jmp 0x4b764b
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x24]
mov edx, dword [ebx + 8]
lea esi, [ebp - 0xd0]
sub esp, 0x20
mov eax, dword [edx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
call dword [eax + 0x48]
mov edi, dword [ebx + 0x14]
mov esi, dword [ebx + 0x48]
lea ecx, [ebp - 0xac]
call fcn.004b30af
test al, al
jne 0x4b74cd
lea ecx, [ebp - 0xac]
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
push dword [ebp - 0x24]
mov edx, dword [ebx + 8]
lea esi, [ebp - 0xd0]
sub esp, 0x20
mov eax, dword [edx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
call dword [eax + 0x48]
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + 0xdc], 0
je 0x4b7668
mov eax, dword [ebp - 0x20]
xor esi, esi
mov edx, dword [ebp - 0x38]
sub eax, edx
mov dword [ebp - 0x18], esi
js 0x4b7668
mov edi, dword [ebx + 0x14]
mov eax, dword [edi + 0x30]
add eax, esi
cmp byte [eax + edx], 0x20
jne 0x4b77bf
cmp byte [ebp - 0x11], 0
je 0x4b77c3
push dword [ebp - 0x1c]
call fcn.004ac256
test al, al
je 0x4b77b7
mov eax, dword [ebp - 0x38]
mov ecx, edi
add eax, esi
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004b3c7f
movsd xmm0, qword [ebp - 0x48]
lea esi, [ebp - 0x78]
sub esp, 0x10
mov edi, esp
sub esp, 0x20
addsd xmm0, qword [eax]
push 8
pop ecx
movsd qword [ebp - 0x78], xmm0
movsd xmm0, qword [ebp - 0x48]
addsd xmm0, qword [eax + 8]
lea eax, [ebp - 0x110]
movsd qword [ebp - 0x70], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebx + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004ae198
mov eax, dword [ebx + 8]
add esp, 0x34
mov ecx, dword [ebx + 0x10]
mov eax, dword [eax]
push 0x3d
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004ab7af
push 8
pop ecx
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x130]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
lea esi, [ebp - 0x130]
or ecx, 0xff000000
push ecx
mov eax, esp
sub esp, 0x20
mov dword [eax], ecx
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebx + 0x14]
jmp 0x4b77c3
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x10]
jmp 0x4b77c3
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
inc esi
sub eax, edx
mov dword [ebp - 0x18], esi
cmp esi, eax
jle 0x4b76da
jmp 0x4b766b
comisd xmm1, xmm0
ja 0x4b7681
jmp 0x4b766e