Function at 0x45ac60
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 0x4966b1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x90
mov eax, dword [0x57d040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x90], ecx
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x1c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
push 0x58
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
add esp, 0xc
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 0xf
lea ecx, [ebp - 0x88]
push dword [ebx + 0x30]
cmova eax, dword [ebx + 0x20]
push eax
call fcn.00402690
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.0041a460
push 0xc8
call fcn.00492ca9
mov esi, eax
add esp, 4
mov dword [ebp - 0x98], esi
push 0xc8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x9c], esp
mov dword [eax + 0x24], 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa0], esp
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 6
sub esp, 0x18
mov edx, dword [ebx + 0x30]
mov eax, 0x7fffffff
sub eax, edx
mov ecx, esp
mov dword [ebp - 0x8c], ecx
cmp eax, 2
jb 0x45afd1
cmp dword [ebx + 0x34], 0xf
lea eax, [ebx + 0x20]
push 2
cmova eax, dword [ebx + 0x20]
push 0x570f88
push edx
push eax
push ecx
push dword [ebp - 0x8c]
call fcn.0045b910
push 0x4b78a1
push edi
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0045a8b0
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
mov byte [ebp - 4], 3
mov dword [ebp - 0x58], eax
mov edi, dword [edi + 8]
shl esi, 4
sub esi, dword [ebp - 0x94]
lea eax, [edi + 0x24]
mov ecx, dword [edi + esi*4 + 0x28]
lea eax, [eax + esi*4]
sub ecx, dword [edi + esi*4 + 0x24]
mov dword [ebp - 0x90], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x45ae63
mov ecx, dword [edi + esi*4 + 0x34]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + esi*4 + 0x30]
imul ecx
mov ecx, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx eax, byte [ebp - 0x70]
cmove eax, ecx
mov byte [ebp - 0x70], al
cmp byte [ebx + 0x18], 0
je 0x45aeb1
mov esi, dword [ebp - 0x90]
lea ecx, [ebp - 0x88]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x45ae99
mov ecx, eax
call fcn.00402140
add dword [esi + 4], 0x68
lea ecx, [ebp - 0x88]
call fcn.004022a0
jmp 0x45af36
mov ecx, esi
push eax
call fcn.0045b430
lea ecx, [ebp - 0x88]
call fcn.004022a0
jmp 0x45af36
mov eax, dword [edi + esi*4 + 0x34]
lea ecx, [edi + 0x30]
lea ecx, [ecx + esi*4]
cmp eax, dword [edi + esi*4 + 0x38]
je 0x45aee1
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00402140
add dword [edi + esi*4 + 0x34], 0x68
lea ecx, [ebp - 0x88]
call fcn.004022a0
jmp 0x45af36
lea edx, [ebp - 0x88]
push edx
push eax
call fcn.0045b430
lea ecx, [ebp - 0x88]
call fcn.004022a0
jmp 0x45af36
mov ecx, dword [ebx + 0x34]
cmp ecx, 0xf
jbe 0x45af66
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45af5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45afa1
push ecx
push edx
call fcn.00493044
add esp, 8
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
test edx, edx
je 0x45afb1
mov ecx, dword [ebx + 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x45afa7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45afa7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00493044
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00492c21
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
call fcn.004013c0
int3