Function at 0x476c00
Capabilities:
Acquire debug privileges
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a940
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x60
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x50], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x476c4e
mov dword [ebp - 0x68], 0
jmp 0x476cdf
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x476c70
mov dword [ebp - 0x6c], 0
jmp 0x476cd9
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.004f86f0
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x60], 0
je 0x476c92
cmp dword [ebp - 0x28], 0
jne 0x476c9b
mov dword [ebp - 0x6c], 0
jmp 0x476cd9
mov eax, dword [ebp - 0x60]
mov byte [eax], 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x60]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x476cd3
mov dword [ebp - 0x6c], 0
jmp 0x476cd9
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
push str.InjectDll_begin:_dllpath_s
call fcn.0047c040
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f810a
add esp, 4
add eax, 1
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov eax, dword [ebp - 0x38]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b304f
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
push 4
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004f8090
add esp, 0xc
mov edx, dword [ebp - 0x38]
shl edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x1c]
push edx
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x476da4
jmp 0x476f05
push 1
push str.SeDebugPrivilege
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00476b70
add esp, 0xc
test eax, eax
jne 0x476dc0
jmp 0x476f05
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x476de4
cmp dword [ebp - 0x18], 0xffffffff
jne 0x476df0
mov dword [ebp - 4], 0xffffffff
jmp 0x476f05
push 4
push 0x3000
mov edx, dword [ebp - 0x38]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x476e1c
mov dword [ebp - 4], 0xffffffff
jmp 0x476f05
push 0
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x476e44
mov dword [ebp - 4], 0xffffffff
jmp 0x476f05
push 0x54a9e0
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0
push 0
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x476e9f
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x476e98
jmp 0x476e9f
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
push eax
push str.InjectDll_CreateRemoteThread:_bRet___d
call fcn.0047c040
add esp, 8
jmp 0x476efe
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x30], 0
je 0x476f1b
cmp dword [ebp - 0x30], 0xffffffff
je 0x476f1b
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x476f31
cmp dword [ebp - 0x18], 0xffffffff
je 0x476f31
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x476f5a
cmp dword [ebp - 0x1c], 0xffffffff
je 0x476f5a
push 0
push str.SeDebugPrivilege
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00476b70
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
je 0x476f72
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.004b3044
add esp, 4
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret