Function at 0x42dc80
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 [0x448010]
mov ebx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x10]
xor eax, ebp
mov dword [esp + 0x288], eax
call fcn.00437a30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
cmp byte [eax + 4], 0
je 0x42dcdd
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 0x42dd0f
mov eax, dword [0x448844]
test eax, eax
je 0x42dcfc
push 2
push 1
push dword [ebp + 0xc]
push str.CreateProcessA
push str.BLOCKED
call eax
add esp, 0x14
call fcn.00437a30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
xor esi, esi
cmp dword [eax], 2
jge 0x42dd29
mov ecx, dword [esp + 0x288]
xor ecx, ebp
call fcn.0043c380
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.00432110
add esp, 0xc
test al, al
jne 0x42dd52
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42dd0f
call fcn.00431fa0
test al, al
je 0x42dd46
mov eax, dword [0x44967c]
test eax, eax
mov dword [esp], eax
je 0x42dd46
test edi, edi
mov eax, 0
je 0x42dd7d
push edi
call fcn.004327f0
add esp, 4
test eax, eax
je 0x42dd46
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov edi, 0
test eax, eax
je 0x42dda0
push eax
call fcn.004327f0
add esp, 4
mov edi, eax
test eax, eax
je 0x42df9e
test ebx, ebx
mov eax, 0
mov dword [esp + 8], 0
je 0x42ddc2
push ebx
call fcn.004327f0
add esp, 4
test eax, eax
je 0x42e025
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x42ddd1
mov ecx, dword [ecx + 4]
mov dword [esp + 8], ecx
xor ecx, ecx
test edi, edi
mov edx, 0
je 0x42dddf
mov edx, dword [edi + 4]
test eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edi
je 0x42ddee
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.00434c40
test eax, eax
je 0x42dfa9
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.004209a0
mov dword [esp], edi
mov ecx, edi
push 1
push 0
push eax
push dword [esp + 0x48]
push 0
call fcn.00420a60
mov edi, 4
test al, al
je 0x42dfae
mov eax, dword [esp + 8]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
call fcn.004209a0
mov ecx, dword [esp]
push 1
push 0
push eax
push dword [esp + 0x44]
push 1
call fcn.00420a60
mov edi, 4
test al, al
je 0x42dfae
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
call fcn.004209a0
mov ecx, dword [esp]
push 1
push 0
push eax
push dword [esp + 0x40]
push 2
call fcn.00420a60
mov edi, 4
test al, al
je 0x42dfae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
call fcn.004209a0
mov ecx, dword [esp]
push 1
push 0
push eax
push dword [esp + 0x3c]
push 3
call fcn.00420a60
mov edi, 4
test al, al
je 0x42dfae
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.00420a60
mov edi, 4
test al, al
je 0x42dfae
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
push dword [esp + 4]
call fcn.00434d50
mov ebx, eax
cmp eax, 0xa
je 0x42df9a
mov edi, dword [esp]
lea ecx, [esp + 0x28]
mov eax, dword [edi + 0x74]
add eax, edi
push eax
call fcn.00420bc0
mov byte [esp + 8], al
lea ecx, [esp + 0x20]
push edi
call fcn.00434d10
cmp byte [esp + 8], 0
mov edi, 2
je 0x42dfae
mov edi, ebx
jmp 0x42dfae
push 0
push dword [esp + 8]
jmp 0x42e036
mov edi, 4
mov eax, dword [esp + 4]
push 0
push eax
call fcn.00432890
add esp, 8
push 0
push dword [esp + 0x1c]
call fcn.00432890
add esp, 8
push 0
push dword [esp + 0x18]
call fcn.00432890
add esp, 8
test edi, edi
jne 0x42dd46
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [esp + 0x48], 0
jne 0x42dd0f
mov eax, dword [0x448844]
mov esi, 1
test eax, eax
je 0x42dd0f
push 0
push 0
push dword [ebp + 0xc]
push str.CreateProcessA
push str.Broker_ALLOWED
call eax
add esp, 0x14
jmp 0x42dd0f
push 0
push dword [esp + 8]
call fcn.00432890
add esp, 8
push 0
push edi
call fcn.00432890
add esp, 8
jmp 0x42dd46