Function at 0x450c00
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x45b483
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x477b9c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, dword [esp + 0x150]
xor edi, edi
mov dword [esi + 8], edi
mov dword [esi], 0xc
call fcn.00450b90
mov ebp, eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x148], edi
mov edi, 1
mov ebx, ebp
call fcn.00450ae0
mov edi, eax
mov dword [esp + 0x4c], edi
mov ecx, dword [edi]
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x150], 1
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
push 0
push 0xffffffffffffffff
jne 0x450cb7
push str.unable_to_get_string_version_of_current_token_sid
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea edx, [esp + 0x74]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x64]
call fcn.0044b840
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x14c], 2
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xffffffffffffffff
push 0x465e38
lea ecx, [esp + 0x3c]
call fcn.00427400
lea edx, [esp + 0x58]
mov bl, 3
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x14c], bl
call fcn.0044b8d0
push 0
push 0xffffffffffffffff
push str.D:_A__GRGW___
lea ecx, [esp + 0x24]
call fcn.0044b840
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x14c], 4
call fcn.0044b8d0
mov ecx, dword [esp + 0x28]
push ecx
mov byte [esp + 0x14c], bl
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x24]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x38]
call fcn.0044b8d0
push 0
push 0xffffffffffffffff
push 0x461840
lea ecx, [esp + 0x24]
call fcn.0044b840
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x14c], 5
call fcn.0044b8d0
mov edx, dword [esp + 0x28]
push edx
mov byte [esp + 0x14c], bl
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0xac], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xac], 6
jb 0x450e02
push 0
push 0xffffffffffffffff
push str.S:_ML__NW___LW_
lea ecx, [esp + 0x24]
call fcn.0044b840
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x14c], 6
call fcn.0044b8d0
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0x14c], bl
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x24]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [esp + 0x34]
call fcn.0044b230
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x34]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA]
test eax, eax
jne 0x450e84
push eax
push 0xffffffffffffffff
push str.unable_to_create_security_descriptor_from_string
lea ecx, [esp + 0x24]
call fcn.0044b840
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x154], 7
call fcn.00406100
add esp, 0xc
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x14c], 8
mov dword [esp + 0x90], vtable.RSException.0
call fcn.004019d8
push 0x469dd4
lea edx, [esp + 0x90]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov esi, eax
mov eax, dword [esp + 0x44]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x40]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x70]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x6c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x14
cmp ebp, 0xffffffff
je 0x450eca
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00450f60
add esp, 0x138
ret