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

Disassembly:
push 0xffffffffffffffff
push 0x569ebf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov dword [esp + 0x68], ecx
push esi
push edi
lea ecx, [esp + 0x74]
call fcn.00534d70
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x198], ebp
call fcn.00531800
mov al, byte [esp + 0x12]
push ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x19c], 1
mov byte [esp + 0x50], al
call fcn.00404bb0
mov cl, byte [esp + 0x12]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x28], cl
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dl, byte [esp + 0x12]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x38], dl
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
push 6
push 0x5abd28
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 4
call fcn.005318a0
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], 0
rep stosd dword es:[edi], eax
push ebp
push ebp
push ecx
mov byte [esp + 0x1a4], 5
stosw word es:[edi], ax
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x59b910
stosb byte es:[edi], al
call fcn.005318a0
push ecx
mov byte [esp + 0x1a8], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x59b978
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x1a8], 5
call fcn.00533b90
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push eax
push eax
call fcn.00405350
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp edi, eax
mov ebx, eax
mov esi, edi
je 0x4c3e0d
push ebp
mov ecx, esi
call fcn.00405470
add esi, 4
cmp esi, ebx
jne 0x4c3dfe
mov dword [esp + 0x30], edi
xor bl, bl
cmp bl, 4
jae 0x4c3e1c
push 1
jmp 0x4c3e3e
cmp bl, 6
jae 0x4c3e25
push 2
jmp 0x4c3e3e
cmp bl, 0xf
jae 0x4c3e2e
push 3
jmp 0x4c3e3e
cmp bl, 0x12
jae 0x4c3e37
push 6
jmp 0x4c3e3e
cmp bl, 0x1c
jae 0x4c3e49
push 4
push 4
lea ecx, [esp + 0x20]
call fcn.00531ad0
inc bl
lea ecx, [esp + 0x18]
push ebx
push 5
call fcn.00531ad0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push 1
push edx
lea ecx, [esp + 0x34]
call fcn.00404e90
cmp bl, 0x1c
jb 0x4c3e13
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x59b970
call fcn.005318a0
mov ecx, dword [0x5c663c]
call fcn.00534ea0
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push eax
push eax
call fcn.00405350
mov ebx, dword [esp + 0x4c]
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov esi, edi
je 0x4c3ebd
push ebp
mov ecx, esi
call fcn.00405470
add esi, 4
cmp esi, ebx
jne 0x4c3eae
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x40], edi
je 0x4c3ef0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534fe0
mov eax, dword [esp + 0x30]
add esi, 4
cmp esi, eax
jne 0x4c3ecd
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [0x5c663c]
call fcn.005354a0
test al, al
je 0x4c43d2
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
xor edi, edi
cmp esi, eax
je 0x4c3f5f
push edi
lea ecx, [esp + 0x78]
call fcn.00535960
test al, al
je 0x4c3f4f
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00531810
lea ecx, [esp + 0x18]
call fcn.005319b0
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea ecx, [esp + 0x44]
call fcn.00404e90
mov eax, dword [esp + 0x30]
add esi, 4
inc edi
cmp esi, eax
jne 0x4c3f16
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
je 0x4c3f75
mov edx, dword [esp + 0x40]
sub edx, ecx
test edx, 0xfffffffc
jne 0x4c3faf
cmp esi, eax
je 0x4c3faf
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00531810
lea ecx, [esp + 0x18]
call fcn.005319b0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
push 1
push ecx
lea ecx, [esp + 0x44]
call fcn.00404e90
mov eax, dword [esp + 0x30]
add esi, 4
cmp esi, eax
jne 0x4c3f79
push ebp
lea edx, [esp + 0x70]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
push 0x5c65b8
call fcn.00404840
push ecx
mov byte [esp + 0x1b0], 7
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x59b970
call fcn.005318a0
mov ecx, dword [0x5c6630]
mov byte [esp + 0x1b0], 5
call fcn.00534800
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], ebp
cmp ecx, ebp
jne 0x4c4006
xor eax, eax
jmp 0x4c400f
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x13], 0
push 0
lea eax, [esp + 0x72]
sub esp, 0x10
mov byte [0x5abc1c], 0xff
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
push 0x5c65b8
call fcn.00404840
sub esp, 0x10
lea edx, [esp + 0x93]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
push 0x5c65b8
mov byte [esp + 0x1c4], 8
call fcn.00404840
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x5c6630]
push esi
push eax
mov byte [esp + 0x1c4], 5
call fcn.00534690
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
lea edi, [ecx + eax]
cmp di, si
mov dword [esp + 0x20], edi
jle 0x4c4097
mov edi, esi
mov dword [esp + 0x20], edi
mov edx, dword [esp + 0x3c]
xor cl, cl
test ax, ax
mov dword [esp + 0x24], edx
jle 0x4c40b8
add edx, 4
inc cl
movzx si, cl
cmp si, ax
jl 0x4c40a6
mov dword [esp + 0x24], edx
xor dx, dx
mov byte [esp + 0x12], al
mov dl, al
cmp dx, di
jge 0x4c43aa
xor ebx, ebx
jmp 0x4c40d2
mov eax, dword [esp + 0x48]
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4c42ad
mov esi, dword [esp + 0x24]
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push esi
call fcn.00531810
lea ecx, [esp + 0x18]
call fcn.005319b0
mov ecx, dword [0x5c6630]
add esi, 4
mov dword [esp + 0x24], esi
call fcn.00534ba0
cmp al, 1
je 0x4c4112
cmp al, 2
jne 0x4c4117
mov byte [esp + 0x13], 0
test al, al
jne 0x4c433e
lea eax, [esp + 0x90]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x78]
push edx
call fcn.004c5410
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x57217c]
mov ebp, eax
mov byte [esp + 0x198], 0xb
cmp ecx, ebp
jae 0x4c4158
mov ebp, ecx
lea edx, [esp + 0x4c]
cmp edx, esi
jne 0x4c417b
push ecx
push ebp
lea ecx, [esp + 0x54]
call fcn.00404c30
push ebx
push ebx
lea ecx, [esp + 0x54]
call fcn.00404c30
jmp 0x4c4204
cmp ebp, ebx
jbe 0x4c41c8
cmp ebp, eax
jne 0x4c41c8
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4c418f
mov eax, 0x572184
cmp byte [eax - 1], 0xfe
jae 0x4c41c8
push 1
lea ecx, [esp + 0x50]
call fcn.00404bb0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4c41ac
mov eax, 0x572184
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x54], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x58], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4c4204
push 1
push ebp
lea ecx, [esp + 0x54]
call fcn.00404d70
test al, al
je 0x4c4204
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x4c41e4
mov esi, 0x572184
mov edi, dword [esp + 0x50]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x84]
mov byte [esp + 0x198], 5
cmp eax, ebx
je 0x4c4234
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c422b
cmp al, 0xff
je 0x4c422b
dec al
mov byte [ecx], al
jmp 0x4c4234
push ecx
call fcn.00556360
add esp, 4
push ebx
push 0xffff
sub esp, 0x10
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.00404720
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
mov byte [esp + 0x1b8], 0xc
call fcn.00531810
mov ecx, dword [0x5c6630]
mov byte [esp + 0x1b4], 5
call fcn.005348d0
mov al, byte [esp + 0x12]
xor cx, cx
inc al
mov cl, al
mov byte [esp + 0x12], al
cmp cx, word [esp + 0x20]
jl 0x4c40ce
jmp 0x4c43aa
xor dx, dx
mov byte [esp + 0x13], 1
mov dl, al
mov bl, al
cmp dx, word [esp + 0x20]
jge 0x4c43aa
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push esi
call fcn.00531810
lea ecx, [esp + 0x18]
call fcn.005319b0
push 0
push 0xffff
sub esp, 0x10
lea eax, [esp + 0x7f]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
push 0x59d430
call fcn.00404840
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x1b8], 9
call fcn.00531810
mov ecx, dword [0x5c6630]
mov byte [esp + 0x1b4], 5
call fcn.005348d0
add esi, 4
inc bl
xor ax, ax
mov al, bl
cmp ax, di
jl 0x4c42cc
jmp 0x4c43aa
mov bl, byte [esp + 0x12]
mov esi, dword [esp + 0x20]
xor cx, cx
mov cl, bl
cmp cx, si
jge 0x4c43aa
push 0
push 0xffff
sub esp, 0x10
lea edx, [esp + 0x85]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
push 0x59d430
call fcn.00404840
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
mov byte [esp + 0x1b8], 0xa
call fcn.00531810
mov ecx, dword [0x5c6630]
mov byte [esp + 0x1b4], 5
call fcn.005348d0
inc bl
xor cx, cx
mov cl, bl
cmp cx, si
jl 0x4c4350
mov ecx, dword [0x5c6630]
lea edx, [esp + 0x68]
push 0
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.00534bd0
cmp ax, 0xb
jne 0x4c401c
xor ebp, ebp
jmp 0x4c3e71
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 4
call fcn.00531940
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, eax
mov byte [esp + 0x198], 3
mov edi, eax
je 0x4c440b
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4c43f9
mov esi, dword [esp + 0x3c]
push esi
call fcn.00556360
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov byte [esp + 0x198], 2
mov edi, eax
je 0x4c4448
mov ecx, esi
call fcn.00531940
add esi, 4
cmp esi, edi
jne 0x4c4436
mov esi, dword [esp + 0x2c]
push esi
call fcn.00556360
mov eax, dword [esp + 0x54]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x4c4482
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4c4479
cmp al, 0xff
je 0x4c4479
dec al
mov byte [ecx], al
jmp 0x4c4482
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov byte [esp + 0x198], 0
call fcn.00531940
lea ecx, [esp + 0x74]
mov dword [esp + 0x198], 0xffffffff
call fcn.00531940
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x18c
ret