Function at 0x4cac20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d14f5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov edi, dword [ebp + 8]
push 0
sub esp, 0x10
mov dword [ebp - 0x44], edi
mov eax, esp
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.004a7e30
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x40]
mov edi, dword [0x66598c]
add esp, 0x18
cdq
xorps xmm0, xmm0
sub eax, edx
mov dword [ebp - 0x30], 0
mov esi, eax
mov dword [ebp - 0x2c], 0
push 0xd
push str._DIALOG_SHOW_
sar esi, 1
movups xmmword [ebp - 0x40], xmm0
call fcn.0040c760
push 2
push 0x6671bc
push edi
push 0x3c
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x44]
call fcn.0040e570
mov ecx, dword [ebp - 0x2c]
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x4cad14
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cad0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cae7b
push ecx
push edx
call fcn.0059b718
add esp, 8
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
mov edi, dword [0x665988]
xorps xmm0, xmm0
push 0xf
push str._DIALOG_SHOW_T_
mov eax, dword [eax + 0x30]
cdq
sub eax, edx
mov dword [ebp - 0x18], 0
mov esi, eax
mov dword [ebp - 0x14], 0
sar esi, 1
movups xmmword [ebp - 0x28], xmm0
call fcn.0040c760
push 2
push 0x6671bc
push edi
push 0x5c
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push dword [ebp - 0x44]
call fcn.0040e570
mov ecx, dword [ebp - 0x14]
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x4cadad
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cada3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cae80
push ecx
push edx
call fcn.0059b718
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov eax, dword [ecx + 0x164]
mov esi, dword [ecx + 0x160]
mov dword [ebp - 0x4c], eax
cmp esi, eax
je 0x4cae50
cmp dword [esi + 0x10], 0
jne 0x4cae1c
movd xmm0, dword [esi + 4]
push 0
push 0xff
push 0
push ecx
mov dword [esp], 0
push dword [esi + 0x14]
cvtdq2ps xmm0, xmm0
sub esp, 8
movss dword [esp + 4], xmm0
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [ebp - 0x44]
call fcn.004c91d0
mov ecx, dword [ebp - 0x48]
add esp, 0x20
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 0x158]
jne 0x4cae48
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0x15c]
jne 0x4cae48
push dword [esi + 4]
mov ecx, dword [ebp - 0x44]
push dword [esi]
push dword [0x665e48]
call fcn.005138d0
mov ecx, dword [ebp - 0x48]
add esi, 0x40
cmp esi, dword [ebp - 0x4c]
jne 0x4cadd7
push dword [ebp - 0x44]
mov ecx, dword [ecx + 0x170]
call fcn.004a78f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret 4
call fcn.005a17d1
call fcn.005a17d1
int3