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

Disassembly:
push 0xffffffffffffffff
push 0x4f0f63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xd8]
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
xor esi, esi
call fcn.004ba030
lea ecx, [esp + 0x58]
mov dword [esp + 0xd8], esi
call fcn.004ba030
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 1
call fcn.004ba030
mov edi, 0xa
mov dword [esp + 0x2c], 0x4f8728
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
xor ecx, ecx
mov byte [esp + 0xd8], 3
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x40], esi
sub esp, 0x14
mov ecx, ebp
mov eax, esp
mov dword [esp + 0x24], esp
push ebx
push eax
call fcn.00416560
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x30]
call fcn.004ba0a0
lea ecx, [esp + 0x6c]
call fcn.004ba050
mov eax, dword [esp + 0x24]
cmp eax, 2
jne 0x4b11b4
mov eax, 1
jmp 0x4b11ca
cmp eax, 4
jne 0x4b11c0
mov eax, 3
jmp 0x4b11ca
cmp eax, 8
jne 0x4b11ce
mov eax, 6
mov dword [esp + 0x24], eax
cmp esi, 3
jne 0x4b1221
cmp dword [esp + 0x38], 2
jne 0x4b1308
cmp eax, 6
je 0x4b1308
cmp eax, 8
je 0x4b1308
cmp eax, 7
je 0x4b1308
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x2c]
push edx
call fcn.004b9d50
lea ecx, [esp + 0xbc]
call fcn.004ba050
mov eax, dword [esp + 0x24]
xor esi, esi
jmp 0x4b1326
cmp esi, 1
jne 0x4b12ef
cmp eax, esi
je 0x4b1237
cmp eax, 2
jne 0x4b146f
cmp dword [esp + 0x38], 2
jl 0x4b1326
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
neg eax
sbb eax, eax
lea edx, [esp + 0x5c]
and eax, ecx
lea ecx, [esp + 0x58]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call fcn.00434490
lea eax, [esp + 0x90]
lea ecx, [esp + 0x94]
neg eax
sbb eax, eax
lea edx, [esp + 0x6c]
and eax, ecx
lea ecx, [esp + 0x68]
neg ecx
sbb ecx, ecx
fstp qword [esp + 0x5c]
and ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call fcn.00434490
fld qword [esp + 0x6c]
fcomp st(1)
add esp, 0x20
fnstsw ax
test ah, 1
jne 0x4b12c0
fsubr qword [esp + 0x4c]
jmp 0x4b12c4
fsub qword [esp + 0x4c]
fcom qword [0x4f6e50]
fnstsw ax
test ah, 1
jne 0x4b12d7
fsubr qword [0x4f6e30]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 0x41
jne 0x4b146f
mov eax, dword [esp + 0x24]
jmp 0x4b1326
cmp esi, 2
jne 0x4b1312
cmp eax, 3
je 0x4b1475
cmp eax, 4
je 0x4b1475
jmp 0x4b1326
cmp eax, edi
je 0x4b14bd
jmp 0x4b1326
cmp esi, 4
jne 0x4b1326
cmp dword [esp + 0x38], 2
jle 0x4b1326
cmp eax, edi
je 0x4b1510
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4b135f
cmp eax, 1
jne 0x4b1337
mov esi, eax
jmp 0x4b136c
cmp eax, 5
jne 0x4b1343
mov esi, 2
jmp 0x4b136c
cmp eax, edi
jne 0x4b1353
cmp esi, 4
je 0x4b136c
mov esi, 3
jmp 0x4b136c
cmp eax, 7
jne 0x4b136c
mov esi, 4
jmp 0x4b1364
cmp eax, 7
jne 0x4b136c
mov dword [esp + 0x24], 6
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x40]
call fcn.004732e0
cmp dword [esp + 0x24], edi
je 0x4b145e
lea eax, [esp + 0x58]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x70]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x98]
call fcn.004ba0a0
lea ecx, [esp + 0xa8]
call fcn.004ba050
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x70]
call fcn.004ba0a0
lea ecx, [esp + 0x94]
call fcn.004ba050
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, eax
jge 0x4b1550
jmp 0x4b1178
dec ebx
jmp 0x4b1550
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x40]
call fcn.004732e0
jmp 0x4b1554
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x40]
call fcn.004732e0
mov ecx, dword [ebp + 8]
dec ebx
sub ecx, 2
mov dword [esp + 0x14], ebx
cmp ebx, ecx
jne 0x4b1554
add ebx, 2
jmp 0x4b1550
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x40]
call fcn.004732e0
inc ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
dec ecx
cmp ebx, ecx
jl 0x4b1564
mov dword [esp + 0x14], 0xffffffff
mov ebp, dword [esp + 0xf0]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.004163d0
mov ecx, dword [esp + 0x38]
mov ebx, ecx
test ecx, ecx
mov dword [esp + 0x48], ebx
jne 0x4b15c6
mov esi, dword [ebp + 4]
test esi, esi
je 0x4b15b9
mov eax, dword [ebp + 8]
mov edx, eax
dec eax
test edx, edx
je 0x4b15a6
lea edi, [eax + 1]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x14
dec edi
jne 0x4b1598
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], 0
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x4b1721
mov edx, dword [ebp + 4]
test edx, edx
jne 0x4b1637
lea esi, [ecx + ecx*4]
shl esi, 2
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 4], edi
mov ebx, edi
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
lea esi, [eax]
mov dword [esp + 0x4c], ebx
test ebx, ebx
mov byte [esp + 0xd8], 4
je 0x4b1616
mov ecx, ebx
call fcn.004ba030
add ebx, 0x14
dec esi
mov byte [esp + 0xd8], 3
mov dword [esp + 0x10], ebx
jne 0x4b15ff
mov eax, dword [esp + 0x48]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x4b1721
mov esi, dword [ebp + 0xc]
cmp ecx, esi
jg 0x4b1686
mov eax, dword [ebp + 8]
cmp eax, ecx
jge 0x4b165c
sub ecx, eax
push ecx
lea ecx, [eax + eax*4]
lea edx, [edx + ecx*4]
push edx
call fcn.00416ff0
mov dword [ebp + 8], ebx
jmp 0x4b1721
jle 0x4b167e
sub eax, ecx
lea ecx, [ecx + ecx*4]
lea esi, [edx + ecx*4]
mov edx, eax
dec eax
test edx, edx
je 0x4b167e
lea edi, [eax + 1]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x14
dec edi
jne 0x4b1670
mov dword [ebp + 8], ebx
jmp 0x4b1721
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4b16b1
mov eax, dword [ebp + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4b16a5
mov eax, 4
jmp 0x4b16b1
cmp eax, 0x400
jle 0x4b16b1
mov eax, 0x400
add eax, esi
cmp ecx, eax
mov dword [esp + 0x10], eax
jl 0x4b16bf
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, ebx
lea ecx, [eax + eax*4]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov ecx, esi
lea edx, [eax + eax*4]
sub ecx, eax
push ecx
lea eax, [ebx + edx*4]
push eax
call fcn.00416ff0
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ecx
mov eax, dword [esp + 0x30]
xor esi, esi
test eax, eax
mov dword [esp + 0x54], eax
je 0x4b180c
lea ecx, [esp + 0x6c]
call fcn.004ba030
lea edx, [esp + 0x54]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0xdc], 5
call fcn.0042e960
sub esp, 0x14
test eax, eax
mov dword [esp + 0x60], esp
mov ecx, esp
je 0x4b1764
lea edx, [eax + 4]
jmp 0x4b1766
xor edx, edx
mov edi, dword [edx]
mov dword [ecx + 4], edi
mov edx, dword [edx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x84]
call fcn.004ba0a0
lea ecx, [esp + 0x94]
call fcn.004ba050
lea eax, [esp + 0x6c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x84]
and eax, edx
mov ecx, esp
mov dword [esp + 0x60], esp
push esi
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x90]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x94]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.004165b0
lea ecx, [esp + 0x6c]
inc esi
mov byte [esp + 0xd8], 3
call fcn.004ba050
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4b1733
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4b1821
mov ecx, dword [ebp + 4]
mov dword [ecx + 0xc], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x4f8728
test eax, eax
mov byte [esp + 0xd8], 6
mov ebp, eax
je 0x4b1855
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x4b183c
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4b1837
mov ecx, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x80]
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], 0x4f4f00
mov byte [esp + 0xd8], 1
call fcn.004ba050
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 0
call fcn.004ba050
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004ba050
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret