Function at 0x1003c8a0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x101fbc92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
push 2
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.10050b50
xor edi, edi
mov dword [esi], 0x1020497c
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esp + 0x2c], edi
mov dword [esi + 0x50], 0x10203620
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0x70]
push edi
mov byte [esp + 0x34], 1
mov dword [esp + 0x3c], edi
call fcn.1003c3d0
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x80]
push edi
mov byte [esp + 0x34], 2
mov dword [esp + 0x3c], edi
call fcn.1003c3d0
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
lea ebx, [esi + 0xbc]
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb4], 0x1020491c
push 0x35
mov ecx, ebx
mov byte [esp + 0x30], 5
mov dword [ebx + 4], edi
mov dword [ebx], 0x10204918
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
call fcn.10036940
push edi
mov ecx, ebx
call fcn.10001fb0
mov dword [esi + 0xd8], edi
lea ecx, [esi + 0xdc]
push edi
mov byte [esp + 0x30], 6
mov dword [ecx + 4], edi
mov dword [ecx], 0x10204920
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], edi
call fcn.10001fb0
lea ecx, [esi + 0xf8]
mov byte [esp + 0x2c], 7
mov dword [ecx + 4], edi
mov dword [ecx], 0x10204924
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
push edi
mov dword [ecx + 0x18], edi
call fcn.10001fb0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xb0], ecx
mov dword [esi + 0x68], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov eax, dword [edx + 0xc]
xor ecx, ecx
cmp eax, edi
mov byte [esp + 0x2c], 8
mov dword [esp + 0x34], ecx
jbe 0x1003ca91
push ebp
mov edx, dword [edx + 8]
cmp edx, edi
je 0x1003ca21
cmp ecx, eax
jae 0x1003ca21
mov eax, dword [edx + ecx*4]
jmp 0x1003ca23
xor eax, eax
mov ebx, dword [eax + 0x20]
cmp ebx, 6
je 0x1003ca35
cmp ebx, 7
je 0x1003ca35
cmp ebx, 4
jne 0x1003ca80
mov ebp, dword [eax + 0x28]
lea edx, [eax + 0xc]
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
push ecx
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x30], edx
call fcn.1003c640
test eax, eax
jne 0x1003ca90
cmp ebx, 4
jne 0x1003ca7c
push ebp
mov ecx, esi
call fcn.1003c1d0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xc]
inc ecx
cmp ecx, eax
mov dword [esp + 0x38], ecx
jb 0x1003ca11
pop ebp
cmp dword [esi + 0x60], edi
jbe 0x1003ca9d
mov ecx, esi
call fcn.10034570
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc