Function at 0x45a120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d3f96
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x63a800]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
cmp dword [ebx + 0x1c], edi
jne 0x45a162
push edi
call fcn.0048989b
add esp, 4
mov dword [ebx + 0x1c], edi
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
cmp eax, ecx
je 0x45a38b
mov esi, dword [eax + 0x10]
mov dword [esp + 0x18], esi
cmp esi, edi
je 0x45a382
add esi, 0x2004
mov dword [esp + 0x14], 0x200
jmp 0x45a194
xor edi, edi
mov ebx, dword [esi - 0x2000]
sub ebx, dword [esi - 0x2004]
sar ebx, 2
test ebx, ebx
jle 0x45a273
jmp 0x45a1b0
mov eax, dword [esi - 0x2004]
mov eax, dword [eax + edi*4]
push eax
call fcn.0048989b
mov ecx, dword [esi - 0x2004]
mov dword [ecx + edi*4], 0
inc edi
add esp, 4
cmp edi, ebx
jl 0x45a1b0
test ebx, ebx
jle 0x45a273
mov ecx, dword [esi - 0x2000]
mov ebx, dword [esi - 0x2004]
cmp ebx, ecx
je 0x45a20d
mov eax, ecx
sub eax, ecx
sar eax, 2
lea edi, [eax*4]
push edi
push ecx
push ebx
call fcn.005ac4d0
add esp, 0xc
add edi, ebx
mov dword [esi - 0x2000], edi
lea edx, [esi - 0x2004]
lea eax, [esp + 0x1c]
cmp edx, eax
je 0x45a273
mov ecx, dword [esi - 0x2000]
mov ebx, dword [esi - 0x2004]
cmp ebx, ecx
je 0x45a24c
mov eax, ecx
sub eax, ecx
sar eax, 2
lea edi, [eax*4]
push edi
push ecx
push ebx
call fcn.005ac4d0
add esp, 0xc
add edi, ebx
mov dword [esi - 0x2000], edi
mov eax, dword [esi - 0x2004]
xor edi, edi
cmp eax, edi
je 0x45a261
push eax
call fcn.0048989b
add esp, 4
mov dword [esi - 0x2004], edi
mov dword [esi - 0x2000], edi
mov dword [esi - 0x1ffc], edi
mov ebx, dword [esi]
sub ebx, dword [esi - 4]
xor edi, edi
sar ebx, 2
test ebx, ebx
jle 0x45a318
mov ecx, dword [esi - 4]
mov eax, dword [ecx + edi*4]
push eax
call fcn.0048989b
mov edx, dword [esi - 4]
mov dword [edx + edi*4], 0
inc edi
add esp, 4
cmp edi, ebx
jl 0x45a285
test ebx, ebx
jle 0x45a318
mov ecx, dword [esi]
mov edi, dword [esi - 4]
cmp edi, ecx
je 0x45a2cd
mov eax, ecx
sub eax, ecx
sar eax, 2
lea ebx, [eax*4]
push ebx
push ecx
push edi
call fcn.005ac4d0
add esp, 0xc
add ebx, edi
mov dword [esi], ebx
lea eax, [esi - 4]
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x45a318
mov ecx, dword [esi]
mov edi, dword [esi - 4]
cmp edi, ecx
je 0x45a2fe
mov eax, ecx
sub eax, ecx
sar eax, 2
lea ebx, [eax*4]
push ebx
push ecx
push edi
call fcn.005ac4d0
add esp, 0xc
add edi, ebx
mov dword [esi], edi
mov eax, dword [esi - 4]
xor edi, edi
cmp eax, edi
je 0x45a310
push eax
call fcn.0048989b
add esp, 4
mov dword [esi - 4], edi
mov dword [esi], edi
mov dword [esi + 4], edi
add esi, 0x10
dec dword [esp + 0x14]
jne 0x45a192
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
push 0x45a690
push 0x200
push 0x10
add eax, 0x2000
push eax
mov dword [esp + 0x48], 2
call fcn.005aca0d
mov esi, dword [esp + 0x18]
push 0x45a690
push 0x200
push 0x10
push esi
mov dword [esp + 0x48], 0xffffffff
call fcn.005aca0d
push esi
call fcn.0048989b
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ebx, dword [ebp + 8]
add esp, 4
mov dword [esp + 0x10], eax
xor edi, edi
cmp eax, dword [ebx + 0x6c]
jne 0x45a173
lea esi, [ebx + 0x68]
call fcn.0043f4a0
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
mov byte [ebx + 0xc], 0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4