Function at 0x43b5c6
Capabilities:
Check os version

Disassembly:
push 0x154
mov eax, 0x46e38c
call fcn.00439973
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa8]
push eax
push 1
xor ebx, ebx
push 8
mov dword [edi + 8], ebx
mov dword [edi], 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x43b647
lea eax, [ebp - 0xa8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43b647
push ebx
push 0xffffffffffffffff
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
push str.unable_to_get_current_user_token
lea ecx, [ebp - 0x128]
call fcn.00409030
push 0x485a4c
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCR100.dll__CxxThrowException
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xf0], eax
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0xac]
push ecx
push ebx
push ebx
push 1
push eax
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x43b94e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43b94e
push dword [ebp - 0xac]
call fcn.00439837
pop ecx
lea ecx, [ebp - 0xac]
push ecx
push dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
push eax
push 1
push dword [ebp - 0xa8]
call esi
test eax, eax
jne 0x43b6dc
push ebx
push 0xffffffffffffffff
push str.unable_to_get_token_info
lea ecx, [ebp - 0x15c]
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
call fcn.00409030
push 0x485a4c
lea eax, [ebp - 0x160]
jmp 0x43b641
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0xb4]
push ecx
push dword [eax]
mov byte [ebp - 4], 1
call sub.ADVAPI32.dll_ConvertSidToStringSidA
push ebx
test eax, eax
jne 0x43b715
push 0xffffffffffffffff
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
push str.unable_to_get_string_version_of_current_token_sid
jmp 0x43b62b
or esi, 0xffffffff
push esi
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x144]
call fcn.00409030
push dword [ebp - 0xb4]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
push esi
push 0x47ec84
lea ecx, [ebp - 0xe8]
call fcn.00409030
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 3
call fcn.00408498
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.00409082
push ebx
push esi
push str.D:_A__GRGW___
lea ecx, [ebp - 0xcc]
call fcn.00409030
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.00409082
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.00403754
lea ecx, [ebp - 0xc4]
call fcn.00403754
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00409082
push ebx
push esi
push 0x478aec
lea ecx, [ebp - 0xcc]
call fcn.00409030
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.00409082
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.00403754
lea ecx, [ebp - 0xc4]
call fcn.00403754
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa0], 6
jb 0x43b86a
push ebx
push esi
push str.S:_ML__NW___LW_
lea ecx, [ebp - 0xcc]
call fcn.00409030
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
call fcn.00409082
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.00403754
lea ecx, [ebp - 0xc4]
call fcn.00403754
lea ecx, [ebp - 0xe8]
call fcn.00408498
lea ecx, [ebp - 0xec]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
push 1
push eax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
test eax, eax
jne 0x43b8ec
push ebx
push esi
push str.unable_to_create_security_descriptor_from_string
lea ecx, [ebp - 0xcc]
call fcn.00409030
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x15c]
push eax
mov byte [ebp - 4], 8
call fcn.0041b98b
add esp, 0xc
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 9
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
call fcn.00403cbd
push 0x485a4c
lea eax, [ebp - 0x110]
jmp 0x43b641
mov eax, dword [ebp - 0xd0]
mov dword [edi + 4], eax
lea ecx, [ebp - 0xd8]
mov edi, eax
call fcn.00403754
lea ecx, [ebp - 0xe0]
call fcn.00403754
lea ecx, [ebp - 0x134]
call fcn.00403754
lea ecx, [ebp - 0x13c]
call fcn.00403754
push dword [ebp - 0xb0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 4], esi
cmp dword [ebp - 0xa8], esi
je 0x43b946
push dword [ebp - 0xa8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004399f6
ret
push ebx
push 0xffffffffffffffff
push str.unable_to_get_size_of_token_info
lea ecx, [ebp - 0x10c]
mov dword [ebp - method.RSException.virtual_0], vtable.RSException.0
call fcn.00409030
jmp 0x43b8dc