Function at 0x4bcb74
Capabilities:
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff6fc
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [ebp + 0x18]
mov edi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4bcbc9
mov dword [ebp + 0xc], 0x5ff323
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
test dl, dl
jne 0x4bcbd9
mov dword [ebp + 0xc], 0x5ff325
lea ecx, [ebp - 4]
push ecx
push 0
push 2
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ADVAPI32.dll_LogonUserA
test eax, eax
jne 0x4bcc19
test esi, esi
je 0x4bcc12
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0x5ff327
push esi
call fcn.004d75f8
add esp, 0x10
xor edi, edi
jmp 0x4bcfc9
push 0x5ff33f
call sub.KERNEL32.dll_GetModuleHandleA
mov ebx, eax
test ebx, ebx
jne 0x4bcc35
push 0x5ff34b
call sub.KERNEL32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x4bcca3
push 0x5ff357
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4bcc5c
push 0x5ff368
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4bcca3
push 0x20
push 0
lea ecx, [ebp - 0xe4]
push ecx
call fcn.004d2d9c
mov dword [ebp - 0xe4], 0x20
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], 1
push edx
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x20]
test eax, eax
call sub.USER32.dll_GetProcessWindowStation
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4bcccf
test esi, esi
je 0x4bccc8
push esi
mov edi, esi
mov esi, 0x5ff37a
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
call sub.USER32.dll_GetThreadDesktop
mov dword [ebp - 0x2c], eax
push 0x60376
push 0
push 0x5ff389
call sub.USER32.dll_OpenWindowStationA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4bcd16
test esi, esi
je 0x4bcd0f
push esi
mov edi, esi
mov esi, 0x5ff391
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
mov eax, dword [ebp - 0x10]
push eax
call sub.USER32.dll_SetProcessWindowStation
test eax, eax
jne 0x4bcd41
test esi, esi
je 0x4bcd3a
push esi
mov edi, esi
mov esi, 0x5ff3a2
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
push 0x6008f
push 0
push 1
push 0x5ff3b3
call sub.USER32.dll_OpenDesktopA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.dll_SetProcessWindowStation
test eax, eax
jne 0x4bcd81
test esi, esi
je 0x4bcd7a
push esi
mov edi, esi
mov esi, 0x5ff3bb
mov eax, edi
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4bcda3
test esi, esi
je 0x4bcd9c
push esi
mov edi, esi
mov esi, 0x5ff3cf
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004bc440
add esp, 8
test eax, eax
jne 0x4bcdd6
test esi, esi
je 0x4bcdcf
push esi
mov edi, esi
mov esi, 0x5ff3da
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.004bc554
add esp, 8
test eax, eax
jne 0x4bce0a
test esi, esi
je 0x4bce03
push esi
mov edi, esi
mov esi, 0x5ff3e8
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.004bc824
add esp, 8
test eax, eax
jne 0x4bce3c
test esi, esi
je 0x4bce35
push esi
mov edi, esi
mov esi, 0x5ff3fb
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_ImpersonateLoggedOnUser
test eax, eax
jne 0x4bce66
test esi, esi
je 0x4bce5f
push esi
mov edi, esi
mov esi, 0x5ff40c
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
xor edi, edi
jmp 0x4bcfc9
mov eax, dword [ebp - 0xc]
push eax
call sub.USER32.dll_SetThreadDesktop
xor edx, edx
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4bce8c
push 0x5ff41c
mov eax, dword [ebp - 0x24]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4bcf5a
lea ecx, [ebp - 0x904]
push ecx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00403494
add esp, 8
lea edx, [ebp - 0x2ec]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403494
add esp, 8
lea eax, [ebp - 0x6fc]
push eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.00403494
add esp, 8
lea ecx, [ebp - 0x4f4]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403494
add esp, 8
lea edx, [ebp - 0xc4]
push 0x44
push 0
push edx
call fcn.004d2d9c
mov dword [ebp - 0xc4], 0x44
mov dword [ebp - 0xbc], 0x5ff434
mov dword [ebp - 0x98], 1
mov word [ebp - 0x94], 5
add esp, 0xc
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0xc4]
lea edx, [ebp - 0x904]
push ecx
push eax
push 0
push 0
push 0x4000210
push edx
push 0
lea ecx, [ebp - 0x6fc]
push 1
push ecx
lea eax, [ebp - 0x4f4]
lea edx, [ebp - 0x2ec]
push eax
push edx
call dword [ebp - 0x28]
test eax, eax
je 0x4bcf9f
jmp 0x4bcf9f
push 0x44
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.004d2d9c
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0x4000210
push 0
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.dll_CreateProcessAsUserA
mov dword [ebp - 0x1c], eax
call sub.ADVAPI32.dll_RevertToSelf
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4bcfc9
test esi, esi
je 0x4bcfc7
mov eax, dword [ebp + 0x14]
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0x5ff454
push esi
call fcn.004d75f8
add esp, 0x10
xor edi, edi
test ebx, ebx
je 0x4bcfe9
push 0x5ff467
push ebx
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4bcfe9
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 4]
push ecx
call eax
test ebx, ebx
je 0x4bcff3
push ebx
call sub.KERNEL32.dll_FreeLibrary
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4bd003
mov eax, dword [ebp - 0x24]
push eax
call sub.KERNEL32.dll_FreeLibrary
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x4bd013
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.USER32.dll_SetThreadDesktop
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4bd023
mov edx, dword [ebp - 0x14]
push edx
call sub.USER32.dll_SetProcessWindowStation
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4bd034
lea eax, [ebp - 0x18]
push eax
call fcn.004bc53c
pop ecx
mov edx, dword [ebp - 4]
cmp edx, 0xffffffff
je 0x4bd045
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x4bd056
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_CloseHandle
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4bd066
mov eax, dword [ebp - 0x10]
push eax
call sub.USER32.dll_CloseWindowStation
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x4bd076
mov ecx, dword [ebp - 0xc]
push ecx
call sub.USER32.dll_CloseDesktop
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret