Function at 0x437010
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x54
mov eax, dword [0x4efd34]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push ebx
xor ebx, ebx
push ebp
push esi
push edi
push str.Advapi32.dll
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], 5
xor edi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x40], esi
je 0x43711c
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c3624
push esi
call ebp
mov edi, eax
cmp edi, ebx
je 0x4372fb
push 0x4c361c
push esi
call ebp
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x4372fb
push 0x4c360c
push esi
call ebp
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4372fb
push 0x4c35fc
push esi
call ebp
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x4372fb
push 0x4c35dc
push esi
call ebp
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x4372fb
push 0x4c35c0
push esi
call ebp
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x4372fb
push str.AddAce
push esi
call ebp
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x4372fb
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea edx, [esp + 0x80]
push edx
call edi
test eax, eax
je 0x4372fb
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 + 0x80]
push ecx
call edi
test eax, eax
je 0x4372fb
mov edx, dword [esp + 0x10]
push edx
call dword [esp + 0x20]
mov edi, eax
add edi, 0xc
push edi
mov dword [esp + 0x2c], edi
call fcn.00488f77
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4372fb
mov esi, dword [esp + 0x1c]
mov byte [ebp], bl
mov word [ebp + 2], di
mov byte [ebp + 1], bl
mov dword [ebp + 4], 0x1f0001
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [ebp + 8]
push edx
call fcn.00499030
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call esi
mov edi, eax
add edi, 0xc
push edi
call fcn.00488f77
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4372c1
mov byte [esi], bl
mov word [esi + 2], di
mov byte [esi + 1], bl
mov dword [esi + 4], 0x1f0001
mov ecx, dword [esp + 0x14]
push ecx
call dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push eax
push edx
lea eax, [esi + 8]
push eax
call fcn.00499030
mov ecx, dword [esp + 0x34]
lea edi, [edi + ecx + 8]
push edi
mov dword [esp + 0x38], edi
call fcn.00488f77
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x4372c3
mov edx, dword [esp + 0x28]
push 2
push edx
push edi
call dword [esp + 0x40]
test eax, eax
je 0x4372c3
movzx eax, word [ebp + 2]
push eax
push ebp
push 0xffffffffffffffff
push 2
push edi
call dword [esp + 0x34]
test eax, eax
je 0x4372c3
movzx ecx, word [esi + 2]
push ecx
push esi
push 0xffffffffffffffff
push 2
push edi
call dword [esp + 0x34]
test eax, eax
je 0x4372c3
push 0x200
call fcn.00488f77
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4372c3
push 1
push eax
call dword [esp + 0x38]
test eax, eax
je 0x4372c3
mov edx, dword [esp + 0x18]
push ebx
push edi
push 1
push edx
call dword [esp + 0x3c]
test eax, eax
je 0x4372c3
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
push ecx
mov dword [esp + 0x54], eax
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x38], eax
jmp 0x4372c3
mov edi, ebx
push ebp
call fcn.00488fa7
add esp, 4
cmp esi, ebx
je 0x4372d9
push esi
call fcn.00488fa7
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4372ea
push eax
call fcn.00488fa7
add esp, 4
cmp edi, ebx
je 0x4372f7
push edi
call fcn.00488fa7
add esp, 4
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x437308
push eax
call dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x437315
push eax
call dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
cmp edi, ebx
je 0x437328
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
je 0x437333
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x60]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004972eb
add esp, 0x54
ret 8