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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f920
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2b20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
jne 0x42d3eb
xor eax, eax
jmp 0x42d417
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42d3fe
xor eax, eax
jmp 0x42d417
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
push eax
push str.InjectDll_begin:_dllpath_s
call fcn.0042fa80
mov eax, edi
add esp, 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d430
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447e29
add esp, 4
push edi
mov dword [eax], ebx
push eax
mov dword [ebp - 0x28], eax
lea ebx, [esi + esi]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x1c]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42d5b1
mov ecx, dword [ebp - 0x1c]
push 1
push str.SeDebugPrivilege
push ecx
call fcn.0042d330
add esp, 0xc
test eax, eax
je 0x42d5b1
mov edx, dword [ebp + 8]
push edx
push 0
push 0x2a
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x42d5b1
cmp esi, 0xffffffff
je 0x42d5a1
push 4
push 0x3000
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x42d5a1
mov eax, dword [ebp - 0x28]
push 0
push ebx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x42d5a1
push 0x49780c
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x42d548
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42d548
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x18]
push ecx
push str.InjectDll_CreateRemoteThread:_bRet___d
call fcn.0042fa80
add esp, 8
jmp 0x42d591
test edi, edi
je 0x42d5a1
cmp edi, 0xffffffff
je 0x42d5a1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42d5b1
cmp esi, 0xffffffff
je 0x42d5b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42d5d7
cmp eax, 0xffffffff
je 0x42d5d7
push 0
push str.SeDebugPrivilege
push eax
call fcn.0042d330
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42d5e7
push eax
call fcn.00447e1e
add esp, 4
mov eax, dword [ebp - 0x18]
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046b5b0
mov esp, ebp
pop ebp
ret