Function at 0x41b460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4475ea
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x461264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], 0
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0x38]
mov dword [ebx + 0x34], eax
mov al, byte [ebp + 0x14]
mov byte [ebx + 0x39], cl
mov ecx, 2
mov byte [ebx + 0x38], al
mov eax, dword [ebp + 0x28]
cmp eax, ecx
mov dword [ebp - 4], 0
cmovg eax, ecx
xor ecx, ecx
mov dword [ebp + 0x28], eax
test eax, eax
jle 0x41b52f
mov edx, dword [ebp + 0x30]
lea eax, [ebx + 0x3a]
lea esi, [ebx + 0x10]
mov dword [ebp + 0x18], eax
lea edi, [ebx + 0x20]
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
lea edi, [edi + 4]
lea esi, [esi + 8]
mov eax, dword [eax + ecx*4]
mov dword [edi - 4], eax
mov eax, dword [ebx + ecx*8]
mov dword [esi - 8], eax
mov eax, dword [ebx + ecx*8 + 4]
mov ebx, dword [ebp + 0x18]
mov dword [esi - 4], eax
mov al, byte [ecx + edx]
mov byte [ebx + ecx], al
inc ecx
mov ebx, dword [ebp + 0x34]
cmp ecx, dword [ebp + 0x28]
jl 0x41b4f6
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x10]
cmp ecx, 2
jge 0x41b564
lea eax, [ecx + 2]
lea esi, [ecx + 8]
lea edi, [ebx + 0x3a]
lea eax, [ebx + eax*8]
mov dword [ebp + 0x18], edi
lea esi, [ebx + esi*4]
mov dword [esi], 0
lea esi, [esi + 4]
mov dword [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
mov byte [edi + ecx], 2
inc ecx
cmp ecx, 2
jl 0x41b541
and byte [ebp + 0x38], 1
mov edi, 0
je 0x41b5ca
test edx, edx
je 0x41b584
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41b576
sub edx, ecx
lea edi, [edx + 1]
jmp 0x41b586
xor edi, edi
mov eax, dword [ebp + 0x28]
test eax, eax
jle 0x41b5cd
lea edx, [ebx + 0x3a]
mov dword [ebp + 0x14], eax
lea esi, [ebx + 0x20]
mov ecx, dword [esi]
test ecx, ecx
je 0x41b5b2
lea eax, [ecx + 1]
mov dword [ebp + 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b5a2
sub ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x14]
inc ecx
jmp 0x41b5b4
xor ecx, ecx
add edi, ecx
cmp byte [edx], 6
jne 0x41b5be
mov byte [edx], 7
add esi, 4
inc edx
sub eax, 1
mov dword [ebp + 0x14], eax
jne 0x41b596
mov eax, dword [ebp + 0x28]
xor edx, edx
test eax, eax
jle 0x41b61c
lea esi, [ebx + 0x10]
mov ebx, dword [ebp + 0x28]
nop dword [eax]
mov eax, dword [ebp + 0x18]
cmp byte [eax + edx], 7
sete al
mov byte [ebp + edx + 0x14], al
jne 0x41b611
mov ecx, dword [esi]
test ecx, ecx
je 0x41b60d
lea eax, [ecx + 1]
mov dword [ebp + 0x34], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b600
sub ecx, dword [ebp + 0x34]
inc ecx
jmp 0x41b60f
xor ecx, ecx
add edi, ecx
inc edx
add esi, 8
cmp edx, ebx
jl 0x41b5e0
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x41b776
push 0x20
call fcn.004299f8
add esp, 4
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x41b644
mov ecx, eax
call fcn.004273c0
mov ebx, eax
jmp 0x41b646
xor ebx, ebx
mov byte [ebp - 4], 0
test ebx, ebx
je 0x41b656
lea ecx, [ebx + 4]
call fcn.0040bfc0
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x30]
mov dword [eax + 0x30], ebx
test esi, esi
je 0x41b685
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0040bfe0
test al, al
je 0x41b685
xor eax, eax
test ebx, ebx
cmove esi, eax
test esi, esi
je 0x41b685
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x30]
add ecx, 8
mov edx, dword [ecx + 0x10]
cmp edi, edx
ja 0x41b6a6
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], 0x10
jb 0x41b6a0
mov ecx, dword [ecx]
mov byte [ecx + edi], 0
jmp 0x41b6b2
mov eax, edi
push 0
sub eax, edx
push eax
call fcn.004053d0
mov esi, dword [ebx + 0x30]
add esi, 8
cmp dword [esi + 0x10], 0
jne 0x41b6c2
xor esi, esi
jmp 0x41b6ca
cmp dword [esi + 0x14], 0x10
jb 0x41b6ca
mov esi, dword [esi]
cmp byte [ebp + 0x38], 0
lea eax, [esi + edi]
mov dword [ebp + 0x34], eax
je 0x41b726
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x41b6f1
push edi
push ecx
push esi
call fcn.00417900
inc eax
mov dword [ebx + 0x2c], esi
add esp, 0xc
add esi, eax
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jle 0x41b726
lea edi, [ebx + 0x20]
mov ebx, ecx
nop dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x41b718
sub eax, esi
push eax
push ecx
push esi
call fcn.00417900
inc eax
mov dword [edi], esi
add esp, 0xc
add esi, eax
mov eax, dword [ebp + 0x34]
add edi, 4
sub ebx, 1
jne 0x41b700
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x28]
xor edi, edi
test eax, eax
jle 0x41b776
add ebx, 0x10
cmp byte [ebp + edi + 0x14], 0
je 0x41b757
mov ecx, dword [ebx]
test ecx, ecx
je 0x41b757
mov eax, dword [ebp + 0x34]
sub eax, esi
push eax
push ecx
push esi
call fcn.00417900
inc eax
mov dword [ebx], esi
add esp, 0xc
add esi, eax
mov eax, dword [ebp + 0x28]
inc edi
add ebx, 8
cmp edi, eax
jl 0x41b732
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34