Function at 0x40b730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b8a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
cmp dword [ecx + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0
jne 0x40b958
mov eax, dword fs:[0x18]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x38]
mov dword [ebp - 0x10], esi
cmp dword [esi + 0xc], ecx
jbe 0x40b958
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ebx, [eax + ecx*8]
add ebx, esi
push 0x208
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004213e0
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x10]
lea eax, [eax + ecx*8]
push dword [eax + esi + 0xc]
mov eax, dword [eax + esi + 4]
add eax, esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004208e0
add esp, 0x18
lea esi, [ebp - 0x260]
mov edi, 0x104
nop word [eax + eax]
movzx eax, word [esi]
push eax
call fcn.0042842b
add esp, 4
mov word [esi], ax
lea esi, [esi + 2]
sub edi, 1
jne 0x40b7f0
mov edx, dword [ebp - 0x10]
xor esi, esi
mov eax, dword [ebx + 4]
mov ecx, dword [edx + 0x10]
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8]
add ebx, edx
cmp dword [ebx + 0x14], esi
jbe 0x40b8cc
mov eax, dword [ebx + 0x10]
add eax, edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0xc]
shr ecx, 1
add eax, edx
push ecx
xor edx, edx
lea ecx, [ebp - 0x40]
push eax
mov word [ebp - 0x40], dx
call fcn.00402710
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0
je 0x40b87e
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push ecx
cmp dword [ebp - 0x14], eax
je 0x40b875
mov ecx, eax
call fcn.004025e0
add dword [ebp - 0x18], 0x18
jmp 0x40b87e
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040bf50
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40b8bc
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b8b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b975
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov edx, dword [ebp - 0x10]
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x14]
jb 0x40b823
lea eax, [ebp - 0x260]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c220
or dword [ebp - 0x20], 1
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 2
mov eax, dword [ebx + 4]
mov esi, dword [eax]
lea eax, [ebp - 0x50]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0040c630
mov edx, dword [ebx + 8]
mov ecx, 0x5d1745c
sub ecx, edx
cmp ecx, 1
jb 0x40b96b
lea ecx, [edx + 1]
mov dword [ebx + 8], ecx
mov ecx, ebx
mov dword [esi + 4], eax
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040c370
lea ecx, [ebp - 0x4c]
call fcn.0040be20
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040be20
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [esi + 0xc]
jb 0x40b782
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0041e811
call fcn.00424b90
int3