Function at 0x41d020
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], 0x4334f0
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 0x41d0d2
push ecx
call fcn.004533c0
add esp, 4
mov ecx, eax
mov dword [esi], eax
test eax, eax
mov ebx, eax
jne 0x41d0db
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0xa8], eax
call fcn.00433d1c
lea ebx, [esi + 0x30]
mov dword [esi], 0
cmp edi, dword [ebp + 0x14]
mov dword [esi + 0x18], ebx
je 0x41d117
mov dword [esi + 8], 0
cmp byte [edi + 0xb], 0
js 0x41d0f9
mov ecx, edi
call fcn.00412b90
jmp 0x41d0fc
mov eax, dword [edi + 4]
test eax, eax
je 0x41d105
mov byte [ebx], 1
jmp 0x41d10e
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x41d0ea
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.004161cc
test al, al
jne 0x41d339
cmp dword [esi + 0xc], 0
je 0x41d339
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x41d167
mov al, byte [eax]
mov dword [esi + 0x14], eax
jmp 0x41d194
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 0x41d1cf
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 0x41d28a
cmp byte [ebx], 1
jne 0x41d27e
mov dword [esi + 0x2c], ebx
mov ecx, dword [esi + 0x20]
push edi
call fcn.00415f48
mov bl, byte [eax]
cmp byte [ebp + 0x20], 0
jne 0x41d245
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 0x41d25d
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0xb], 0
mov ebx, dword [esi + 0x2c]
js 0x41d268
call fcn.00412b90
jmp 0x41d26b
mov ebx, dword [esi + 0x2c]
mov byte [ebx], 0
dec dword [esi + 0xc]
jmp 0x41d27e
mov eax, dword [ecx + 4]
mov cl, 1
mov dword [esi + 0x28], ecx
cmp eax, dword [esi + 0x10]
jne 0x41d27e
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
mov eax, dword [esi + 0x20]
add eax, 0xc
inc ebx
jmp 0x41d1e5
mov edx, dword [esi + 0x10]
test byte [esi + 0x28], 1
je 0x41d123
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x41d2aa
inc eax
mov dword [edi + 0xc], eax
jmp 0x41d2d4
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 0x41d123
mov eax, ecx
mov edx, ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
je 0x41d123
mov edi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x18]
cmp byte [ebx], 2
jne 0x41d329
cmp byte [edi + 0xb], 0
js 0x41d317
mov ecx, edi
call fcn.00412b90
jmp 0x41d31a
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
mov eax, ecx
je 0x41d329
mov byte [ebx], 0
dec dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x41d303
mov edx, eax
jmp 0x41d123
mov eax, dword [esi]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004161cc
test al, al
mov edx, dword [ebp + 0x1c]
je 0x41d354
or byte [edx], 2
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x18]
je 0x41d36d
cmp byte [ecx], 2
je 0x41d372
add eax, 0xc
inc ecx
cmp eax, dword [ebp + 0x14]
jne 0x41d35f
or byte [edx], 4
jmp 0x41d375
mov dword [esi + 0x24], eax
mov eax, dword [esi]
test eax, eax
je 0x41d384
push eax
call fcn.00453410
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