Function at 0x433d50
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x50
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
push ebx
xor ebx, ebx
push ebp
push esi
push edi
push str.Advapi32.dll
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], 5
xor edi, edi
mov dword [esp + 0x24], ebx
xor ebp, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x38], esi
je 0x433e5e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b3070
push esi
call edi
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x434035
push 0x4b3068
push esi
call edi
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x434035
push 0x4b3058
push esi
call edi
mov ebp, eax
cmp ebp, ebx
je 0x434035
push 0x4b3048
push esi
call edi
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x434035
push 0x4b3028
push esi
call edi
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x434035
push 0x4b300c
push esi
call edi
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x434035
push str.AddAce
push esi
call edi
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x434035
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea edx, [esp + 0x7c]
push edx
call edi
test eax, eax
je 0x434035
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [esp + 0x7c]
push ecx
call edi
test eax, eax
je 0x434035
mov edx, dword [esp + 0x18]
push edx
call ebp
add eax, 0xc
push eax
mov dword [esp + 0x14], eax
call fcn.00479967
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x434035
mov ax, word [esp + 0x10]
mov byte [edi], bl
mov word [edi + 2], ax
mov byte [edi + 1], bl
mov dword [edi + 4], 0x1f0001
mov ecx, dword [esp + 0x18]
push ecx
call ebp
mov edx, dword [esp + 0x18]
push eax
push edx
lea eax, [edi + 8]
push eax
call fcn.0048a0d0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call ebp
mov ebp, eax
add ebp, 0xc
push ebp
call fcn.00479967
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x433ffb
mov byte [esi], bl
mov word [esi + 2], bp
mov byte [esi + 1], bl
mov dword [esi + 4], 0x1f0001
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esi + 8]
push ecx
call fcn.0048a0d0
mov edx, dword [esp + 0x1c]
lea ebp, [edx + ebp + 8]
push ebp
mov dword [esp + 0x20], ebp
call fcn.00479967
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
je 0x433ffd
mov eax, dword [esp + 0x10]
push 2
push eax
push ebp
call dword [esp + 0x3c]
test eax, eax
je 0x433ffd
movzx ecx, word [edi + 2]
push ecx
push edi
push 0xffffffffffffffff
push 2
push ebp
call dword [esp + 0x38]
test eax, eax
je 0x433ffd
movzx edx, word [esi + 2]
push edx
push esi
push 0xffffffffffffffff
push 2
push ebp
call dword [esp + 0x38]
test eax, eax
je 0x433ffd
push 0x200
call fcn.00479967
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x433ffd
push 1
push eax
call dword [esp + 0x30]
test eax, eax
je 0x433ffd
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push 1
push eax
call dword [esp + 0x4c]
test eax, eax
je 0x433ffd
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
push edx
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x54], 0xc
mov dword [esp + 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2c], eax
jmp 0x433ffd
mov ebp, ebx
push edi
call fcn.00479992
add esp, 4
cmp esi, ebx
je 0x434013
push esi
call fcn.00479992
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x434024
push eax
call fcn.00479992
add esp, 4
cmp ebp, ebx
je 0x434031
push ebp
call fcn.00479992
add esp, 4
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x434042
push eax
call dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43404f
push eax
call dword [esp + 0x24]
mov edi, dword [esp + 0x34]
cmp edi, ebx
je 0x434062
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
je 0x43406d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x5c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488320
add esp, 0x50
ret 8