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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x68e500]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, edx
push edi
mov edi, dword [0x693270]
mov dword [ebp - 0x24], eax
cmp byte [esi + 0x67], 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], edi
je 0x49d5ef
movups xmm0, xmmword [edi + 0x19bc]
movaps xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [edi + 0x19cc]
movq qword [ebp - 0x60], xmm0
call fcn.0049c210
movaps xmm0, xmmword [ebp - 0xb0]
mov eax, dword [ebp - 0x24]
movups xmmword [edi + 0x19bc], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [edi + 0x19cc], xmm0
mov ecx, dword [edi + 0x1160]
mov dword [ebp - 0x28], ecx
cmp byte [ecx + 0xaf], 0
je 0x49d616
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005aa453
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor edx, edx
test dword [esi + 0xc], 0x100000
je 0x49d654
push edx
mov ecx, eax
call fcn.0046b4a0
mov ecx, dword [0x693270]
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ecx + 0x11ac], eax
jne 0x49d643
mov dword [ecx + 0x11b0], eax
cmp dword [ecx + 0x11d4], eax
jne 0x49d67d
mov byte [ecx + 0x11d8], 1
jmp 0x49d67d
mov eax, dword [0x693270]
mov eax, dword [eax + 0x1160]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x24]
call fcn.0046b4a0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x49d69c
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
jle 0x49d69c
mov edi, dword [esi + 8]
nop dword [eax]
cmp dword [edi], eax
je 0x49d69e
inc ecx
add edi, 0x2c
cmp ecx, edx
jl 0x49d690
xor edi, edi
mov byte [ebp - 0x15], 0
test edi, edi
jne 0x49d770
mov ecx, dword [esi]
or eax, 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0xc8], edi
mov edi, dword [esi + 4]
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 0xd8], 0xffffffff
mov dword [ebp - 0xc4], 0xbf800000
mov dword [ebp - 0xc0], 0xffffffff
mov word [ebp - 0xba], ax
mov word [ebp - 0xbc], ax
cmp ecx, edi
jne 0x49d727
inc ecx
test edi, edi
je 0x49d715
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x49d71a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0049e8c0
imul eax, dword [esi], 0x2c
movups xmm0, xmmword [ebp - 0xe0]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x15], 1
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc0]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
inc dword [esi]
imul ecx, dword [esi], 0x2c
mov edi, dword [esi + 8]
add edi, 0xffffffd4
add edi, ecx
mov dword [edi], edx
mov byte [esi + 0x69], 1
mov ecx, edi
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
push 0
sar edx, 3
lea ecx, [ebp - 0x70]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x24]
mov word [esi + 0x6c], ax
call fcn.0049df30
mov edx, dword [ebp - 0x30]
add esp, 4
mov dword [edi + 0x1c], 0xbf800000
test byte [edx + 0x19bc], 1
je 0x49d7bc
movss xmm1, dword [edx + 0x19c4]
movss dword [edi + 0x1c], xmm1
jmp 0x49d7c1
movss xmm1, dword [ebp - 0x70]
cmp byte [ebp - 0x15], 0
movss xmm0, dword [0x67ac8c]
je 0x49d7d8
maxss xmm0, xmm1
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edi + 0x24], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [edx + 0x10e0]
inc eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], ecx
inc eax
mov dword [edi + 4], 0x100000
mov ecx, dword [esi + 0x84]
mov dword [ebp - 0x68], eax
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49d838
sub ecx, dword [ebp - 0x3c]
inc ecx
add ecx, edx
jne 0x49d857
mov ecx, edx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49d850
mov eax, dword [esi + 0x84]
sub ecx, edx
test eax, eax
mov dword [ebp - 0x34], ecx
mov edx, 1
cmovne edx, eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x2c], edx
add edx, ecx
mov dword [ebp - 0x1c], edx
lea ecx, [esi + 0x84]
cmp edx, eax
jl 0x49d89a
add eax, eax
cmp edx, eax
cmovg eax, edx
push eax
call fcn.004810a0
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + 0x84]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
cmp edx, eax
jle 0x49d8d8
test eax, eax
je 0x49d8b7
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x3c]
jmp 0x49d8bc
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [esi + 0x84]
push eax
call fcn.004810a0
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + 0x84]
push dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x24]
dec ecx
add eax, ecx
push eax
call fcn.005ac620
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
add ecx, dword [ebp - 0x34]
mov eax, dword [esi + 0x8c]
mov byte [ecx + eax - 1], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x68], eax
jge 0x49d927
test byte [esi + 0xc], 2
je 0x49d927
cmp dword [esi + 0x18], 0
jne 0x49d927
cmp dword [ebp - 0x38], eax
jge 0x49d922
cmp dword [esi + 0x14], 0
jne 0x49d927
mov eax, dword [edi]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x14]
cmp dword [esi + 0x1c], ecx
sete byte [ebp - 0x1c]
jne 0x49d93c
mov byte [esi + 0x68], 1
jmp 0x49d968
cmp dword [esi + 0x14], 0
jne 0x49d968
mov ecx, dword [ebp - 0x44]
lea eax, [esi + 0x14]
cmp dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x20]
jge 0x49d968
cmp dword [esi], 1
lea eax, [esi + 0x14]
jne 0x49d968
test byte [esi + 0xc], 2
lea eax, [esi + 0x14]
jne 0x49d968
mov byte [ebp - 0x1c], 1
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x68], edx
jge 0x49d99e
cmp dword [ebp - 0x38], edx
jge 0x49d97b
cmp byte [ebp - 0x15], 0
je 0x49d99e
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [ebp - 0xb0]
movups xmmword [ebp - 0xb0], xmm0
call fcn.004798c0
add esp, 8
jmp 0x49df07
cmp dword [eax], ecx
jne 0x49d9ae
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10e0]
mov dword [edi + 0xc], eax
mov edx, dword [ebp - 0x28]
lea ecx, [esi + 0x28]
mov eax, dword [edi + 4]
movss xmm1, dword [edi + 0x14]
and eax, 0xc0
mov dword [ebp - 0x2c], eax
movss xmm0, dword [edx + 0xf0]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [edx + 0xf4]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edi + 0x10]
jne 0x49d9f8
subss xmm0, dword [esi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
mov edx, 4
xorps xmm2, xmm2
addss xmm0, dword [ecx]
movss dword [ebp - 0x38], xmm0
movss xmm5, dword [ecx + edx]
mov edx, dword [ebp - 0x28]
addss xmm5, xmm2
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x5c], xmm5
movss dword [edx + 0xf0], xmm0
movss dword [edx + 0xf4], xmm5
movss xmm4, dword [ebp - 0x6c]
movss dword [ebp - 0x74], xmm2
addss xmm4, xmm5
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 8], xmm4
test eax, eax
jne 0x49dc12
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm0
movss xmm1, dword [esi + 0x5c]
ja 0x49da78
comiss xmm2, xmm1
jbe 0x49dc12
mov ecx, dword [0x693270]
maxss xmm0, xmm3
movaps xmm2, xmm5
mov byte [ebp - 0x15], 1
subss xmm2, dword [0x67ac8c]
movaps xmm5, xmm4
movss dword [ebp - 0x88], xmm1
mov eax, dword [ecx + 0x1160]
movss dword [ebp - 0x90], xmm0
movss dword [ebp - 0x84], xmm5
movss dword [ebp - 0x8c], xmm2
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x1160]
mov dword [ebp - 0x98], edx
mov edx, dword [edx + 0x264]
mov dword [ebp - 0x94], edx
movups xmm3, xmmword [edx + 0x60]
comiss xmm3, xmm0
movaps xmmword [ebp - 0xb0], xmm3
jbe 0x49daf4
movaps xmm0, xmm3
movss dword [ebp - 0x90], xmm0
movss xmm3, dword [ebp - 0xac]
comiss xmm3, xmm2
jbe 0x49db0c
movaps xmm2, xmm3
movss dword [ebp - 0x8c], xmm2
movss xmm3, dword [ebp - 0xa8]
comiss xmm1, xmm3
jbe 0x49db24
movaps xmm1, xmm3
movss dword [ebp - 0x88], xmm1
movss xmm3, dword [ebp - 0xa4]
comiss xmm4, xmm3
jbe 0x49db3c
movaps xmm5, xmm3
movss dword [ebp - 0x84], xmm5
comiss xmm0, xmm1
jb 0x49db49
movss dword [ebp - 0x88], xmm0
comiss xmm2, xmm5
jb 0x49db56
movss dword [ebp - 0x84], xmm2
mov ecx, dword [edx + 0x40]
add edx, 0x3c
mov dword [ebp - 0x2c], edx
cmp dword [edx], ecx
jne 0x49db90
test ecx, ecx
je 0x49db75
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x2c]
sar eax, 1
add eax, ecx
jmp 0x49db7a
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004813f0
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov edx, dword [edx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x90]
movups xmmword [edx + eax*8], xmm0
mov eax, dword [ebp - 0x94]
mov ecx, eax
inc dword [eax + 0x3c]
movups xmmword [eax + 0x60], xmm0
call fcn.00482dc0
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x210], eax
movss dword [edx + 0x214], xmm0
movss dword [edx + 0x218], xmm1
movss dword [edx + 0x21c], xmm2
movss xmm4, dword [ebp - 0x6c]
movss xmm2, dword [ebp - 0x74]
movss xmm5, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x28]
jmp 0x49dc16
mov byte [ebp - 0x15], 0
movss xmm0, dword [edx + 0x108]
subss xmm4, xmm5
subss xmm2, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x70]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [edx + 0x10c]
movss dword [ebp - 0x74], xmm0
movss xmm1, dword [eax + 0xac8]
movss dword [ebp - 0x70], xmm2
movss dword [ebp - 0x6c], xmm4
call fcn.00479760
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
push 0
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ebp - 0x74]
push 0
movss dword [eax + 0x10c], xmm0
call fcn.004798c0
add esp, 8
test al, al
jne 0x49dcb5
cmp byte [ebp - 0x15], al
je 0x49dc93
call fcn.00470c80
mov eax, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0xf4], xmm0
jmp 0x49df07
mov ecx, dword [ebp - 0x30]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x1c84], 0
lea ecx, [ebp - 0x14]
cmove eax, edx
mov edx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.0048fb20
add esp, 0xc
test al, al
je 0x49dcec
mov eax, dword [edi]
mov dword [esi + 0x18], eax
cmp byte [ebp - 0x16], 0
je 0x49dd86
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x44]
jl 0x49dd86
mov eax, dword [0x693270]
cmp byte [eax + 0xc8], 0
je 0x49dd86
movss xmm1, dword [eax + 0x58]
movss xmm0, dword [eax + 0xa58]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x49dd86
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x1c84], 0
jne 0x49dd86
test byte [esi + 0xc], 1
je 0x49dd86
movss xmm1, dword [eax + 0xb4]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x49dd5b
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [eax + 0xc0]
ja 0x49dd6e
comiss xmm1, xmm2
jbe 0x49dd86
movss xmm0, dword [eax + 0xc0]
comiss xmm0, dword [ebp - 0xc]
jbe 0x49dd86
push dword [eax + 0xc4]
mov edx, edi
mov ecx, esi
push dword [eax + 0xc0]
call fcn.0049d0f0
add esp, 8
cmp byte [ebp - 0x16], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x264]
mov dword [ebp - 0x40], eax
jne 0x49ddc9
cmp byte [ebp - 0x17], 0
jne 0x49ddc9
cmp byte [ebp - 0x1c], 0
je 0x49ddb6
mov eax, dword [ebp - 0x78]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x49ddce
cmp byte [ebp - 0x78], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x49ddce
mov ecx, 0x22
movss xmm1, dword [0x67ac8c]
call fcn.0046bd20
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x14]
push eax
push 0x100000
call fcn.0049e030
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push 1
call fcn.0046cb00
add esp, 0xc
mov ecx, 0x20
call fcn.0046ed50
test al, al
je 0x49de39
xor edx, edx
push 0
lea ecx, [edx + 1]
call fcn.00478110
add esp, 4
test al, al
jne 0x49de34
mov eax, dword [0x693270]
cmp byte [eax + 0xa1f], 0
je 0x49de39
cmp byte [eax + 0x1808], 0
jne 0x49de39
mov eax, dword [edi]
mov dword [esi + 0x18], eax
movss xmm0, dword [esi + 0x74]
lea eax, [ebp - 0x17]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x14]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [esi + 0x78]
movss dword [ebp - 0x5c], xmm0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x61]
push eax
push dword [ebp - 0x1c]
mov eax, dword [esi + 0xc]
push 0
push dword [ebp - 0x20]
and eax, 8
push dword [ebp - 0x24]
or eax, 0x200000
shr eax, 1
push eax
call fcn.0049e480
add esp, 0x24
cmp byte [ebp - 0x15], 0
je 0x49de8d
call fcn.00470c80
cmp byte [ebp - 0x17], 0
mov eax, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0xf4], xmm0
je 0x49df07
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp dword [ecx + 0x1198], eax
jne 0x49df07
cmp byte [ebp - 0x16], 0
jne 0x49df07
test byte [esi + 0xc], 0x20
jne 0x49df07
test byte [edi + 4], 0x10
jne 0x49df07
mov eax, dword [ebp - 0x24]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x49def6
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x49def6
cmp dl, 0x23
jne 0x49def0
cmp byte [ecx + 1], dl
je 0x49def6
inc ecx
cmp ecx, 0xffffffff
jb 0x49dee0
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.0047a770
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
call fcn.005aa453
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret