Function at 0x41b700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x42d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x2c]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x30]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x28]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], edi
cmp dword [sym.firefox.exe_g_shared_section], eax
je 0x41b776
call fcn.004224d1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
cmp byte [eax + 4], 0
je 0x41b7bc
push dword [ebp - 0x218]
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push ebx
push esi
call dword [ebp - 0x224]
test eax, eax
je 0x41b7bc
xor eax, eax
inc eax
jmp 0x41b87d
mov eax, dword [0x42d654]
test eax, eax
je 0x41b7d9
push 2
push 1
push esi
push str.CreateProcessA
push str.BLOCKED
call eax
add esp, 0x14
cmp dword [sym.firefox.exe_g_shared_section], 0
jne 0x41b7e6
xor eax, eax
jmp 0x41b7eb
call fcn.004224d1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
cmp dword [eax], 1
jle 0x41b87b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x218]
push 1
push 0x10
pop edx
mov dword [ebp - 0x238], eax
call fcn.0041f236
pop ecx
test al, al
je 0x41b86f
call fcn.0041f14a
test al, al
je 0x41b86f
mov eax, dword [0x42e374]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x41b86f
mov ecx, dword [ebp - 0x228]
xor eax, eax
mov dword [ebp - 0x210], eax
mov edi, eax
mov ebx, eax
test ecx, ecx
je 0x41b855
call fcn.0041ed2c
mov edi, eax
test edi, edi
je 0x41b86f
test esi, esi
je 0x41b890
mov ecx, esi
call fcn.0041ed2c
mov ebx, eax
test ebx, ebx
jne 0x41b890
mov ecx, edi
xor edx, edx
call fcn.0041e9c1
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405160
mov esp, ebp
pop ebp
ret 0x2c
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x41b8b6
call fcn.0041ed2c
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x41b8bc
xor edx, edx
mov ecx, edi
call fcn.0041e9c1
mov ecx, ebx
jmp 0x41b868
mov eax, dword [ebp - 0x210]
xor esi, esi
test edi, edi
je 0x41b8c7
mov ecx, dword [edi + 4]
jmp 0x41b8c9
mov ecx, esi
mov dword [ebp - 0x21c], ecx
test ebx, ebx
je 0x41b8d8
mov ecx, dword [ebx + 4]
jmp 0x41b8da
mov ecx, esi
mov dword [ebp - 0x230], ecx
test eax, eax
je 0x41b8e9
mov eax, dword [eax + 4]
jmp 0x41b8eb
mov eax, esi
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41b921
cmp eax, 0x104
lea ecx, [ebp - 0x20c]
cmovae ecx, esi
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x224]
push 0x34
push esi
mov dword [ebp - 0x248], ecx
mov eax, dword [ecx + 8]
add eax, ecx
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x27c]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x10
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0041b5c0
add esp, 0x24
xor edx, edx
mov ecx, edi
mov esi, eax
call fcn.0041e9c1
xor edx, edx
mov ecx, ebx
call fcn.0041e9c1
mov ecx, dword [ebp - 0x210]
xor edx, edx
call fcn.0041e9c1
test esi, esi
jne 0x41b86f
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x274], esi
jne 0x41b87b
mov ecx, dword [0x42d654]
test ecx, ecx
je 0x41b7b4
xor eax, eax
push eax
push eax
push dword [ebp - 0x234]
push str.CreateProcessA
push str.Broker_ALLOWED
call ecx
add esp, 0x14
jmp 0x41b7b4