Function at 0x4372f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x44
mov eax, dword [0x614b80]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push ebx
xor ebx, ebx
push edi
push str.Advapi32.dll
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 1
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x437540
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x59fbd4
push edi
call esi
push 0x59fbcc
push edi
mov ebp, eax
call esi
push 0x59fbbc
push edi
mov dword [esp + 0x28], eax
call esi
push 0x59fbac
push edi
mov dword [esp + 0x24], eax
call esi
push 0x59fb8c
push edi
mov dword [esp + 0x34], eax
call esi
push 0x59fb70
push edi
mov dword [esp + 0x2c], eax
call esi
push str.AddAce
push edi
mov dword [esp + 0x3c], eax
call esi
mov dword [esp + 0x38], eax
cmp ebp, ebx
je 0x43753e
cmp dword [esp + 0x20], ebx
je 0x43753e
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x43753e
cmp dword [esp + 0x2c], ebx
je 0x43753e
cmp dword [esp + 0x24], ebx
je 0x43753e
cmp dword [esp + 0x34], ebx
je 0x43753e
cmp eax, ebx
je 0x43753e
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea edx, [esp + 0x70]
push edx
call ebp
test eax, eax
je 0x43753e
mov eax, dword [esp + 0x10]
push eax
call esi
mov ebp, eax
add ebp, 0xc
push ebp
call fcn.005684a2
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x43753e
mov byte [esi], bl
mov word [esi + 2], bp
mov byte [esi + 1], bl
mov dword [esi + 4], 0x1f0001
mov ecx, dword [esp + 0x10]
push ecx
call dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push eax
push edx
lea eax, [esi + 8]
push eax
call fcn.0057ae10
add ebp, 8
push ebp
mov dword [esp + 0x2c], ebp
call fcn.005684a2
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
je 0x437517
mov ecx, dword [esp + 0x1c]
push 2
push ecx
push ebp
call dword [esp + 0x38]
test eax, eax
je 0x437517
movzx edx, word [esi + 2]
push edx
push esi
push 0xffffffffffffffff
push 2
push ebp
call dword [esp + 0x4c]
test eax, eax
je 0x437517
push 0x200
call fcn.005684a2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x437517
push 1
push eax
call dword [esp + 0x2c]
test eax, eax
je 0x437517
mov eax, dword [esp + 0x18]
push ebx
push ebp
push 1
push eax
call dword [esp + 0x44]
test eax, eax
je 0x437517
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
push edx
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], ebx
jne 0x437517
mov edx, dword [esp + 0x30]
push edx
push ebx
push 0x120001
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
mov dword [esp + 0x14], eax
push esi
call fcn.005684ad
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x437531
push eax
call fcn.005684ad
add esp, 4
cmp ebp, ebx
je 0x43753e
push ebp
call fcn.005684ad
add esp, 4
pop esi
pop ebp
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x43754d
push eax
call dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
cmp edi, ebx
je 0x437563
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
pop edi
pop ebx
xor ecx, esp
call fcn.0057943e
add esp, 0x44
ret 8