Function at 0x4c13e0
Capabilities:
Access peb ldr_data
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013713e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
mov eax, dword [0x101a90bc]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [edi + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x94]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xec]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x98]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xac]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xb8]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0xc8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xcc]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xd0]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xd4]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xdc]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xe0]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0xe4]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0xe8]
xor esi, esi
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0xf4]
inc esi
mov dword [esp + 0x80], eax
mov dword [edi + 0xf8], esi
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x14]
push eax
push 0x1e
call dword [0x10139370]
test eax, eax
je 0x4c1549
cmp eax, esi
jne 0x4c156c
push 0x10165bc4
jmp 0x4c15f1
cmp eax, 2
je 0x4c1549
cmp eax, 3
jne 0x4c159a
lea eax, [edi + 0x204]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c2c9b
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x54], eax
jmp 0x4c1549
cmp eax, 4
jne 0x4c15b8
call fcn.004b966c
mov ecx, eax
call fcn.0046a923
push 0x1015c3f0
call fcn.004727c5
pop ecx
jmp 0x4c1549
cmp eax, 5
je 0x4c1549
cmp eax, 6
jne 0x4c15c6
mov ebx, esi
jmp 0x4c15cd
cmp eax, 7
jne 0x4c15dd
xor ebx, ebx
lea eax, [edi + 0x140]
call fcn.004cc902
jmp 0x4c1549
cmp eax, 8
jne 0x4c1602
call fcn.004c1afb
call fcn.004c1a0b
push 0x10165bd0
call fcn.004b966c
mov ecx, eax
call fcn.0046a719
jmp 0x4c1549
cmp eax, 9
jne 0x4c1621
xor eax, eax
push eax
push eax
push edi
push 0x100c2215
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x30], eax
jmp 0x4c1549
cmp eax, 0xa
jne 0x4c1651
lea eax, [edi + 0x1e4]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c253a
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x34], eax
jmp 0x4c1549
cmp eax, 0xb
jne 0x4c1681
lea eax, [edi + 0x1f0]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c26ca
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x40], eax
jmp 0x4c1549
cmp eax, 0xc
jne 0x4c16b1
lea eax, [edi + 0x1e8]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c28e1
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x38], eax
jmp 0x4c1549
cmp eax, 0xd
jne 0x4c16e1
lea eax, [edi + 0x1ec]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c2644
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x3c], eax
jmp 0x4c1549
cmp eax, 0xe
jne 0x4c1711
lea eax, [edi + 0x1f4]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c2b3b
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x44], eax
jmp 0x4c1549
cmp eax, 0xf
je 0x4c1549
cmp eax, 0x10
jne 0x4c174a
lea eax, [edi + 0x1f8]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c2b60
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x48], eax
jmp 0x4c1549
cmp eax, 0x11
jne 0x4c177a
lea eax, [edi + 0x200]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c2c04
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x50], eax
jmp 0x4c1549
cmp eax, 0x12
jne 0x4c180d
call fcn.004ac8bf
test eax, eax
je 0x4c1549
call fcn.004ac9e9
test eax, eax
jne 0x4c1549
call fcn.004acbac
test eax, eax
je 0x4c1549
call fcn.004c0326
lea esi, [esp + 0x84]
call fcn.0046a2ab
and dword [esp + 0xa0], 0
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x4c17f1
mov eax, dword [esi]
push 0x3f6
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 0
push 0x10150c88
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push 0x1014f690
push esi
call dword [eax + 0x28]
or dword [esp + 0xa0], 0xffffffff
lea esi, [esp + 0x84]
call fcn.0046a3e1
xor esi, esi
inc esi
jmp 0x4c1549
cmp eax, 0x13
jne 0x4c183d
lea eax, [edi + 0x208]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c2e55
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x58], eax
jmp 0x4c1549
cmp eax, 0x14
jne 0x4c186d
lea eax, [edi + 0x20c]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c3093
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x5c], eax
jmp 0x4c1549
cmp eax, 0x15
jne 0x4c189d
lea eax, [edi + 0x210]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c312a
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x60], eax
jmp 0x4c1549
cmp eax, 0x16
jne 0x4c18cd
lea eax, [edi + 0x214]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c31b0
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x64], eax
jmp 0x4c1549
cmp eax, 0x17
jne 0x4c18fd
lea eax, [edi + 0x218]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c3247
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x7c], eax
jmp 0x4c1549
cmp eax, 0x18
jne 0x4c192d
lea eax, [edi + 0x21c]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c32cd
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x68], eax
jmp 0x4c1549
cmp eax, 0x19
jne 0x4c195d
lea eax, [edi + 0x220]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c3353
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x6c], eax
jmp 0x4c1549
cmp eax, 0x1a
jne 0x4c198d
lea eax, [edi + 0x224]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c33d9
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x70], eax
jmp 0x4c1549
cmp eax, 0x1b
jne 0x4c19bd
lea eax, [edi + 0x228]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c36c2
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x74], eax
jmp 0x4c1549
cmp eax, 0x1c
jne 0x4c19ed
lea eax, [edi + 0x22c]
cmp dword [eax], 0
jne 0x4c1549
mov dword [eax], esi
xor eax, eax
push eax
push eax
push edi
push 0x100c3748
push eax
push eax
call dword [0x101391a4]
mov dword [edi + 0x78], eax
jmp 0x4c1549
and dword [edi + 0xf8], 0
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret