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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5bab50
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], esi
call edx
mov dl, byte [ebx + 0x20]
mov ecx, eax
mov dword [esp + 0x30], ecx
test dl, dl
je 0x4e750d
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x38], 0
je 0x4e750d
mov eax, dword [ebx + 0x18]
cmp dword [eax*4 + 0x5d40c8], 0xa
jne 0x4e750d
cmp dword [ebx + 0x1c], 3
je 0x4e750d
push ebx
mov edx, esi
mov ecx, edi
call fcn.004e7d80
add esp, 4
jmp 0x4e7d14
mov edx, dword [ecx]
xor esi, esi
cmp dword [ebx + 0x1c], 3
push ebx
mov dword [esp + 0x44], esi
push edi
jne 0x4e7526
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
jmp 0x4e7534
mov eax, dword [edx + 0x10]
call eax
test al, al
je 0x4e7538
mov esi, 1
mov dword [esp + 0x40], esi
mov eax, dword [ebx + 0x38]
mov al, byte [eax + 0x1c]
mov byte [esp + 0x2b], al
test al, al
je 0x4e7576
test esi, esi
jle 0x4e7576
mov eax, dword [ebx + 0x14]
lea ecx, [eax*8]
or ecx, 2
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004eba00
push edi
mov edi, ebx
call fcn.004e8160
mov ecx, dword [esp + 0x30]
add esp, 4
push eax
call fcn.004eba00
mov dword [esp + 0x38], 0
test esi, esi
jle 0x4e7d14
mov eax, dword [ebx + 0x18]
dec eax
cmp eax, 0x11
ja case.default.0x4e7593
jmp dword [eax*4 + 0x4e7d34]
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e75bb
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e75c8
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x2c]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
je 0x4e75ef
mov ecx, dword [esp + 0x2c]
test eax, eax
jns 0x4e75e4
cdq
push edx
push eax
call fcn.004ebbf0
jmp case.default.0x4e7593
push eax
call fcn.004eba00
jmp case.default.0x4e7593
mov esi, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [ebx + 0x14]
call fcn.004ddfb0
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e7623
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e7630
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x30]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
push edx
push eax
je 0x4e7647
mov ecx, dword [esp + 0x34]
call fcn.004ebbf0
jmp case.default.0x4e7593
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x14]
call fcn.004ddff0
add esp, 8
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e767c
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e7689
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x2c]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
je 0x4e76a9
mov ecx, eax
sar ecx, 0x1f
lea edx, [eax + eax]
xor ecx, edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004eba00
jmp case.default.0x4e7593
mov esi, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [ebx + 0x14]
call fcn.004de040
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e76dd
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
push edx
mov edx, dword [esp + 0x38]
push ebx
push edx
call eax
jmp 0x4e76ea
mov edx, dword [ecx]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x30]
push ebx
push eax
call edx
cmp byte [esp + 0x2b], 0
je 0x4e7705
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.004ddbd0
add esp, 0xc
jmp case.default.0x4e7593
mov esi, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [ebx + 0x14]
call fcn.004de070
add esp, 8
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e773c
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e7749
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x34]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
mov esi, eax
je 0x4e7761
mov ecx, dword [esp + 0x2c]
push esi
call fcn.004eba00
jmp case.default.0x4e7593
mov ecx, dword [ebx + 0x14]
mov edi, dword [esp + 0x2c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
mov ecx, edi
call fcn.004eba00
push esi
mov ecx, edi
call fcn.004eba00
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e77a4
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e77b1
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x38]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
push edx
push eax
je 0x4e77c8
mov ecx, dword [esp + 0x34]
call fcn.004ebbf0
jmp case.default.0x4e7593
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x14]
call fcn.004ddff0
add esp, 8
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e77fd
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e780a
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x34]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
push eax
je 0x4e7823
mov eax, dword [esp + 0x30]
call fcn.004ddc00
add esp, 4
jmp case.default.0x4e7593
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x14]
call fcn.004de140
add esp, 4
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e7858
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e7865
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x38]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
push edx
push eax
je 0x4e787f
mov ecx, dword [esp + 0x34]
call fcn.004ddc40
add esp, 8
jmp case.default.0x4e7593
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004de0b0
add esp, 0xc
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e78b5
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e78c2
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x2c]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
push eax
je 0x4e78db
mov eax, dword [esp + 0x30]
call fcn.004ddc00
add esp, 4
jmp case.default.0x4e7593
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x14]
call fcn.004de140
add esp, 4
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e7910
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e791d
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x30]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
push edx
push eax
je 0x4e7937
mov ecx, dword [esp + 0x34]
call fcn.004ddc40
add esp, 8
jmp case.default.0x4e7593
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004de0b0
add esp, 0xc
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e796d
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e797a
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x3c]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
push ecx
fstp dword [esp]
je 0x4e799e
mov eax, dword [esp + 0x30]
call fcn.004ddcb0
add esp, 4
jmp case.default.0x4e7593
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x14]
call fcn.004de190
add esp, 4
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e79d3
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e79e0
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x40]
push ebx
push edx
call eax
sub esp, 8
cmp byte [esp + 0x33], 0
fstp qword [esp]
je 0x4e79fe
mov ecx, dword [esp + 0x34]
call fcn.004ddd00
add esp, 8
jmp case.default.0x4e7593
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004de1f0
add esp, 0xc
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e7a34
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x98]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
jmp 0x4e7a41
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x44]
push ebx
push edx
call eax
cmp byte [esp + 0x2b], 0
mov byte [esp + 0x44], al
je 0x4e7a62
xor ecx, ecx
test al, al
setne cl
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004eba00
jmp case.default.0x4e7593
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x14]
push edx
call fcn.004de280
add esp, 4
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e7a9c
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa4]
push edx
mov edx, dword [esp + 0x38]
push ebx
push edx
call eax
jmp 0x4e7aab
mov edx, dword [ecx]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x50]
push 0
push ebx
push eax
call edx
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [ebx + 0x14]
lea esi, [eax*8]
mov eax, esi
or eax, 3
push eax
call fcn.004eba00
mov edx, dword [edi]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x24]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x2c]
or esi, 4
push esi
call fcn.004eba00
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e7b18
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa4]
push edx
mov edx, dword [esp + 0x38]
push ebx
push edx
call eax
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx + 0x14]
call fcn.004de320
jmp case.default.0x4e7593
mov edx, dword [ecx]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x50]
push 0
push ebx
push eax
call edx
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx + 0x14]
call fcn.004de320
jmp case.default.0x4e7593
cmp dword [ebx + 0x1c], 3
mov ecx, dword [esp + 0x30]
jne 0x4e7b5b
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa0]
push edx
mov edx, dword [esp + 0x38]
push ebx
push edx
call eax
jmp 0x4e7b68
mov edx, dword [ecx]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x4c]
push ebx
push eax
call edx
cmp byte [esp + 0x2b], 0
je 0x4e7b77
mov eax, dword [eax + 8]
jmp 0x4e75cf
mov edi, dword [eax + 8]
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x14]
call fcn.004ddfb0
jmp case.default.0x4e7593
xor eax, eax
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], eax
mov byte [esp + 0x64], al
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc0], eax
cmp dword [ebx + 0x1c], 3
jne 0x4e7bca
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ebx
push edx
call eax
jmp 0x4e7bdc
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x38]
push ebx
push eax
call edx
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx + 0x14]
add eax, eax
add eax, eax
add eax, eax
or eax, 2
push eax
mov ecx, edi
call fcn.004eba00
mov eax, dword [esi + 0x10]
push eax
mov ecx, edi
call fcn.004eba00
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4e7c0c
mov esi, dword [esi]
push esi
mov esi, edi
call fcn.004eb880
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x78], 0x10
jb case.default.0x4e7593
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00548a36
add esp, 4
jmp case.default.0x4e7593
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc0], 1
cmp dword [ebx + 0x1c], 3
jne 0x4e7c82
mov edx, dword [ecx]
mov edx, dword [edx + 0xa8]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ebx
push eax
call edx
jmp 0x4e7c94
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
push ebx
push edx
call eax
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ebx + 0x14]
lea ecx, [eax*8]
or ecx, 2
push ecx
mov ecx, edi
call fcn.004eba00
mov eax, dword [esi + 0x10]
push eax
mov ecx, edi
call fcn.004eba00
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4e7cc5
mov esi, dword [esi]
push esi
mov esi, edi
call fcn.004eb880
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x4e7cec
mov edx, dword [esp + 0x48]
push edx
call fcn.00548a36
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x40]
jl 0x4e7586
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00548a41
mov esp, ebp
pop ebp
ret