Function at 0x454af0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5bc989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0
call fcn.0042ecc0
mov ebp, 1
mov dword [esp + 0x50], ebp
lea ecx, [esp + 0x18]
call fcn.0042ecc0
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x30]
call fcn.0042ecc0
mov byte [esp + 0x50], 3
lea ecx, [esp + 0x28]
call fcn.0042ecc0
mov byte [esp + 0x50], 4
mov edi, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x34]
call fcn.00431580
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454b62
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
lea esi, [eax + 1]
mov eax, dword [edx - 8]
mov ecx, ebp
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x454b94
push esi
lea ecx, [esp + 0x24]
call fcn.004025e0
mov edx, dword [esp + 0x20]
push edx
push edi
call fcn.00450b10
add esp, 8
test eax, eax
jne 0x454c02
mov esi, dword [esp + 0x58]
push 0x5c9dfc
mov ecx, esi
call fcn.00432c00
mov dword [esp + 0xc], ebp
mov byte [esp + 0x50], 3
lea ecx, [esp + 0x28]
call fcn.0042ee10
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x30]
call fcn.0042ee10
mov byte [esp + 0x50], 1
lea ecx, [esp + 0x18]
call fcn.0042ee10
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x20]
call fcn.0042ee10
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00511c8f
add esp, 8
test eax, eax
jl 0x454e66
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx - 8]
jg 0x454e66
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454c40
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
lea esi, [eax + 1]
mov eax, dword [edx - 8]
mov ecx, ebp
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x454c72
push esi
lea ecx, [esp + 0x1c]
call fcn.004025e0
mov edx, dword [esp + 0x18]
push edx
push edi
call fcn.00450a40
add esp, 8
test eax, eax
jne 0x454c95
mov esi, dword [esp + 0x58]
push 0x5c9dfc
mov ecx, esi
call fcn.00432c00
jmp 0x454bb2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00511c8f
add esp, 8
test eax, eax
jl 0x454e66
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x454e66
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x30]
cmp dword [eax - 0xc], ecx
jl 0x454d1c
push 0x5d027c
push eax
call fcn.0050f213
add esp, 8
test eax, eax
je 0x454d1c
sub eax, dword [esp + 0x30]
sar eax, 1
js 0x454d1c
add eax, 3
push eax
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.00408cd0
mov byte [esp + 0x50], 5
push eax
lea ecx, [esp + 0x2c]
call fcn.00430b70
mov byte [esp + 0x50], 4
lea ecx, [esp + 0x10]
call fcn.00408c10
push ebx
lea ecx, [esp + 0x3c]
call fcn.0042ecc0
mov byte [esp + 0x54], 6
movzx ecx, word [esp + 0x64]
push ecx
lea edx, [esp + 0x40]
push 0x5d0350
push edx
call fcn.004218f0
add esp, 0xc
push 0x5d0278
lea ecx, [esp + 0x18]
call fcn.00432c00
mov byte [esp + 0x54], 7
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041d130
add esp, 8
mov bl, al
mov byte [esp + 0x54], 6
lea ecx, [esp + 0x14]
call fcn.0042ee10
test bl, bl
je 0x454dc3
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0041fb60
mov bl, 8
mov byte [esp + 0x60], bl
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0041fb60
add esp, 0x18
mov byte [esp + 0x54], 9
push eax
lea ecx, [esp + 0x30]
call fcn.00431480
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x14]
call fcn.0042ee10
jmp 0x454de9
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.0041fb60
add esp, 0xc
mov byte [esp + 0x54], 0xa
push eax
lea ecx, [esp + 0x30]
call fcn.00431480
mov byte [esp + 0x54], 6
lea ecx, [esp + 0x44]
call fcn.0042ee10
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0042edc0
mov dword [esp + 0x10], ebp
mov byte [esp + 0x54], 4
lea ecx, [esp + 0x3c]
call fcn.0042ee10
mov byte [esp + 0x54], 3
lea ecx, [esp + 0x2c]
call fcn.0042ee10
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x34]
call fcn.0042ee10
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x1c]
call fcn.0042ee10
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x24]
call fcn.0042ee10
mov ecx, dword [esp + 0x4c]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x48
ret
push 0x80070057
call fcn.004013e0
int3