Function at 0x4540f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa4e7
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x53e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 8]
lea esi, [edi + 0xc]
push esi
lea ecx, [ebp - 0x14c]
call fcn.0040c400
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x134]
call fcn.0040c400
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040c400
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [ebp - 0x104]
call fcn.0040c400
mov byte [ebp - 4], 3
lea eax, [esi + 0x60]
push eax
lea ecx, [ebp - 0xec]
call fcn.0040c400
mov byte [ebp - 4], 4
lea eax, [esi + 0x78]
push eax
lea ecx, [ebp - 0xd4]
call fcn.004544d0
mov byte [ebp - 4], 5
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040c400
mov dword [ebp - 4], 7
test ebx, ebx
jne 0x454264
push 1
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x28c]
call fcn.0045ee40
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28c]
push ebx
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [edi + 0xa8]
call fcn.0045bc10
mov bl, al
test bl, bl
jne 0x454217
lea ecx, [edi + 0xa8]
call fcn.0045cf40
test al, al
je 0x454217
add dword [ebp - 0x28c], 1
adc dword [ebp - 0x288], 0
jmp 0x454230
mov eax, dword [ebp - 0x28c]
or eax, dword [ebp - 0x288]
je 0x454237
xorps xmm0, xmm0
movlpd qword [ebp - 0x28c], xmm0
mov byte [ebp - 0x1f0], 1
mov byte [edi + 0x218], bl
mov byte [ebp - 4], 9
cmp byte [ebp - 0x1f0], 0
je 0x454255
lea ecx, [ebp - 0x28c]
call fcn.0045f950
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x208]
jmp 0x45447a
cmp ebx, 1
jne 0x4543ab
push ebx
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0045ee40
mov byte [ebp - 4], 0xa
lea esi, [edi + 0xa8]
mov eax, dword [ebp - 0xb0]
or eax, dword [ebp - 0xac]
je 0x4542f3
push 0
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0045bc10
test al, al
jne 0x4542d4
mov ecx, esi
call fcn.0045cf40
test al, al
je 0x4542d4
add dword [ebp - 0xb0], ebx
adc dword [ebp - 0xac], 0
jmp 0x4542ef
mov eax, dword [ebp - 0xb0]
mov ecx, esi
or eax, dword [ebp - 0xac]
je 0x4542f3
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
mov byte [ebp - 0x14], 1
inc dword [ebp - 0x94]
lea eax, [ebp - 0xb0]
push 1
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 0x14], 1
push eax
mov ecx, esi
call fcn.0045bc10
mov byte [edi + 0x218], al
test al, al
je 0x45438a
mov eax, dword [ebp - 0xb0]
or eax, dword [ebp - 0xac]
je 0x45433b
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
movlpd qword [ebp - 0xb0], xmm0
mov esi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push 0
call esi
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
bts eax, 0xb
mov dword [ebp - 0x9c], edx
push 0
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x98], eax
call esi
mov byte [ebp - 0x14], 1
add esp, 8
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x14], 0
je 0x45439f
lea ecx, [ebp - 0xb0]
call fcn.0045f950
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
jmp 0x45447a
cmp ebx, 2
jne 0x45447f
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.0045ee40
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1ec]
push ebx
push eax
lea eax, [ebp - 0x14c]
lea ecx, [edi + 0xa8]
push eax
call fcn.0045bc10
push 0x60
mov byte [edi + 0x218], al
xorps xmm0, xmm0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 0x150], 1
push 0
push eax
movlpd qword [ebp - 0x1ec], xmm0
movlpd qword [ebp - 0x1e4], xmm0
movlpd qword [ebp - 0x1dc], xmm0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebp - 0x150], 0
lea ecx, [ebp - 0x168]
call fcn.004cfb90
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x150], 0
je 0x454470
lea ecx, [ebp - 0x1ec]
call fcn.0045f950
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x168]
call fcn.00403780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.0043cf90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ec151
mov esp, ebp
pop ebp
ret