Function at 0x4092d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2a0
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [esp + 0x298], eax
call fcn.00429670
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 0x409344
mov esi, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebp + 8]
call dword [section..00cfg]
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x28]
push edi
push ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call ecx
test eax, eax
je 0x409344
xor esi, esi
inc esi
jmp 0x409371
push ebx
push str.CreateProcessA
call fcn.004197d0
add esp, 8
call fcn.00429670
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 0x40938b
mov ecx, dword [esp + 0x298]
xor ecx, ebp
call fcn.0040a740
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 edi, eax
push 1
push 0x10
push dword [ebp + 0x30]
call fcn.00418390
add esp, 0xc
test al, al
jne 0x4093af
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x409371
call fcn.004296b0
test al, al
je 0x4093a6
mov eax, dword [0x43831c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4093a6
mov dword [esp + 0x14], 0
mov eax, 0
cmp dword [ebp + 0x10], 0
je 0x4093e7
push dword [ebp + 0x10]
call fcn.004298c0
add esp, 4
test eax, eax
je 0x4093a6
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x409408
push ebx
call fcn.004298c0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov eax, dword [esp + 0x18]
je 0x409630
xor ebx, ebx
mov ecx, 0
mov edx, dword [ebp + 0x28]
test edx, edx
je 0x40942d
push edx
call fcn.004298c0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x4096be
test eax, eax
je 0x409434
mov ebx, dword [eax + 4]
xor edx, edx
mov eax, 0
cmp dword [esp + 0x14], 0
je 0x409449
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x409454
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
lea ebx, [esp + 0x90]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
xor ecx, ecx
cmp eax, 0x103
cmovae ebx, ecx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
add eax, dword [eax + 8]
mov dword [ecx + 4], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x80], 0
call fcn.00418780
mov dword [esp + 0x10], eax
test eax, eax
je 0x409638
mov ebx, dword [esp + 0x10]
mov dword [ebx], 0xd
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x3c], 5
mov dword [ebx + 0x44], 0x88
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
call fcn.004187d0
mov ecx, ebx
push 1
xor edx, edx
push edx
push eax
lea eax, [esp + 0x58]
push dword [eax]
push edx
call fcn.00418ea0
mov dword [esp + 0xc], 4
test al, al
je 0x409640
lea ebx, [esp + 0x48]
mov eax, dword [esp + 0x28]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004187d0
xor edx, edx
inc edx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
push dword [ebx]
push edx
call fcn.00418ea0
mov dword [esp + 0xc], 4
test al, al
je 0x409640
lea ebx, [esp + 0x44]
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004187d0
mov ecx, dword [esp + 0x10]
push 1
push 0
push eax
push dword [ebx]
push 2
call fcn.00418ea0
mov dword [esp + 0xc], 4
test al, al
je 0x409640
lea ebx, [esp + 0x40]
mov eax, dword [esp + 0x20]
mov dword [ebx], eax
mov ecx, ebx
call fcn.004187d0
mov ecx, dword [esp + 0x10]
push 1
push 0
push eax
push dword [ebx]
push 3
call fcn.00418ea0
mov dword [esp + 0xc], 4
test al, al
je 0x409640
mov eax, 0x10
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x10]
push 6
push 1
push eax
push edx
push 4
call fcn.00418ea0
mov dword [esp + 0xc], 4
test al, al
je 0x409640
lea eax, [esp + 0x50]
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x14]
call fcn.00418930
mov dword [esp + 0xc], 0xa
mov dword [esp + 0x1c], eax
cmp eax, 0xa
je 0x409640
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x74]
add eax, ebx
lea ecx, [esp + 0x38]
push eax
call fcn.00419300
mov byte [esp + 0xc], al
lea ecx, [esp + 0x30]
push ebx
call fcn.00418b00
cmp byte [esp + 0xc], 0
mov eax, 2
cmovne eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x409640
push 0
push eax
jmp 0x4096cf
mov dword [esp + 0xc], 4
mov eax, dword [esp + 0x18]
xor ebx, ebx
push ebx
push eax
call fcn.00418700
add esp, 8
push ebx
push dword [esp + 0x18]
call fcn.00418700
add esp, 8
push ebx
push dword [esp + 0x30]
call fcn.00418700
add esp, 8
cmp dword [esp + 0xc], 0
jne 0x4093a6
push dword [esp + 0x58]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [esp + 0x58], 0
jne 0x409371
mov ecx, dword [0x4374d0]
xor esi, esi
inc esi
test ecx, ecx
je 0x409371
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 0x409371
xor ebx, ebx
push ebx
push eax
call fcn.00418700
add esp, 8
push ebx
push dword [esp + 0x18]
call fcn.00418700
add esp, 8
jmp 0x4093a6