Function at 0x1c3fa60
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], 0x1c53b50
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 0x1c3fb10
push ecx
call fcn.01c5d280
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
jne 0x1c3fb18
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb8], eax
call fcn.01c542dc
lea eax, [esi + 0x40]
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, dword [ebp + 0x14]
je 0x1c3fb59
mov dword [esi + 0x24], 0
mov edi, ebx
mov ebx, dword [esi + 0x20]
cmp byte [edi + 0xb], 0
js 0x1c3fb3b
mov ecx, edi
call fcn.01c31f40
jmp 0x1c3fb3e
mov eax, dword [edi + 4]
test eax, eax
je 0x1c3fb47
mov byte [ebx], 1
jmp 0x1c3fb50
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 0x24]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x1c3fb2c
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.01c53a68
mov ebx, dword [esi + 0xc]
mov byte [esi + 0x1c], al
mov edx, dword [esi + 0x28]
test edx, edx
je 0x1c3fba6
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x1c3fbac
movzx eax, word [eax]
jmp 0x1c3fbdf
mov al, 1
xor edx, edx
jmp 0x1c3fbee
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 0x1c3fdf8
test ebx, ebx
je 0x1c3fdf8
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1c3fc1b
movzx eax, word [eax]
mov word [esi + 0x1a], ax
jmp 0x1c3fc4d
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 0x1c3fc8d
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 0x1c3fd4a
cmp byte [edi], 1
jne 0x1c3fd3e
mov dword [esi + 0x3c], edi
mov ecx, dword [esi + 0x1c]
push dword [esi + 0x38]
call fcn.01c3404a
movzx edi, word [eax]
cmp byte [ebp + 0x20], 0
jne 0x1c3fd08
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 0x1c3fd21
mov ecx, dword [esi + 0x1c]
cmp byte [ecx + 0xb], 0
mov edi, dword [esi + 0x3c]
js 0x1c3fd2a
call fcn.01c31f40
jmp 0x1c3fd2d
mov edi, dword [esi + 0x3c]
mov byte [edi], 0
dec ebx
jmp 0x1c3fd3e
mov eax, dword [ecx + 4]
mov cl, 1
mov dword [esi + 0x34], ecx
cmp eax, dword [esi + 0x2c]
jne 0x1c3fd3e
mov byte [edi], 2
dec ebx
inc dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
add eax, 0xc
inc edi
jmp 0x1c3fca1
mov ecx, dword [esi + 0x2c]
test byte [esi + 0x34], 1
je 0x1c3fb6e
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1c3fd6c
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x1c3fd9d
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 0x1c3fb6e
mov ecx, edx
cmp edi, dword [ebp + 0x14]
je 0x1c3fb6e
mov dword [esi + 0xc], ebx
mov ebx, dword [esi + 0x20]
cmp byte [ebx], 2
jne 0x1c3fde8
cmp byte [edi + 0xb], 0
js 0x1c3fdd8
mov ecx, edi
call fcn.01c31f40
jmp 0x1c3fddb
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x2c]
cmp eax, edx
je 0x1c3fde8
mov byte [ebx], 0
dec dword [esi + 0x24]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x1c3fdc4
mov ecx, edx
jmp 0x1c3fb6b
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp + 8]
call fcn.01c53a68
mov ecx, eax
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x1c3fe19
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x1c3fe28
movzx eax, word [eax]
jmp 0x1c3fe59
test cl, cl
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x10]
mov edi, dword [ebp + 0x1c]
jne 0x1c3fe6d
jmp 0x1c3fe70
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 0x1c3fe70
or byte [edi], 2
cmp eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x20]
je 0x1c3fe86
cmp byte [edx], 2
je 0x1c3fe8b
add eax, 0xc
inc edx
cmp eax, dword [ebp + 0x14]
jne 0x1c3fe78
or byte [edi], 4
jmp 0x1c3fe8e
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x1c3fe9b
push ecx
call fcn.01c5d2d0
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