Function at 0x41ed90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x290
mov eax, dword [0x43500c]
mov ebx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x10]
xor eax, ebp
mov dword [esp + 0x288], eax
call fcn.00428b40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
cmp byte [eax + 4], 0
je 0x41eded
mov eax, dword [ebp + 8]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
call eax
mov esi, 1
test eax, eax
jne 0x41ee1f
mov eax, dword [0x4354c0]
test eax, eax
je 0x41ee0c
push 2
push 1
push dword [ebp + 0xc]
push str.CreateProcessA
push str.BLOCKED
call eax
add esp, 0x14
call fcn.00428b40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
xor esi, esi
cmp dword [eax], 2
jge 0x41ee39
mov ecx, dword [esp + 0x288]
xor ecx, ebp
call fcn.0042da80
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x1c], eax
push 1
push 0x10
push dword [ebp + 0x30]
call fcn.00423220
add esp, 0xc
test al, al
jne 0x41ee62
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41ee1f
call fcn.004230b0
test al, al
je 0x41ee56
mov eax, dword [0x436304]
test eax, eax
mov dword [esp], eax
je 0x41ee56
test edi, edi
mov eax, 0
je 0x41ee8d
push edi
call fcn.00423900
add esp, 4
test eax, eax
je 0x41ee56
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov edi, 0
test eax, eax
je 0x41eeb0
push eax
call fcn.00423900
add esp, 4
mov edi, eax
test eax, eax
je 0x41f0ae
test ebx, ebx
mov eax, 0
mov dword [esp + 8], 0
je 0x41eed2
push ebx
call fcn.00423900
add esp, 4
test eax, eax
je 0x41f135
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x41eee1
mov ecx, dword [ecx + 4]
mov dword [esp + 8], ecx
xor ecx, ecx
test edi, edi
mov edx, 0
je 0x41eeef
mov edx, dword [edi + 4]
test eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edi
je 0x41eefe
mov ecx, dword [eax + 4]
lea edi, [esp + 0x80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
xor ebx, ebx
lea ecx, [esp + 0x20]
xorps xmm0, xmm0
cmp eax, 0x103
mov eax, dword [esp]
cmovb ebx, edi
mov dword [esp + 0x20], eax
add eax, dword [eax + 8]
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x24], eax
call fcn.00425d50
test eax, eax
je 0x41f0b9
mov dword [eax], 0xd
mov dword [eax + 4], 0
mov dword [eax + 0x3c], 5
mov edi, eax
mov dword [eax + 0x44], 0x88
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
call fcn.00411a70
mov dword [esp], edi
mov ecx, edi
push 1
push 0
push eax
push dword [esp + 0x48]
push 0
call fcn.00411b30
mov edi, 4
test al, al
je 0x41f0be
mov eax, dword [esp + 8]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
call fcn.00411a70
mov ecx, dword [esp]
push 1
push 0
push eax
push dword [esp + 0x44]
push 1
call fcn.00411b30
mov edi, 4
test al, al
je 0x41f0be
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
call fcn.00411a70
mov ecx, dword [esp]
push 1
push 0
push eax
push dword [esp + 0x40]
push 2
call fcn.00411b30
mov edi, 4
test al, al
je 0x41f0be
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
call fcn.00411a70
mov ecx, dword [esp]
push 1
push 0
push eax
push dword [esp + 0x3c]
push 3
call fcn.00411b30
mov edi, 4
test al, al
je 0x41f0be
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp]
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], eax
push 6
push 1
push 0x10
push eax
push 4
call fcn.00411b30
mov edi, 4
test al, al
je 0x41f0be
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
push dword [esp + 4]
call fcn.00425e60
mov ebx, eax
cmp eax, 0xa
je 0x41f0aa
mov edi, dword [esp]
lea ecx, [esp + 0x28]
mov eax, dword [edi + 0x74]
add eax, edi
push eax
call fcn.00411c90
mov byte [esp + 8], al
lea ecx, [esp + 0x20]
push edi
call fcn.00425e20
cmp byte [esp + 8], 0
mov edi, 2
je 0x41f0be
mov edi, ebx
jmp 0x41f0be
push 0
push dword [esp + 8]
jmp 0x41f146
mov edi, 4
mov eax, dword [esp + 4]
push 0
push eax
call fcn.004239a0
add esp, 8
push 0
push dword [esp + 0x1c]
call fcn.004239a0
add esp, 8
push 0
push dword [esp + 0x18]
call fcn.004239a0
add esp, 8
test edi, edi
jne 0x41ee56
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [esp + 0x48], 0
jne 0x41ee1f
mov eax, dword [0x4354c0]
mov esi, 1
test eax, eax
je 0x41ee1f
push 0
push 0
push dword [ebp + 0xc]
push str.CreateProcessA
push str.Broker_ALLOWED
call eax
add esp, 0x14
jmp 0x41ee1f
push 0
push dword [esp + 8]
call fcn.004239a0
add esp, 8
push 0
push edi
call fcn.004239a0
add esp, 8
jmp 0x41ee56