Function at 0x4c72d0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5229fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [0x57373c]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, 0x14
xor esi, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x8e]
mov eax, 0x3c
mov dword [esp + 0xa4], esi
mov dword [esp + 0x30], eax
cmp word [ecx + 0x2c], 1
mov dword [esp + 0x34], 0xb4
mov dword [esp + 0x38], 0x10e
mov dword [esp + 0x3c], 0x168
mov dword [esp + 0x40], 0x18b
mov dword [esp + 0x44], 0x1b3
mov dword [esp + 0x48], 0x22b
mov dword [esp + 0x4c], 0x285
mov dword [esp + 0x50], 0x2e4
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0xd2
mov dword [esp + 0x60], 0x136
mov dword [esp + 0x64], 0x19a
mov dword [esp + 0x68], 0x1cc
mov dword [esp + 0x6c], 0x1f4
mov dword [esp + 0x70], 0x28a
mov dword [esp + 0x74], 0x2ee
mov dword [esp + 0x78], 0x33e
jne 0x4c73b4
lea edx, [esp + 0x2c]
mov dword [esp + 0x24], edx
jmp 0x4c73bc
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xac]
push ecx
mov ecx, ebx
call fcn.004cbde0
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], esi
xor ebp, ebp
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea esi, [eax + ebp]
call fcn.004f3349
push ebp
push 0x11
lea ecx, [esp + 0x94]
push 3
push ecx
call fcn.0045c490
mov edx, eax
add esp, 0x10
mov eax, dword [edx]
push eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x88], ecx
mov ecx, 0x595e30
mov edx, dword [edx + 0xc]
mov dword [esp + 0x8c], edx
call fcn.004044e0
push eax
lea ecx, [esp + 0x14]
call fcn.004f3547
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
movsx eax, si
mov dword [esp + 0x14], eax
push 0
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xb4]
push 0
push edx
mov edx, dword [esp + 0xb8]
push eax
push edi
push ecx
push edx
mov ecx, ebx
call fcn.004cbf50
test ebp, ebp
mov esi, eax
jne 0x4c74a1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push 2
mov edx, dword [eax + ecx*4 + 0x10]
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xb4]
lea eax, [esi + 4]
push edi
push eax
push ecx
push edx
mov ecx, ebx
call fcn.004cbe20
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add eax, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call fcn.004f3349
test ebp, ebp
jne 0x4c74df
movsx edx, word [esp + 0x14]
inc edx
lea eax, [esp + 0x10]
push edx
push 0x563178
push eax
call fcn.004f0a68
add esp, 0xc
jmp 0x4c74f6
movsx ecx, word [esp + 0x14]
lea eax, [ebp - 1]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [ebx + 0x42]
push edx
call fcn.0045bef0
lea eax, [ebp - 1]
push 0
test eax, eax
jne 0x4c7503
push 2
jmp 0x4c7505
push 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push eax
push esi
push edi
push ecx
push edx
mov ecx, ebx
call fcn.004cbf50
mov esi, eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 0x14
mov dword [esp + 0x20], eax
jl 0x4c74a9
inc ebp
cmp ebp, 4
jl 0x4c73e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add eax, 5
add edx, 0x14
cmp ax, 0xa
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jl 0x4c73de
lea ecx, [esp + 0x10]
mov dword [esp + 0xa4], 0xffffffff
call fcn.004f33be
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 0xc