Function at 0x406b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b918
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x406b38
call fcn.00445055
mov edi, dword [edi]
mov ebx, esi
xor ebp, ebp
mov edi, edi
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0xc], esi
jbe 0x406b55
call fcn.00445055
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
cmp edi, ebp
je 0x406b5f
cmp edi, eax
je 0x406b64
call fcn.00445055
cmp ebx, esi
je 0x406d64
cmp edi, ebp
jne 0x406d28
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406b85
call fcn.00445055
mov eax, dword [ebx]
add eax, 0x208
push eax
call fcn.00417f70
add esp, 4
test eax, eax
je 0x406be6
cmp edi, ebp
jne 0x406d2f
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406bb2
call fcn.00445055
mov ecx, dword [ebx]
cmp dword [ecx + 0x410], ebp
je 0x406be6
cmp edi, ebp
jne 0x406d36
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406bd5
call fcn.00445055
mov edx, dword [ebx]
add edx, 0x208
push edx
call fcn.00418170
add esp, 4
cmp edi, ebp
jne 0x406d3d
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406bff
call fcn.00445055
cmp edi, ebp
jne 0x406d44
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406c18
call fcn.00445055
cmp edi, ebp
jne 0x406d4b
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406c31
call fcn.00445055
mov eax, dword [ebx]
mov ecx, dword [eax + 0x410]
push ecx
lea edx, [eax + 0x208]
push edx
push eax
call fcn.00418e30
add esp, 0xc
cmp edi, ebp
jne 0x406d52
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406c63
call fcn.00445055
mov eax, dword [ebx]
cmp dword [eax + 0x410], ebp
je 0x406d0b
cmp edi, ebp
jne 0x406d59
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406c8a
call fcn.00445055
mov ecx, dword [ebx]
add ecx, 0x208
xor edx, edx
mov eax, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], dx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x406cb0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403400
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], ebp
call fcn.00406a50
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x406cf8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044475c
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], dx
cmp edi, ebp
jne 0x406d60
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406d20
call fcn.00445055
add ebx, 4
jmp 0x406b40
mov eax, dword [edi]
jmp 0x406b7b
mov eax, dword [edi]
jmp 0x406ba8
mov eax, dword [edi]
jmp 0x406bcb
mov eax, dword [edi]
jmp 0x406bf5
mov eax, dword [edi]
jmp 0x406c0e
mov eax, dword [edi]
jmp 0x406c27
mov eax, dword [edi]
jmp 0x406c59
mov eax, dword [edi]
jmp 0x406c80
mov eax, dword [edi]
jmp 0x406d16
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret