Function at 0x44d160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x512e27
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, dword [esp + 0x74]
xor ecx, ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], cx
mov dword [esp + 0x6c], 1
test eax, eax
jne 0x44d21d
mov dword [esi + 0x10], ecx
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [esp + 0x48]
push eax
call fcn.00404b90
mov dword [esp + 0x14], 1
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x5c], 8
jb 0x44d449
push dword [esp + 0x48]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x44d446
push str.Advapi32.dll
lea ecx, [esp + 0x28]
call fcn.00404840
mov byte [esp + 0x6c], 2
mov eax, dword [0x569648]
test al, 1
jne 0x44d267
or eax, 1
mov dword [0x569648], eax
mov byte [esp + 0x6c], 3
mov dword [0x569644], 0
call fcn.00452140
push 0x52cc50
call fcn.00505c19
add esp, 4
mov byte [esp + 0x6c], 2
lea eax, [esp + 0x24]
mov ecx, 0x569644
push eax
call fcn.004523f0
mov edi, eax
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x38], 8
mov ebp, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x44d293
push dword [esp + 0x24]
call ebp
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
test edi, edi
jne 0x44d2b6
mov dword [esi + 0x10], eax
jmp 0x44d414
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetTokenInformation
push edi
call ebx
mov dword [esp + 0x40], eax
test eax, eax
je 0x44d40d
push str.ConvertSidToStringSidW
push edi
call ebx
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x44d314
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [esp + 0x48]
push eax
call fcn.00404b90
mov dword [esp + 0x14], 1
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x48]
call fcn.004048e0
jmp 0x44d45c
push str.GetLengthSid
push edi
call ebx
mov dword [esp + 0x18], eax
test eax, eax
jne 0x44d34b
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.0040a5d0
mov dword [esp + 0x14], 1
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x48]
call fcn.004048e0
jmp 0x44d45c
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
xor ebx, ebx
mov dword [esp + 0x48], 0
push ebx
push ebx
push 2
push edi
call dword [esp + 0x54]
test eax, eax
jne 0x44d384
push dword [esp + 0x44]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x44d324
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x48]
push ebx
push 2
push edi
call dword [esp + 0x54]
test eax, eax
je 0x44d324
mov edx, dword [ebx]
xor edi, edi
test edx, edx
je 0x44d40d
lea ecx, [ebx + 8]
mov eax, dword [ecx]
and eax, 0xc0000000
cmp eax, 0xc0000000
je 0x44d3bc
inc edi
add ecx, 8
cmp edi, edx
jb 0x44d3a4
jmp 0x44d40d
push dword [ebx + edi*8 + 4]
call dword [esp + 0x1c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
push dword [ebx + edi*8 + 4]
mov dword [esp + 0x48], 0
call dword [esp + 0x24]
test eax, eax
je 0x44d3fd
mov eax, dword [esp + 0x40]
test eax, eax
je 0x44d3fd
push eax
lea ecx, [esp + 0x4c]
call fcn.00404910
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, esi
lea eax, [esp + 0x48]
push eax
call fcn.00404b90
mov dword [esp + 0x14], 1
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x5c], 8
jb 0x44d449
push dword [esp + 0x48]
call ebp
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00505b1e
add esp, 0x5c
ret 8