Function at 0x1003fbb0
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], 0x100561a0
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 0x1003fc62
push ecx
call fcn.1006d800
add esp, 4
mov ecx, eax
mov dword [esi], eax
test eax, eax
mov ebx, eax
jne 0x1003fc6b
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0xa8], eax
call fcn.100569dc
lea ebx, [esi + 0x30]
mov dword [esi], 0
cmp edi, dword [ebp + 0x14]
mov dword [esi + 0x18], ebx
je 0x1003fca7
mov dword [esi + 8], 0
cmp byte [edi + 0xb], 0
js 0x1003fc89
mov ecx, edi
call fcn.10011dc0
jmp 0x1003fc8c
mov eax, dword [edi + 4]
test eax, eax
je 0x1003fc95
mov byte [ebx], 1
jmp 0x1003fc9e
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x1003fc7a
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.10039350
test al, al
jne 0x1003fec9
cmp dword [esi + 0xc], 0
je 0x1003fec9
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1003fcf7
mov al, byte [eax]
mov dword [esi + 0x14], eax
jmp 0x1003fd24
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 0x1003fd5f
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 0x1003fe1a
cmp byte [ebx], 1
jne 0x1003fe0e
mov dword [esi + 0x2c], ebx
mov ecx, dword [esi + 0x20]
push edi
call fcn.10039124
mov bl, byte [eax]
cmp byte [ebp + 0x20], 0
jne 0x1003fdd5
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 0x1003fded
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0xb], 0
mov ebx, dword [esi + 0x2c]
js 0x1003fdf8
call fcn.10011dc0
jmp 0x1003fdfb
mov ebx, dword [esi + 0x2c]
mov byte [ebx], 0
dec dword [esi + 0xc]
jmp 0x1003fe0e
mov eax, dword [ecx + 4]
mov cl, 1
mov dword [esi + 0x28], ecx
cmp eax, dword [esi + 0x10]
jne 0x1003fe0e
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
mov eax, dword [esi + 0x20]
add eax, 0xc
inc ebx
jmp 0x1003fd75
mov edx, dword [esi + 0x10]
test byte [esi + 0x28], 1
je 0x1003fcb3
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1003fe3a
inc eax
mov dword [edi + 0xc], eax
jmp 0x1003fe64
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 0x1003fcb3
mov eax, ecx
mov edx, ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
je 0x1003fcb3
mov edi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x18]
cmp byte [ebx], 2
jne 0x1003feb9
cmp byte [edi + 0xb], 0
js 0x1003fea7
mov ecx, edi
call fcn.10011dc0
jmp 0x1003feaa
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
mov eax, ecx
je 0x1003feb9
mov byte [ebx], 0
dec dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x1003fe93
mov edx, eax
jmp 0x1003fcb3
mov eax, dword [esi]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.10039350
test al, al
mov edx, dword [ebp + 0x1c]
je 0x1003fee4
or byte [edx], 2
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x18]
je 0x1003fefd
cmp byte [ecx], 2
je 0x1003ff02
add eax, 0xc
inc ecx
cmp eax, dword [ebp + 0x14]
jne 0x1003feef
or byte [edx], 4
jmp 0x1003ff05
mov dword [esi + 0x24], eax
mov eax, dword [esi]
test eax, eax
je 0x1003ff14
push eax
call fcn.1006d850
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