Function at 0x406320
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x411188
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x24
mov dword [esp + 0x1c], edi
call fcn.004083d5
mov esi, dword [esp + 0x2c]
mov ebp, eax
mov dword [ebp + 4], esi
mov dword [ebp + 0x20], edi
mov eax, dword [0x44aef4]
mov edi, dword [esp + 0x30]
mov dword [ebp], eax
mov ecx, dword [0x44aef4]
lea edx, [ebp + 0xc]
push edi
push edx
mov dword [ebp + 8], ecx
call fcn.00406880
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
add esp, 0xc
inc ecx
cmp esi, eax
mov dword [ebx + 0xc], ecx
je 0x4063b1
mov eax, dword [esp + 0x24]
mov ecx, dword [0x44aef4]
cmp eax, ecx
jne 0x4063b1
lea ecx, [esi + 0xc]
push ecx
mov ecx, edi
call fcn.004069f0
test eax, eax
jl 0x4063b1
mov dword [esi + 8], ebp
mov eax, dword [ebx + 4]
cmp esi, dword [eax + 8]
jne 0x4063cb
mov dword [eax + 8], ebp
jmp 0x4063cb
mov dword [esi], ebp
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4063c5
mov dword [eax + 4], ebp
mov edx, dword [ebx + 4]
mov dword [edx + 8], ebp
jmp 0x4063cb
cmp esi, dword [eax]
jne 0x4063cb
mov dword [eax], ebp
mov ecx, dword [ebx + 4]
mov eax, ebp
cmp ebp, dword [ecx + 4]
je 0x406588
mov ecx, dword [eax + 4]
xor edi, edi
cmp dword [ecx + 0x20], edi
jne 0x406588
mov esi, dword [ecx + 4]
mov edx, dword [esi]
cmp ecx, edx
jne 0x4064c1
mov edx, dword [esi + 8]
cmp dword [edx + 0x20], edi
jne 0x40641b
mov esi, 1
mov dword [ecx + 0x20], esi
mov dword [edx + 0x20], esi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [ecx + 0x20], edi
mov edx, dword [eax + 4]
mov eax, dword [edx + 4]
jmp 0x40657c
cmp eax, dword [ecx + 8]
jne 0x40645d
mov eax, ecx
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x44aef4]
je 0x406437
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 4]
cmp eax, dword [edx + 4]
jne 0x40644a
mov dword [edx + 4], ecx
jmp 0x406458
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x406455
mov dword [edx], ecx
jmp 0x406458
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 1
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [ecx + 0x20], edi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov dword [ecx], esi
mov esi, dword [edx + 8]
cmp esi, dword [0x44aef4]
je 0x40648b
mov dword [esi + 4], ecx
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ebx + 4]
cmp ecx, dword [esi + 4]
jne 0x4064a4
mov dword [esi + 4], edx
mov dword [edx + 8], ecx
jmp 0x406579
mov esi, dword [ecx + 4]
cmp ecx, dword [esi + 8]
jne 0x4064b7
mov dword [esi + 8], edx
mov dword [edx + 8], ecx
jmp 0x406579
mov dword [esi], edx
mov dword [edx + 8], ecx
jmp 0x406579
cmp dword [edx + 0x20], edi
jne 0x4064e5
mov esi, 1
mov dword [ecx + 0x20], esi
mov dword [edx + 0x20], esi
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [edx + 0x20], edi
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
jmp 0x40657c
cmp eax, dword [ecx]
jne 0x406528
mov eax, ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x44aef4]
je 0x406500
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 4]
cmp eax, dword [edx + 4]
jne 0x406513
mov dword [edx + 4], ecx
jmp 0x406522
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x406520
mov dword [edx + 8], ecx
jmp 0x406522
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov ecx, dword [eax + 4]
mov dword [ecx + 0x20], 1
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [ecx + 0x20], edi
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [edx]
mov dword [ecx + 8], esi
mov esi, dword [edx]
cmp esi, dword [0x44aef4]
je 0x406556
mov dword [esi + 4], ecx
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ebx + 4]
cmp ecx, dword [esi + 4]
jne 0x406569
mov dword [esi + 4], edx
jmp 0x406577
mov esi, dword [ecx + 4]
cmp ecx, dword [esi]
jne 0x406574
mov dword [esi], edx
jmp 0x406577
mov dword [esi + 8], edx
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov ecx, dword [ebx + 4]
cmp eax, dword [ecx + 4]
jne 0x4063d9
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, dword [edx + 4]
mov dword [eax + 0x20], 1
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10