Function at 0x413290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x438014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0042ec70
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
cmp byte [eax + 4], 0
je 0x4132fd
mov esi, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
call dword [section..00cfg]
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call ecx
test eax, eax
je 0x4132fd
xor esi, esi
inc esi
jmp 0x41332a
push ebx
push str.CreateProcessA
call fcn.0041bb70
add esp, 8
call fcn.0042ec70
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
xor esi, esi
cmp dword [eax], 0
jg 0x413343
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414c00
mov eax, esi
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret 0x2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 1
push 0x10
push dword [ebp + 0x30]
call fcn.0042ac60
add esp, 0xc
test al, al
jne 0x413367
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41332a
call fcn.0042aab0
test al, al
je 0x41335e
mov eax, dword [0x43929c]
mov dword [ebp - 0x270], eax
test eax, eax
je 0x41335e
mov dword [ebp - 0x278], 0
mov eax, 0
cmp dword [ebp + 0x10], 0
je 0x4133a3
push dword [ebp + 0x10]
call fcn.0042b3e0
add esp, 4
test eax, eax
je 0x41335e
test ebx, ebx
mov dword [ebp - 0x27c], eax
je 0x4133ca
push ebx
call fcn.0042b3e0
add esp, 4
mov dword [ebp - 0x278], eax
test eax, eax
mov eax, dword [ebp - 0x27c]
je 0x413652
xor ebx, ebx
mov ecx, 0
mov edx, dword [ebp + 0x28]
test edx, edx
je 0x4133f1
push edx
call fcn.0042b3e0
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x27c]
test ecx, ecx
je 0x4136ee
test eax, eax
je 0x4133f8
mov ebx, dword [eax + 4]
xor edx, edx
mov eax, 0
cmp dword [ebp - 0x278], 0
je 0x413411
mov eax, dword [ebp - 0x278]
mov eax, dword [eax + 4]
mov dword [ebp - 0x280], eax
test ecx, ecx
je 0x41341e
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x290], ecx
lea ebx, [ebp - 0x218]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
xor ecx, ecx
cmp eax, 0x103
cmovae ebx, ecx
mov dword [ebp - 0x288], ebx
lea ecx, [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
mov dword [ecx], eax
add eax, dword [eax + 8]
mov dword [ecx + 4], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x22c], xmm0
movups xmmword [ebp - 0x23c], xmm0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x21c], 0
call fcn.0042ca80
mov dword [ebp - 0x274], eax
test eax, eax
je 0x41365a
mov ebx, dword [ebp - 0x274]
mov dword [ebx], 0xd
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x3c], 5
mov dword [ebx + 0x44], 0x88
lea ecx, [ebp - 0x250]
mov eax, dword [ebp - 0x280]
mov dword [ecx], eax
call fcn.00421ab0
mov ecx, ebx
push 1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x250]
push dword [eax]
push edx
call fcn.00421b70
mov dword [ebp - 0x270], 4
test al, al
je 0x413664
lea ebx, [ebp - 0x254]
mov eax, dword [ebp - 0x28c]
mov dword [ebx], eax
mov ecx, ebx
call fcn.00421ab0
xor edx, edx
inc edx
mov ecx, dword [ebp - 0x274]
push edx
push 0
push eax
push dword [ebx]
push edx
call fcn.00421b70
mov dword [ebp - 0x270], 4
test al, al
je 0x413664
lea ebx, [ebp - 0x258]
mov eax, dword [ebp - 0x288]
mov dword [ebx], eax
mov ecx, ebx
call fcn.00421ab0
mov ecx, dword [ebp - 0x274]
push 1
push 0
push eax
push dword [ebx]
push 2
call fcn.00421b70
mov dword [ebp - 0x270], 4
test al, al
je 0x413664
lea ebx, [ebp - 0x25c]
mov eax, dword [ebp - 0x284]
mov dword [ebx], eax
mov ecx, ebx
call fcn.00421ab0
mov ecx, dword [ebp - 0x274]
push 1
push 0
push eax
push dword [ebx]
push 3
call fcn.00421b70
mov dword [ebp - 0x270], 4
test al, al
je 0x413664
mov eax, 0x10
mov dword [ebp - 0x264], eax
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x260], edx
mov ecx, dword [ebp - 0x274]
push 6
push 1
push eax
push edx
push 4
call fcn.00421b70
mov dword [ebp - 0x270], 4
test al, al
je 0x413664
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x274]
call fcn.0042cbe0
mov dword [ebp - 0x270], 0xa
mov dword [ebp - 0x280], eax
cmp eax, 0xa
je 0x413664
mov ebx, dword [ebp - 0x274]
mov eax, dword [ebx + 0x74]
add eax, ebx
lea ecx, [ebp - 0x264]
push eax
call fcn.0041c5a0
mov byte [ebp - 0x270], al
lea ecx, [ebp - 0x26c]
push ebx
call fcn.0042cba0
cmp byte [ebp - 0x270], 0
mov eax, 2
cmovne eax, dword [ebp - 0x280]
mov dword [ebp - 0x270], eax
jmp 0x413664
push 0
push eax
jmp 0x413701
mov dword [ebp - 0x270], 4
mov eax, dword [ebp - 0x27c]
xor ebx, ebx
push ebx
push eax
call fcn.0042b4b0
add esp, 8
push ebx
push dword [ebp - 0x278]
call fcn.0042b4b0
add esp, 8
push ebx
push dword [ebp - 0x290]
call fcn.0042b4b0
add esp, 8
cmp dword [ebp - 0x270], 0
jne 0x41335e
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [ebp - 0x244], 0
jne 0x41332a
mov ecx, dword [0x438454]
xor esi, esi
inc esi
test ecx, ecx
je 0x41332a
call dword [section..00cfg]
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push str.CreateProcessA
push str.Broker_ALLOWED
call ecx
add esp, 0x14
jmp 0x41332a
xor ebx, ebx
push ebx
push eax
call fcn.0042b4b0
add esp, 8
push ebx
push dword [ebp - 0x278]
call fcn.0042b4b0
add esp, 8
jmp 0x41335e