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

Disassembly:
push 0xffffffffffffffff
push 0x4f0f03
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 edi, edi
xor esi, esi
call fcn.004ba030
lea ecx, [esp + 0x58]
mov dword [esp + 0xd8], edi
call fcn.004ba030
lea ecx, [esp + 0x80]
mov byte [esp + 0xd8], 1
call fcn.004ba030
mov dword [esp + 0x2c], 0x4f8728
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0xa
xor ecx, ecx
mov byte [esp + 0xd8], 3
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x40], edi
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 0x4b0a05
mov eax, 1
jmp 0x4b0a1b
cmp eax, 4
jne 0x4b0a11
mov eax, 3
jmp 0x4b0a1b
cmp eax, 8
jne 0x4b0a1f
mov eax, 6
mov dword [esp + 0x24], eax
cmp esi, 3
jne 0x4b0a72
cmp dword [esp + 0x38], 2
jne 0x4b0b59
cmp eax, 6
je 0x4b0b87
cmp eax, 8
je 0x4b0b59
cmp eax, 7
je 0x4b0b59
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 0x4b0b81
cmp esi, 1
jne 0x4b0b40
cmp eax, esi
je 0x4b0a88
cmp eax, 2
jne 0x4b0cca
cmp dword [esp + 0x38], 2
jl 0x4b0b81
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 0x4b0b11
fsubr qword [esp + 0x4c]
jmp 0x4b0b15
fsub qword [esp + 0x4c]
fcom qword [0x4f6e50]
fnstsw ax
test ah, 1
jne 0x4b0b28
fsubr qword [0x4f6e30]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 0x41
jne 0x4b0cca
mov eax, dword [esp + 0x24]
jmp 0x4b0b81
cmp esi, 2
jne 0x4b0b73
cmp eax, 3
je 0x4b0cd0
cmp eax, 4
je 0x4b0cd0
jmp 0x4b0b81
cmp eax, 6
je 0x4b0b81
cmp eax, 0xa
je 0x4b0b81
cmp eax, 7
je 0x4b0b81
cmp eax, 8
jne 0x4b0d15
jmp 0x4b0b81
cmp esi, 4
jne 0x4b0b81
cmp eax, 0xa
je 0x4b0d1a
cmp dword [esp + 0x38], edi
je 0x4b0bb9
cmp eax, 1
jne 0x4b0b90
mov esi, eax
jmp 0x4b0bc6
cmp eax, 5
jne 0x4b0b9c
mov esi, 2
jmp 0x4b0bc6
cmp eax, 0xa
jne 0x4b0bad
cmp esi, 4
je 0x4b0bc6
mov esi, 3
jmp 0x4b0bc6
cmp eax, 7
jne 0x4b0bc6
mov esi, 4
jmp 0x4b0bbe
cmp eax, 7
jne 0x4b0bc6
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], 0xa
je 0x4b0cb9
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 0x4b0d5a
jmp 0x4b09c9
dec ebx
jmp 0x4b0d5a
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 0x4b0d5e
sub ebx, 2
jmp 0x4b0d5a
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 0x4b0d6e
mov dword [esp + 0x14], 0xffffffff
mov ebp, dword [esp + 0xf0]
push 0xffffffffffffffff
push edi
mov ecx, ebp
call fcn.004163d0
mov ecx, dword [esp + 0x38]
mov ebx, ecx
cmp ecx, edi
mov dword [esp + 0x48], ebx
jne 0x4b0dcb
mov esi, dword [ebp + 4]
cmp esi, edi
je 0x4b0dc0
mov eax, dword [ebp + 8]
mov edx, eax
dec eax
test edx, edx
je 0x4b0daf
lea edi, [eax + 1]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x14
dec edi
jne 0x4b0da1
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edi, edi
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
jmp 0x4b0f2a
mov edx, dword [ebp + 4]
cmp edx, edi
jne 0x4b0e3c
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 0x4b0e1b
mov ecx, ebx
call fcn.004ba030
add ebx, 0x14
dec esi
mov byte [esp + 0xd8], 3
mov dword [esp + 0x10], ebx
jne 0x4b0e04
mov eax, dword [esp + 0x48]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x4b0f28
mov esi, dword [ebp + 0xc]
cmp ecx, esi
jg 0x4b0e8d
mov eax, dword [ebp + 8]
cmp eax, ecx
jge 0x4b0e61
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 0x4b0f2a
jle 0x4b0e85
sub eax, ecx
lea ecx, [ecx + ecx*4]
lea esi, [edx + ecx*4]
mov edx, eax
dec eax
test edx, edx
je 0x4b0e85
lea edi, [eax + 1]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x14
dec edi
jne 0x4b0e75
xor edi, edi
mov dword [ebp + 8], ebx
jmp 0x4b0f2a
mov eax, dword [ebp + 0x10]
cmp eax, edi
jne 0x4b0eb8
mov eax, dword [ebp + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4b0eac
mov eax, 4
jmp 0x4b0eb8
cmp eax, 0x400
jle 0x4b0eb8
mov eax, 0x400
add eax, esi
cmp ecx, eax
mov dword [esp + 0x10], eax
jl 0x4b0ec6
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
xor edi, edi
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x54], eax
je 0x4b1013
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
cmp eax, edi
mov dword [esp + 0x60], esp
mov ecx, esp
je 0x4b0f6d
lea edx, [eax + 4]
jmp 0x4b0f6f
xor edx, edx
mov ebx, dword [edx]
mov dword [ecx + 4], ebx
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
cmp dword [esp + 0x54], edi
jne 0x4b0f3c
mov eax, dword [esp + 0x30]
cmp dword [ebp + 8], edi
je 0x4b1022
mov ecx, dword [ebp + 4]
mov dword [ecx + 0xc], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x4f8728
cmp eax, edi
mov byte [esp + 0xd8], 6
mov ebp, eax
je 0x4b1056
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 0x4b103d
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4b1038
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