Function at 0x49cf10
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 0x59d2f1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x5de00c]
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 dword [ebp - 0x80], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
push str.Txt01
mov dword [ebp - 4], 0
mov ecx, dword [0x5e461c]
push 0x5c00f0
call fcn.00453a50
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 + 0x34]
mov esi, dword [eax + 0x30]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49cfec
cmp dword [esi + 0x14], 0x10
jb 0x49cfee
mov esi, dword [esi]
jmp 0x49cfee
xor esi, esi
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.004cbd00
mov ecx, dword [edi + 0x5c]
call fcn.004e7eb0
mov ecx, dword [edi + 0x58]
call fcn.004e7eb0
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 [ebp - 0x7c]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [edi + 0x3c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x49d052
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
jmp 0x49d055
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x5c]
cmp ecx, eax
je 0x49d071
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x49d067
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004039f0
cmp dword [ebp - 0x48], 8
lea esi, [ebp - 0x5c]
movaps xmm0, xmmword [0x5c7400]
lea edx, [ebp - 0x44]
cmovae esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x80]
cmovae edx, dword [ebp - 0x44]
sub esp, 8
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x5c7400]
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 - 0x7c]
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 - 0x84]
call fcn.004e7f90
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 0x49d147
cmp dword [esi + 0x14], 8
jb 0x49d138
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00404a10
jmp 0x49d15c
cmp dword [esi + 0x14], 8
jb 0x49d14f
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00404b60
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x49d176
cmp dword [ebp - 0x18], 8
mov ecx, esi
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004039f0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0
movups xmmword [ecx], xmm0
push 0x5bd430
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403d10
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x78], esp
xorps xmm0, xmm0
push 3
movups xmmword [ecx], xmm0
push 0x5aaa90
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403d10
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004037a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.004cc380
add esp, 0x48
lea ecx, [ebp - 0x74]
call fcn.00403990
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x98], esp
push 0
movups xmmword [ecx], xmm0
push 0x5bd430
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403d10
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x88], esp
xorps xmm0, xmm0
push 3
movups xmmword [ecx], xmm0
push 0x5aaad0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403d10
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004037a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.004cc380
add esp, 0x48
lea ecx, [ebp - 0x74]
call fcn.00403990
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae 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 - 0x94]
push ecx
lea ecx, [ebp - 0x7c]
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 - 0x80]
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 - 0x84]
call fcn.004e7f90
lea ecx, [ebp - 0x2c]
call fcn.00403990
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x49d334
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49d32a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d3e9
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x49d36e
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49d364
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d3e9
push ecx
push edx
call fcn.0052d747
add esp, 8
mov edi, dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
test edi, edi
je 0x49d3f9
mov esi, edi
cmp esi, dword [ebp - 0x90]
je 0x49d3b0
lea ecx, [esi + 0x18]
call fcn.00403990
mov ecx, esi
call fcn.00403990
add esi, 0x30
cmp esi, dword [ebp - 0x90]
jne 0x49d396
mov ecx, dword [ebp - 0x8c]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 4
cmp ecx, 0x1000
jb 0x49d3ef
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49d3ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0052d747
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.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18