Function at 0x41b870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov edi, dword [ebp + 0x14]
lea ecx, [esi + 0xa0]
mov dword [ecx - 4], esp
xor eax, eax
dec eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x431e50
mov edx, dword fs:[0]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
mov dword fs:[0], ecx
mov dword [esi + 0x24], edi
mov ecx, edi
mov edi, edx
sub ecx, edx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esi + 0x90], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 8], 0
cmp ecx, 0x65
mov dword [esi + 0xc], ecx
jb 0x41b922
push ecx
call fcn.00440a80
add esp, 4
mov ecx, eax
mov dword [esi], eax
test eax, eax
mov ebx, eax
jne 0x41b92b
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0xa8], eax
call fcn.0043268c
lea ebx, [esi + 0x30]
mov dword [esi], 0
cmp edi, dword [ebp + 0x14]
mov dword [esi + 0x18], ebx
je 0x41b967
mov dword [esi + 8], 0
cmp byte [edi + 0xb], 0
js 0x41b949
mov ecx, edi
call fcn.00411d30
jmp 0x41b94c
mov eax, dword [edi + 4]
test eax, eax
je 0x41b955
mov byte [ebx], 1
jmp 0x41b95e
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x41b93a
mov dword [esi + 0xa8], 0
xor edx, edx
mov dword [esi + 0x1c], edx
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00414bd0
test al, al
jne 0x41bb89
cmp dword [esi + 0xc], 0
je 0x41bb89
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x41b9b7
mov al, byte [eax]
mov dword [esi + 0x14], eax
jmp 0x41b9e4
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov dword [esi + 0x14], eax
cmp byte [ebp + 0x20], 0
jne 0x41ba1f
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
movsx eax, byte [esi + 0x14]
mov ecx, ebx
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [esi + 0x1c]
lea ecx, [edi + 1]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x28], 0
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
cmp eax, dword [ebp + 0x14]
je 0x41bada
cmp byte [ebx], 1
jne 0x41bace
mov dword [esi + 0x2c], ebx
mov ecx, dword [esi + 0x20]
push edi
call fcn.00414914
mov bl, byte [eax]
cmp byte [ebp + 0x20], 0
jne 0x41ba95
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
movsx eax, bl
mov ecx, dword [ebp + 0x18]
push eax
call edi
mov ebx, eax
mov edi, dword [esi + 0x1c]
cmp byte [esi + 0x14], bl
jne 0x41baad
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0xb], 0
mov ebx, dword [esi + 0x2c]
js 0x41bab8
call fcn.00411d30
jmp 0x41babb
mov ebx, dword [esi + 0x2c]
mov byte [ebx], 0
dec dword [esi + 0xc]
jmp 0x41bace
mov eax, dword [ecx + 4]
mov cl, 1
mov dword [esi + 0x28], ecx
cmp eax, dword [esi + 0x10]
jne 0x41bace
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
mov eax, dword [esi + 0x20]
add eax, 0xc
inc ebx
jmp 0x41ba35
mov edx, dword [esi + 0x10]
test byte [esi + 0x28], 1
je 0x41b973
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x41bafa
inc eax
mov dword [edi + 0xc], eax
jmp 0x41bb24
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add eax, ecx
mov ecx, dword [esi + 0x10]
mov edx, ecx
cmp eax, 2
jb 0x41b973
mov eax, ecx
mov edx, ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
je 0x41b973
mov edi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x18]
cmp byte [ebx], 2
jne 0x41bb79
cmp byte [edi + 0xb], 0
js 0x41bb67
mov ecx, edi
call fcn.00411d30
jmp 0x41bb6a
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
mov eax, ecx
je 0x41bb79
mov byte [ebx], 0
dec dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x41bb53
mov edx, eax
jmp 0x41b973
mov eax, dword [esi]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00414bd0
test al, al
mov edx, dword [ebp + 0x1c]
je 0x41bba4
or byte [edx], 2
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x18]
je 0x41bbbd
cmp byte [ecx], 2
je 0x41bbc2
add eax, 0xc
inc ecx
cmp eax, dword [ebp + 0x14]
jne 0x41bbaf
or byte [edx], 4
jmp 0x41bbc5
mov dword [esi + 0x24], eax
mov eax, dword [esi]
test eax, eax
je 0x41bbd4
push eax
call fcn.00440ad0
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esi + 0x24]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret