Function at 0x49ca30
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d451
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x5de040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push str.Txt01
mov dword [ebp - 4], 0
mov ecx, dword [0x5e441c]
push 0x5c030c
call fcn.00453770
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], cx
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
je 0x49cb00
cmp dword [ecx + 0x14], 0xf
jbe 0x49cb02
mov ecx, dword [ecx]
jmp 0x49cb02
xor ecx, ecx
lea edx, [ebp - 0x44]
call fcn.004cb5c0
mov ecx, dword [edi + 0x5c]
call fcn.004e7870
mov ecx, dword [edi + 0x58]
call fcn.004e7870
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 2
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
sub eax, edx
mov ecx, dword [edi + 0x3c]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp ecx, eax
jae 0x49cb59
lea eax, [ecx + ecx*2]
lea eax, [edx + eax*8]
jmp 0x49cb5c
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x5c]
cmp ecx, eax
je 0x49cb78
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x49cb6e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403a80
cmp dword [ebp - 0x48], 7
lea esi, [ebp - 0x5c]
movaps xmm0, xmmword [0x5c7630]
lea edx, [ebp - 0x44]
cmova esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x30], 7
mov eax, dword [ebp - 0x7c]
cmova edx, dword [ebp - 0x44]
sub esp, 8
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x5c7630]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 0
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push ecx
movups xmmword [ebp - 0xa8], xmm0
lea ecx, [ebp - 0x90]
movd xmm0, dword [eax + 0x10]
push ecx
cvtdq2ps xmm0, xmm0
lea ecx, [ebp - 0xa8]
push ecx
push 0
push 0
lea ecx, [ebp - 0xb8]
mulss xmm0, dword [ebx + 0x1c]
push ecx
push ecx
mov ecx, dword [edi + 0x5c]
cvttss2si eax, xmm0
push esi
push edx
push eax
push 0
push dword [ebp - 0x80]
call fcn.004e7950
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
cmp dword [ebx + 0x10], 0
lea esi, [edi + 0xc]
mov byte [ebp - 4], 3
mov eax, esi
je 0x49cc4e
cmp dword [esi + 0x14], 7
jbe 0x49cc3f
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00404b30
jmp 0x49cc63
cmp dword [esi + 0x14], 7
jbe 0x49cc56
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00404c80
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x49cc7d
cmp dword [ebp - 0x18], 7
mov ecx, esi
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00403a80
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0
movups xmmword [ecx], xmm0
push 0x5bd648
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403ce0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x94], esp
xorps xmm0, xmm0
push 3
movups xmmword [ecx], xmm0
push 0x5aaaa0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403ce0
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.00403830
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.004cbc50
add esp, 0x48
lea ecx, [ebp - 0x74]
call fcn.00403a20
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x98], esp
push 0
movups xmmword [ecx], xmm0
push 0x5bd648
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403ce0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x94], esp
xorps xmm0, xmm0
push 3
movups xmmword [ecx], xmm0
push 0x5aaae0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403ce0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.00403830
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.004cbc50
add esp, 0x48
lea ecx, [ebp - 0x74]
call fcn.00403a20
cmp dword [ebp - 0x18], 7
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmova edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 7
cmova eax, dword [ebp - 0x44]
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 0
push 0xffffffffffffffff
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
push 0
push 0
lea ecx, [ebp - 0xb8]
push ecx
push ecx
push edx
push eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [edi + 0x58]
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x1c]
cvttss2si eax, xmm0
push eax
push 0
push dword [ebp - 0x80]
call fcn.004e7950
lea ecx, [ebp - 0x2c]
call fcn.00403a20
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x49ce3b
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ce31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ceeb
push ecx
push edx
call fcn.0052d5b7
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x49ce75
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ce6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ceeb
push ecx
push edx
call fcn.0052d5b7
add esp, 8
mov edi, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
test edi, edi
je 0x49cefb
mov esi, edi
cmp esi, dword [ebp - 0x88]
je 0x49ceba
nop dword [eax]
lea ecx, [esi + 0x18]
call fcn.00403a20
mov ecx, esi
call fcn.00403a20
add esi, 0x30
cmp esi, dword [ebp - 0x88]
jne 0x49cea0
mov eax, dword [ebp - 0x84]
sub eax, edi
sar eax, 4
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 4
cmp ecx, 0x1000
jb 0x49cef1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49cef1
call dword [0x5a47c4]
push ecx
push edi
call fcn.0052d5b7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d235
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18