Function at 0x4162c0
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.0042f5a0
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 0x41632d
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 0x41632d
xor esi, esi
inc esi
jmp 0x41635a
push ebx
push str.CreateProcessA
call fcn.0041c420
add esp, 8
call fcn.0042f5a0
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 0x416373
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417da0
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.0042b610
add esp, 0xc
test al, al
jne 0x416397
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41635a
call fcn.0042b460
test al, al
je 0x41638e
mov eax, dword [0x43929c]
mov dword [ebp - 0x270], eax
test eax, eax
je 0x41638e
mov dword [ebp - 0x278], 0
mov eax, 0
cmp dword [ebp + 0x10], 0
je 0x4163d3
push dword [ebp + 0x10]
call fcn.0042bd90
add esp, 4
test eax, eax
je 0x41638e
test ebx, ebx
mov dword [ebp - 0x27c], eax
je 0x4163fa
push ebx
call fcn.0042bd90
add esp, 4
mov dword [ebp - 0x278], eax
test eax, eax
mov eax, dword [ebp - 0x27c]
je 0x416682
xor ebx, ebx
mov ecx, 0
mov edx, dword [ebp + 0x28]
test edx, edx
je 0x416421
push edx
call fcn.0042bd90
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x27c]
test ecx, ecx
je 0x41671e
test eax, eax
je 0x416428
mov ebx, dword [eax + 4]
xor edx, edx
mov eax, 0
cmp dword [ebp - 0x278], 0
je 0x416441
mov eax, dword [ebp - 0x278]
mov eax, dword [eax + 4]
mov dword [ebp - 0x280], eax
test ecx, ecx
je 0x41644e
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.0042d310
mov dword [ebp - 0x274], eax
test eax, eax
je 0x41668a
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.004223d0
mov ecx, ebx
push 1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x250]
push dword [eax]
push edx
call fcn.00422490
mov dword [ebp - 0x270], 4
test al, al
je 0x416694
lea ebx, [ebp - 0x254]
mov eax, dword [ebp - 0x28c]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004223d0
xor edx, edx
inc edx
mov ecx, dword [ebp - 0x274]
push edx
push 0
push eax
push dword [ebx]
push edx
call fcn.00422490
mov dword [ebp - 0x270], 4
test al, al
je 0x416694
lea ebx, [ebp - 0x258]
mov eax, dword [ebp - 0x288]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004223d0
mov ecx, dword [ebp - 0x274]
push 1
push 0
push eax
push dword [ebx]
push 2
call fcn.00422490
mov dword [ebp - 0x270], 4
test al, al
je 0x416694
lea ebx, [ebp - 0x25c]
mov eax, dword [ebp - 0x284]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004223d0
mov ecx, dword [ebp - 0x274]
push 1
push 0
push eax
push dword [ebx]
push 3
call fcn.00422490
mov dword [ebp - 0x270], 4
test al, al
je 0x416694
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.00422490
mov dword [ebp - 0x270], 4
test al, al
je 0x416694
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x274]
call fcn.0042d470
mov dword [ebp - 0x270], 0xa
mov dword [ebp - 0x280], eax
cmp eax, 0xa
je 0x416694
mov ebx, dword [ebp - 0x274]
mov eax, dword [ebx + 0x74]
add eax, ebx
lea ecx, [ebp - 0x264]
push eax
call fcn.0041ce50
mov byte [ebp - 0x270], al
lea ecx, [ebp - 0x26c]
push ebx
call fcn.0042d430
cmp byte [ebp - 0x270], 0
mov eax, 2
cmovne eax, dword [ebp - 0x280]
mov dword [ebp - 0x270], eax
jmp 0x416694
push 0
push eax
jmp 0x416731
mov dword [ebp - 0x270], 4
mov eax, dword [ebp - 0x27c]
xor ebx, ebx
push ebx
push eax
call fcn.0042be60
add esp, 8
push ebx
push dword [ebp - 0x278]
call fcn.0042be60
add esp, 8
push ebx
push dword [ebp - 0x290]
call fcn.0042be60
add esp, 8
cmp dword [ebp - 0x270], 0
jne 0x41638e
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [ebp - 0x244], 0
jne 0x41635a
mov ecx, dword [0x438454]
xor esi, esi
inc esi
test ecx, ecx
je 0x41635a
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 0x41635a
xor ebx, ebx
push ebx
push eax
call fcn.0042be60
add esp, 8
push ebx
push dword [ebp - 0x278]
call fcn.0042be60
add esp, 8
jmp 0x41638e