Function at 0x45be30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d3653
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push 0x20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.004196c0
mov dword [esp + 0x18], vtable.DirTable.0
lea eax, [esi + 0xc]
xor ebx, ebx
push 1
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 1
call fcn.0045fce0
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x45beab
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00419700
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
mov edx, dword [ebp]
push edi
push ebx
push ebx
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [ebp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x14], edi
jle 0x45bfbb
cmp edi, eax
jge 0x45bed7
cmp edi, ebx
jl 0x45bed7
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + edi*4]
jmp 0x45bed9
xor esi, esi
mov eax, dword [esi + 0x34]
push eax
call fcn.0049f130
add esp, 4
test eax, eax
je 0x45bfa7
push 0x40
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x45bf12
push esi
mov ecx, eax
call fcn.00424900
mov dword [esp + 0x10], eax
jmp 0x45bf16
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
mov byte [esp + 0x40], 0
cmp eax, ebx
je 0x45bfa7
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x45bf8f
mov edx, dword [esp + 0x30]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004bd49b
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov ebx, eax
lea ecx, [ecx*4 + 4]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
add eax, ecx
add esp, 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x45becb
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
pop edi
cmp eax, ebx
je 0x45bff0
mov eax, dword [ebp + 0x14]
xor esi, esi
cmp eax, ebx
jle 0x45bfec
cmp esi, eax
jge 0x45bfe4
cmp esi, ebx
jl 0x45bfe4
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x45bfe4
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0x14]
inc esi
cmp esi, eax
jl 0x45bfd0
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
call fcn.004bd4c4
push 0x80
call fcn.004bd49b
add esp, 8
mov ecx, ebp
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], 0x1f
mov dword [ebp + 0x20], 0x40
call fcn.0045f810
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
push eax
call dword [0x4d67a0]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], vtable.Table_class_DirEntry_.0
je 0x45c079
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, ebx
jle 0x45c079
cmp esi, eax
jge 0x45c074
cmp esi, ebx
jl 0x45c074
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x45c074
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x45c05b
mov eax, dword [esp + 0x1c]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0x34
ret