Function at 0x41ba40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov edi, dword [ebp + 0x14]
lea ecx, [esi + 0xb0]
mov dword [ecx - 4], esp
xor eax, eax
dec eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x42fcc0
mov edx, dword fs:[0]
mov dword [ecx], edx
mov ebx, dword [ebp + 0x10]
mov dword fs:[0], ecx
mov dword [esi + 0x30], edi
mov ecx, edi
sub ecx, ebx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esi + 0xa0], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], 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
mov dword [esi + 0x24], 0
cmp ecx, 0x65
mov dword [esi + 0xc], ecx
jb 0x41baf0
push ecx
call fcn.0043b870
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
jne 0x41baf8
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], eax
call fcn.0043046c
lea eax, [esi + 0x40]
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, dword [ebp + 0x14]
je 0x41bb39
mov dword [esi + 0x24], 0
mov edi, ebx
mov ebx, dword [esi + 0x20]
cmp byte [edi + 0xb], 0
js 0x41bb1b
mov ecx, edi
call fcn.00411bb0
jmp 0x41bb1e
mov eax, dword [edi + 4]
test eax, eax
je 0x41bb27
mov byte [ebx], 1
jmp 0x41bb30
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 0x24]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x41bb0c
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
mov dword [esi + 0xb8], 0
xor ecx, ecx
mov ebx, dword [esi + 0xc]
mov dword [esi + 0x38], ecx
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], 0
mov ecx, dword [ebp + 8]
call fcn.0042fbda
mov ebx, dword [esi + 0xc]
mov byte [esi + 0x1c], al
mov edx, dword [esi + 0x28]
test edx, edx
je 0x41bb86
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x41bb8c
movzx eax, word [eax]
jmp 0x41bbbf
mov al, 1
xor edx, edx
jmp 0x41bbce
mov eax, dword [edx]
mov ebx, edx
mov edi, dword [eax + 0x20]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], 0
mov ecx, ebx
call edi
mov ebx, dword [esi + 0xc]
mov edx, dword [esi + 0x28]
cmp ax, 0xffff
sete al
mov ecx, 0
cmove edx, ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x28], edx
cmp byte [esi + 0x1c], al
je 0x41bdd8
test ebx, ebx
je 0x41bdd8
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x41bbfb
movzx eax, word [eax]
mov word [esi + 0x1a], ax
jmp 0x41bc2d
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], 0
mov ecx, edi
call ebx
mov ebx, dword [esi + 0xc]
mov word [esi + 0x1a], ax
cmp byte [ebp + 0x20], 0
jne 0x41bc6d
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], 0
movzx eax, word [esi + 0x1a]
mov ecx, ebx
push eax
call edi
mov ebx, dword [esi + 0xc]
mov word [esi + 0x1a], ax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x38]
inc ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], 0
mov edi, dword [esi + 0x20]
mov dword [esi + 0x1c], eax
cmp eax, dword [ebp + 0x14]
je 0x41bd2a
cmp byte [edi], 1
jne 0x41bd1e
mov dword [esi + 0x3c], edi
mov ecx, dword [esi + 0x1c]
push dword [esi + 0x38]
call fcn.00428330
movzx edi, word [eax]
cmp byte [ebp + 0x20], 0
jne 0x41bce8
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esi + 0xc], ebx
mov ebx, dword [eax + 0x1c]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], 0
movzx eax, di
mov ecx, dword [ebp + 0x18]
push eax
call ebx
mov ebx, dword [esi + 0xc]
mov edi, eax
cmp word [esi + 0x1a], di
jne 0x41bd01
mov ecx, dword [esi + 0x1c]
cmp byte [ecx + 0xb], 0
mov edi, dword [esi + 0x3c]
js 0x41bd0a
call fcn.00411bb0
jmp 0x41bd0d
mov edi, dword [esi + 0x3c]
mov byte [edi], 0
dec ebx
jmp 0x41bd1e
mov eax, dword [ecx + 4]
mov cl, 1
mov dword [esi + 0x34], ecx
cmp eax, dword [esi + 0x2c]
jne 0x41bd1e
mov byte [edi], 2
dec ebx
inc dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
add eax, 0xc
inc edi
jmp 0x41bc81
mov ecx, dword [esi + 0x2c]
test byte [esi + 0x34], 1
je 0x41bb4e
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x41bd4c
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x41bd7d
mov eax, dword [edi]
mov dword [esi + 0xc], ebx
mov ebx, dword [eax + 0x24]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], 0
mov ecx, edi
call ebx
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x24]
add eax, ebx
mov edx, dword [esi + 0x2c]
mov ecx, edx
cmp eax, 2
mov edi, dword [ebp + 0x10]
jb 0x41bb4e
mov ecx, edx
cmp edi, dword [ebp + 0x14]
je 0x41bb4e
mov dword [esi + 0xc], ebx
mov ebx, dword [esi + 0x20]
cmp byte [ebx], 2
jne 0x41bdc8
cmp byte [edi + 0xb], 0
js 0x41bdb8
mov ecx, edi
call fcn.00411bb0
jmp 0x41bdbb
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x2c]
cmp eax, edx
je 0x41bdc8
mov byte [ebx], 0
dec dword [esi + 0x24]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x41bda4
mov ecx, edx
jmp 0x41bb4b
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp + 8]
call fcn.0042fbda
mov ecx, eax
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x41bdf9
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x41be08
movzx eax, word [eax]
jmp 0x41be39
test cl, cl
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x10]
mov edi, dword [ebp + 0x1c]
jne 0x41be4d
jmp 0x41be50
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov dword [esi + 0xb8], 0xffffffff
mov byte [esi + 0x1c], cl
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], 0
mov ecx, ebx
call edi
mov cl, byte [esi + 0x1c]
cmp ax, 0xffff
sete al
xor cl, al
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x10]
mov edi, dword [ebp + 0x1c]
jne 0x41be50
or byte [edi], 2
cmp eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x20]
je 0x41be66
cmp byte [edx], 2
je 0x41be6b
add eax, 0xc
inc edx
cmp eax, dword [ebp + 0x14]
jne 0x41be58
or byte [edi], 4
jmp 0x41be6e
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x41be7b
push ecx
call fcn.0043b8c0
add esp, 4
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esi + 0x30]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret