Function at 0x408400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x310], eax
xor eax, eax
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
push 0x20
push str._action_actionArgs_waitForFinish
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
call fcn.00402060
lea eax, [ebp - 0x318]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2d0]
mov ecx, edi
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00412e60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x25c]
cmp ecx, 8
jb 0x408552
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408548
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409aca
push ecx
push edx
call fcn.004699d8
add esp, 8
cmp dword [ebp - 0x2bc], 8
lea ecx, [ebp - 0x2d0]
mov esi, dword [ebp - 0x2c0]
cmovae ecx, dword [ebp - 0x2d0]
cmp esi, 4
jne 0x40859c
mov edx, 0x4b0824
test esi, esi
je 0x408593
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40859c
add ecx, 2
add edx, 2
sub esi, 1
jne 0x408580
mov byte [ebp - 0x318], 1
jmp 0x4085a3
mov byte [ebp - 0x318], 0
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
push 0x1e
push str._action_actionArgs_processName
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
call fcn.00402060
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x288]
mov ecx, edi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00412e60
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x40865c
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408652
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409acf
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, dword [0x4c8c88]
mov dword [ebp - 0x220], 7
test eax, eax
jne 0x4086b8
push 0x84
call fcn.004699a8
mov esi, eax
mov dword [ebp - 0x21c], esi
push 0x84
push 0
push esi
mov byte [ebp - 4], 7
call fcn.0046bb80
add esp, 0x10
mov ecx, esi
call fcn.00405c80
mov byte [ebp - 4], 5
mov dword [0x4c8c88], eax
cmp dword [ebp - 0x274], 8
lea edx, [eax + 4]
mov eax, dword [edx]
lea ecx, [ebp - 0x288]
cmovae ecx, dword [ebp - 0x288]
push ecx
push str.Inside_handleCreateProcessAction__Process_Name_passed_to_service::__s
mov esi, dword [eax + 0x14]
mov ecx, esi
push edx
call dword [0x49e2d4]
call esi
xor eax, eax
mov dword [ebp - 0x2a0], 0
add esp, 0xc
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
push 0x1c
push str._action_actionArgs_sessionID
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
call fcn.00402060
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2a0]
mov ecx, edi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00412e60
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x4087a1
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408797
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ad4
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, dword [0x4c8c88]
mov dword [ebp - 0x220], 7
test eax, eax
jne 0x4087fd
push 0x84
call fcn.004699a8
mov esi, eax
mov dword [ebp - 0x21c], esi
push 0x84
push 0
push esi
mov byte [ebp - 4], 0xa
call fcn.0046bb80
add esp, 0x10
mov ecx, esi
call fcn.00405c80
mov byte [ebp - 4], 8
mov dword [0x4c8c88], eax
cmp dword [ebp - 0x28c], 8
lea edx, [eax + 4]
mov eax, dword [edx]
lea ecx, [ebp - 0x2a0]
cmovae ecx, dword [ebp - 0x2a0]
push ecx
push str.Inside_handleCreateProcessAction__SessionID_passed_to_service::__s
mov esi, dword [eax + 0x14]
mov ecx, esi
push edx
call dword [0x49e2d4]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movq qword [ebp - 0x258], xmm0
add esp, 0xc
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x234]
push 0x1a
push str._action_actionArgs_cmdArgs
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call fcn.00402060
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
call fcn.00412c20
test eax, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x220]
setne al
mov byte [ebp - 0x301], al
cmp ecx, 8
jb 0x40890c
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4088fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ad9
push ecx
push edx
call fcn.004699d8
mov al, byte [ebp - 0x301]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], cx
test al, al
je 0x408cd1
xorps xmm0, xmm0
mov dword [ebp - 0x308], ecx
movq qword [ebp - 0x2ac], xmm0
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 0xd
push 0x21
mov dword [ebp - 0x314], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x270]
push str._action_actionArgs_cmdArgs_cmdArg
call fcn.00402060
lea eax, [ebp - 0x314]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x308]
mov ecx, edi
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00412ca0
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0040a570
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x408a17
mov eax, dword [ebp - 0x220]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x4089ef
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ade
push edx
push ecx
call fcn.004699d8
add esp, 8
mov dword [ebp - 0x228], 0
invalid
test esp, ebx
std
invalid
inc dword [eax]