Function at 0x412420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
cmp dword [ecx + 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
jne 0x4126a8
mov eax, dword fs:[0x18]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x38]
mov dword [ebp - 0x10], esi
cmp dword [esi + 0xc], ecx
jbe 0x4126a8
mov edi, dword [0x46a2c4]
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
mov dword [ebp - 0x28], ebx
xor eax, eax
mov dword [ebp - 4], 0
push 0x206
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.0045e0c2
mov eax, dword [ebx + 4]
add esp, 0xc
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
add eax, dword [esi + 0x10]
push dword [eax + 0xc]
mov eax, dword [eax + 4]
add eax, esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0045e054
add esp, 0xc
lea esi, [ebp - 0x260]
mov ebx, 0x104
movzx eax, word [esi]
push eax
call dword [0x46a304]
add esp, 4
mov word [esi], ax
lea esi, [esi + 2]
dec ebx
jne 0x4124e5
mov eax, dword [ebp - 0x28]
xor esi, esi
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
lea eax, [eax + eax*2]
lea ebx, [edx + eax*8]
add ebx, dword [edx + 0x10]
cmp dword [ebx + 0x14], esi
jbe 0x412583
xor edi, edi
mov eax, dword [ebx + 0x10]
add eax, edi
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0xc]
shr ecx, 1
add eax, edx
push ecx
xor edx, edx
mov dword [ebp - 0x3c], 7
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], dx
call fcn.00403750
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x41255b
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412cf0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x3c], 8
jb 0x412571
push dword [ebp - 0x50]
call dword [0x46a2c4]
add esp, 4
mov edx, dword [ebp - 0x10]
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x14]
jb 0x412516
mov edi, dword [0x46a2c4]
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x38]
call fcn.00412f60
add esp, 4
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
mov ecx, dword [ebx]
mov esi, dword [ecx]
push dword [esi + 4]
push esi
call fcn.00413480
mov edx, eax
mov ecx, 0x5d1745c
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4126bb
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov ecx, ebx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [ebx]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413070
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x412637
mov ebx, dword [ebp - 0x30]
cmp esi, ebx
je 0x41261c
cmp dword [esi + 0x14], 8
jb 0x4125ff
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x4125f2
mov esi, dword [ebp - 0x34]
push esi
call edi
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412695
mov ebx, dword [ebp - 0x18]
mov esi, eax
cmp eax, ebx
je 0x41267a
mov edi, edi
cmp dword [esi + 0x14], 8
jb 0x41265d
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x412650
mov eax, dword [ebp - 0x1c]
push eax
call edi
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [esi + 0xc]
jb 0x412471
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 dword [0x46a1b8]
int3