Function at 0x414f70
Capabilities:
Accept command line arguments
Get session user name
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ed92
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x469644]
xor eax, esp
mov dword [esp + 0x568], eax
push ebx
push esi
push edi
mov eax, dword [0x469644]
xor eax, esp
push eax
lea eax, [esp + 0x580]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], esp
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0xc
mov eax, str.Manager_Init
mov word [esi], cx
call fcn.00404210
call fcn.00410a60
xor eax, eax
add esp, 0x1c
xor ecx, ecx
mov edi, eax
mov dword [esp + 0xa8], eax
xor edx, edx
push 1
mov eax, 0x45deb8
lea esi, [esp + 0x9c]
mov ebx, ecx
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], dx
call fcn.00404210
lea ecx, [esp + 0x3c]
mov dword [esp + 0x588], ebx
call fcn.00405c10
mov eax, dword [esp + 0x3c]
mov esi, 8
mov byte [esp + 0x17], bl
cmp dword [esp + 0x50], esi
jae 0x415045
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41506c
mov edi, dword [esp + 0x138]
mov ebx, dword [esp + 0x13c]
mov byte [esp + 0x17], 1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x50], esi
jb 0x415086
mov edx, dword [esp + 0x3c]
push edx
call fcn.00426e9f
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4150d6
push ebx
push edi
lea ecx, [esp + 0xbc]
call fcn.00406d80
add esp, 8
mov edi, eax
lea esi, [esp + 0x98]
mov byte [esp + 0x588], 1
call fcn.00404be0
mov byte [esp + 0x588], 0
cmp dword [esp + 0xc8], 8
jb 0x4150d6
mov eax, dword [esp + 0xb4]
push eax
call fcn.00426e9f
add esp, 4
lea ecx, [esp + 0x60]
push 0x45dec4
push ecx
lea ebx, [esp + 0xa0]
call fcn.00404920
push eax
mov eax, 0x45debc
lea ecx, [esp + 0xc0]
mov byte [esp + 0x594], 2
call fcn.0040f880
add esp, 0xc
mov ecx, eax
mov eax, 0x46c6e4
lea ebx, [esp + 0x3c]
mov byte [esp + 0x588], 3
call fcn.00413010
sub esp, 0x1c
mov byte [esp + 0x5a4], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov eax, 0x45d75c
call fcn.0040f880
add esp, 4
call fcn.00410b20
mov edi, 8
add esp, 0x1c
cmp dword [esp + 0x50], edi
jb 0x415160
mov edx, dword [esp + 0x3c]
push edx
call fcn.00426e9f
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
cmp dword [esp + 0xc8], edi
jb 0x41518f
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00426e9f
add esp, 4
xor edx, edx
mov byte [esp + 0x588], bl
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], dx
cmp dword [esp + 0x74], edi
jb 0x4151c1
mov eax, dword [esp + 0x60]
push eax
call fcn.00426e9f
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [esp + 0x7c], cx
mov ecx, eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4151e1
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x80]
call fcn.00404210
sub esp, 0x1c
mov byte [esp + 0x5a4], 5
mov edx, esp
mov dword [esp + 0x2c], esp
push str.CMD:
push edx
mov ebx, esi
call fcn.00404920
add esp, 8
call fcn.00410b20
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [esp + 0x1c]
push eax
mov dword [esi + 0x5c], eax
lea eax, [esp + 0x64]
push eax
call fcn.004063a0
mov ecx, eax
sub esp, 0x14
mov byte [esp + 0x5a4], 6
mov eax, esp
mov dword [esp + 0x2c], esp
push ecx
mov edx, str.PID:
call fcn.00404a00
add esp, 4
call fcn.00410b20
add esp, 0x1c
mov byte [esp + 0x588], 5
cmp dword [esp + 0x74], 8
jb 0x415283
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00426e9f
add esp, 4
lea ebx, [esp + 0x60]
call fcn.00405500
mov ebx, 7
add esi, 0x40
mov edi, eax
mov byte [esp + 0x588], bl
call fcn.00404be0
mov edi, 8
mov byte [esp + 0x588], 5
cmp dword [esp + 0x74], edi
jb 0x4152c2
mov edx, dword [esp + 0x60]
push edx
call fcn.00426e9f
add esp, 4
mov eax, dword [esp + 0x1c]
sub esp, 0x1c
cmp dword [eax + 0x50], 0
mov dword [esp + 0x2c], esp
jbe 0x4158d1
mov ecx, esp
push 0x45e51c
push ecx
mov ebx, esi
call fcn.00404920
add esp, 8
call fcn.00410b20
add esp, 0x1c
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x378]
push eax
mov dword [esp + 0x40], 0xff
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor ecx, ecx
test eax, eax
je 0x415399
lea eax, [esp + 0x374]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ecx
mov word [esp + 0x3c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415331
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x378]
lea esi, [esp + 0x40]
call fcn.00404210
sub esp, 0x1c
mov byte [esp + 0x5a4], 8
mov edx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
push edx
mov edx, str.User:
call fcn.00404a00
add esp, 4
call fcn.00410b20
mov bl, 5
add esp, 0x1c
mov byte [esp + 0x588], bl
cmp dword [esp + 0x50], 8
jb 0x4153c9
mov eax, dword [esp + 0x3c]
push eax
call fcn.00426e9f
add esp, 4
jmp 0x4153c9
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x2c], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x13
mov eax, str.GetUserNameW_failed
mov word [esi], cx
call fcn.00404210
call fcn.00410b20
add esp, 0x1c
mov bl, 5
lea ecx, [esp + 0x60]
call fcn.00405c10
mov esi, dword [esp + 0x1c]
add esi, 0x7c
mov byte [esp + 0x588], 9
mov edi, eax
mov dword [esp + 0x10], esi
call fcn.00404be0
mov byte [esp + 0x588], bl
cmp dword [esp + 0x74], 8
jb 0x415407
mov edx, dword [esp + 0x60]
push edx
call fcn.00426e9f
add esp, 4
xor edi, edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
push edi
mov word [ecx], ax
push 0x46c700
or eax, 0xffffffff
call fcn.00403a30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov byte [esp + 0x5c4], 0xa
push edi
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
push esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403a30
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c4], bl
call fcn.00406a10
add esp, 0x3c
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x588], 0xb
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
lea esi, [ebx + 0x98]
shr edi, 0x1f
push 0
mov eax, 0x45d4fc
add edi, edx
mov dword [esp + 0x24], esi
call fcn.00404210
lea esi, [ebx + 0xb4]
push 0
mov eax, 0x45d4fc
call fcn.00404210
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp edi, ecx
jle 0x41559c
mov dword [esp + 0x24], ecx
mov edi, edi
lea eax, [edi - 1]
cmp ecx, eax
jge 0x415525
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x24]
lea edx, [esp + 0x60]
push eax
push edx
mov ebx, 0x46c700
call fcn.00412e70
add esp, 8
push 0
mov byte [esp + 0x58c], 0xc
mov esi, dword [esp + 0x24]
push eax
or eax, 0xffffffff
call fcn.00404e10
mov byte [esp + 0x588], 0xb
cmp dword [esp + 0x74], 8
jb 0x415525
mov eax, dword [esp + 0x60]
push eax
call fcn.00426e9f
add esp, 4
lea eax, [edi - 2]
cmp dword [esp + 0x18], eax
jge 0x415582
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x24]
mov ebx, 0x46c700
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00412e70
add esp, 8
mov esi, dword [esp + 0x1c]
push 0
push eax
or eax, 0xffffffff
add esi, 0xb4
mov byte [esp + 0x590], 0xd
call fcn.00404e10
mov byte [esp + 0x588], 0xb
cmp dword [esp + 0x74], 8
jb 0x415582
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00426e9f
add esp, 4
mov ecx, dword [esp + 0x18]
add dword [esp + 0x24], 0x1c
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, edi
jl 0x4154d0
mov ebx, dword [esp + 0x1c]
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x34], esp
push str.Local_PCC_services_path:
push edx
add ebx, 0xb4
call fcn.00404920
add esp, 8
call fcn.00410b20
mov esi, dword [esp + 0x3c]
mov eax, esp
mov dword [esp + 0x34], esp
push str.Local_manager_Bin_path:
push eax
mov ebx, esi
call fcn.00404920
add esp, 8
call fcn.00410b20
mov ebx, dword [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Local_manager_EXE_path:
push ecx
call fcn.00404920
add esp, 8
call fcn.00410b20
add esp, 0x1c
lea edx, [esp + 0xec]
push esi
push edx
mov ebx, 0x46c7fc
call fcn.00412e70
mov bl, 0xe
push 0x64
mov byte [esp + 0x594], bl
call fcn.00427438
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
xor eax, eax
mov byte [esp + 0x588], 0xf
cmp edi, eax
je 0x415665
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx + 0x10], eax
push eax
lea eax, [esp + 0x10c]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403a30
call fcn.0041cac0
mov ecx, dword [esp + 0x1c]
sub esp, 0x1c
mov byte [esp + 0x5a4], bl
mov edx, esp
mov dword [esp + 0x2c], esp
push str.Local_manager_INI_filepath:
push edx
lea ebx, [esp + 0x110]
mov dword [ecx + 0x64], eax
call fcn.00404920
add esp, 8
call fcn.00410bf0
add esp, 0x1c
lea eax, [esp + 0xd0]
push esi
push eax
mov ebx, 0x46c914
call fcn.00412e70
lea ecx, [esp + 0x110]
push esi
push ecx
mov ebx, 0x46ca10
mov byte [esp + 0x598], 0x10
call fcn.00412e70
push 0x38
mov byte [esp + 0x59c], 0x11
call fcn.00427438
mov esi, eax
add esp, 0x14
mov dword [esp + 0x10], esi
xor eax, eax
mov bl, 0x12
mov byte [esp + 0x588], bl
cmp esi, eax
je 0x415755
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx + 0x10], eax
push eax
lea eax, [esp + 0x128]
mov edi, 7
xor edx, edx
push eax
mov dword [ecx + 0x14], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403a30
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [esp + 0x50], esp
mov byte [esp + 0x5c0], 0x13
push edx
lea eax, [esp + 0x10c]
push eax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], 0
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403a30
mov byte [esp + 0x5c0], bl
call fcn.0041b800
mov ecx, dword [esp + 0x1c]
sub esp, 0x1c
mov byte [esp + 0x5a4], 0x11
mov edx, esp
mov dword [esp + 0x2c], esp
push str.Local_manager_command_filepath:
push edx
lea ebx, [esp + 0xf4]
mov dword [ecx + 0x78], eax
call fcn.00404920
add esp, 8
call fcn.00410bf0
mov edi, 8
add esp, 0x1c
cmp dword [esp + 0x11c], edi
jb 0x4157a8
mov eax, dword [esp + 0x108]
push eax
call fcn.00426e9f
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], cx
cmp dword [esp + 0xe4], edi
jb 0x4157e0
mov edx, dword [esp + 0xd0]
push edx
call fcn.00426e9f
add esp, 4
xor eax, eax
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], ax
cmp dword [esp + 0x100], edi
jb 0x415811
mov ecx, dword [esp + 0xec]
push ecx
call fcn.00426e9f
add esp, 4
mov dword [esp + 0x100], esi
mov esi, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
cmp esi, ebx
je 0x415879
mov edi, dword [esp + 0x2c]
cmp esi, edi
je 0x41586b
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x415851
mov eax, dword [esi]
push eax
call fcn.00426e9f
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
add esi, 0x1c
cmp esi, edi
jne 0x415840
mov esi, dword [esp + 0x28]
push esi
call fcn.00426e9f
add esp, 4
mov edi, 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x90], edi
jb 0x41589b
mov edx, dword [esp + 0x7c]
push edx
call fcn.00426e9f
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
cmp dword [esp + 0xac], edi
jb 0x4158cd
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00426e9f
add esp, 4
mov al, 1
jmp 0x415940
mov esi, esp
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
push 0x1b
mov eax, str.GetLocalComputerName_failed
mov word [esi], dx
call fcn.00404210
call fcn.00410b20
add esp, 0x1c
cmp dword [esp + 0x90], edi
jb 0x41590c
mov eax, dword [esp + 0x7c]
push eax
call fcn.00426e9f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], cx
cmp dword [esp + 0xac], edi
jb 0x41593e
mov edx, dword [esp + 0x98]
push edx
call fcn.00426e9f
add esp, 4
xor al, al
mov ecx, dword [esp + 0x580]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x568]
xor ecx, esp
call fcn.0042575d
mov esp, ebp
pop ebp
ret 4