Function at 0x454060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46bf28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x20]
push edi
lea ebp, [eax + 0x16]
push 0
push ebp
lea ecx, [esp + 0x18]
call fcn.00453430
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x20]
mov edx, dword [0x48b8d4]
mov dword [ecx], edx
mov cx, word [ebx + 8]
mov edx, dword [esp + 0x14]
mov word [edx + 4], cx
mov cx, word [ebx + 0xa]
mov edx, dword [esp + 0x14]
mov word [edx + 6], cx
mov cx, word [ebx + 0xc]
mov edx, dword [esp + 0x14]
mov word [edx + 8], cx
mov cx, word [ebx + 0xe]
mov edx, dword [esp + 0x14]
mov word [edx + 0xa], cx
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x14], ax
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0x1c]
movzx ecx, ax
mov edx, ecx
shr ecx, 2
add edi, 0x16
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2c]
push ebp
push eax
mov dword [esp + 0x30], 0
call fcn.00452d30
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00453460
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
push esi
mov esi, ecx
mov al, byte [esi + 0x3c]
test al, al
jne 0x45459d
mov ecx, dword [esi + 0x2c]
call fcn.00452140
test eax, eax
jne 0x454463
mov ecx, dword [esi + 0x2c]
call fcn.00452540
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
push 2
push 0
push 0
call dword [edx + 0x28]
mov ax, word [esi + 0x48]
mov ecx, dword [esi + 0x2c]
push ebx
push edi
mov word [esi + 0xe], ax
mov dword [esi + 0x10], 0
xor bl, bl
call fcn.00452140
test eax, eax
je 0x4544f9
mov ecx, dword [esi + 0x2c]
call fcn.00452160
test eax, eax
jne 0x4544f9
mov ecx, dword [esi + 0x2c]
push ebp
call fcn.00452170
push 1
mov ecx, esi
mov ebp, eax
call fcn.00453910
movzx ecx, word [esi + 0xe]
shl ecx, 4
mov edx, 0xfffffffc
sub edx, ecx
mov edi, eax
add edi, edx
cmp ebp, edi
pop ebp
jb 0x4544f9
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x44]
test eax, eax
jne 0x4544d7
call fcn.004521b0
cmp eax, edi
jb 0x4544d7
push 1
mov ecx, esi
call fcn.00453960
jmp 0x4544f7
mov ecx, dword [esi + 0x2c]
call fcn.00452540
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x48]
push 0
mov ecx, esi
call fcn.00453960
test al, al
je 0x4544f9
mov bl, 1
mov ecx, esi
call fcn.00453830
mov ecx, dword [esi + 0x2c]
call fcn.00452160
mov ecx, esi
mov word [esi + 8], ax
call 0x454060
test bl, bl
mov edi, eax
je 0x45452e
mov ecx, dword [esi + 0x2c]
call fcn.00452160
test eax, eax
je 0x45452e
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00453df0
mov ecx, dword [esi + 0x2c]
call fcn.00452160
movzx ecx, word [esi + 8]
cmp ecx, eax
je 0x45459b
mov ecx, dword [esi + 0x2c]
call fcn.00452160
xor ebx, ebx
cmp word [esi + 0xe], bx
mov word [esi + 8], ax
je 0x454558
mov word [esi + 0xc], bx
jmp 0x45455f
mov word [esi + 0xa], ax
mov dword [esi + 0x14], ebx
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x2c]
cmp eax, edi
jb 0x454578
sub eax, edi
pop edi
mov dword [ecx + 0x2c], eax
pop ebx
mov ecx, esi
pop esi
jmp 0x454060
call fcn.00452540
mov eax, dword [esi + 0x2c]
sub dword [eax + 0x44], edi
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
call dword [eax + 0x28]
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x454060
pop edi
pop ebx
pop esi
ret