Function at 0x42bd90
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bda75
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x50cf80], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x278], xmm0
jne 0x42be99
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42be06
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x510
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error:_empty_data_directory_path
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x258]
add esp, 4
cmp ecx, 7
jbe 0x42be8f
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42be85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c98a
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov eax, 1
jmp 0x42c96c
push 0x50cd00
lea ecx, [ebp - 0x250]
call fcn.0040d620
mov dword [ebp - 4], 1
cmp dword [ebp - 0x240], 0
jne 0x42bf6a
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42bed7
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x516
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error:_empty_program_directory_path
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x258]
add esp, 4
cmp ecx, 7
jbe 0x42bf60
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bf56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c98f
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov esi, 1
jmp 0x42c92e
mov ecx, 0x50cf70
call fcn.004297d0
test al, al
jne 0x42bf82
mov esi, 3
jmp 0x42c92e
lea ecx, [ebp - 0x250]
call fcn.004297d0
test al, al
jne 0x42bf9b
mov esi, 4
jmp 0x42c92e
push 0x204
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00493220
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42c094
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42bfe5
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x52a
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error
mov ecx, eax
call fcn.00411050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041b590
mov edx, str._calling_GetSystemDirectory
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x258]
add esp, 4
cmp ecx, 7
jbe 0x42c08a
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c080
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c994
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov esi, 5
jmp 0x42c92e
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c0c0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0040df90
push str.drivers
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 4
call fcn.0040d6d0
lea ecx, [ebp - 0x238]
call fcn.004297d0
test al, al
jne 0x42c10f
mov esi, 6
jmp 0x42c8d1
call fcn.00429ca0
test al, al
jne 0x42c122
mov esi, 7
jmp 0x42c8d1
lea edx, [ebp - 0x278]
mov ecx, 0x50cf70
call fcn.00429670
test al, al
je 0x42c407
cmp dword [0x50cf84], 7
lea eax, [ebp - 0x250]
mov ecx, 0x50cf70
cmova ecx, dword [0x50cf70]
cmp dword [ebp - 0x23c], 7
cmova eax, dword [ebp - 0x250]
movzx edi, word [eax]
movzx eax, word [ecx]
push eax
call fcn.0049bbe5
add esp, 4
mov si, ax
push edi
call fcn.0049bbe5
add esp, 4
cmp si, ax
jne 0x42c24a
cmp dword [ebp - 0x274], 0
ja 0x42c4ae
jb 0x42c1a4
cmp dword [ebp - 0x278], 0x3e800000
jae 0x42c4ae
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c1be
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x544
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_not_enough_disk_space_available
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x258]
add esp, 4
cmp ecx, 7
jbe 0x42c353
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c349
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
jmp 0x42c349
cmp dword [ebp - 0x274], 0
ja 0x42c2b9
jb 0x42c261
cmp dword [ebp - 0x278], 0x1f400000
jae 0x42c2b9
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c27b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x54d
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_not_enough_disk_space_available__data_
jmp 0x42c1f7
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x250]
call fcn.00429670
test al, al
je 0x42c35d
cmp dword [ebp - 0x274], 0
ja 0x42c4ae
jb 0x42c2f1
cmp dword [ebp - 0x278], 0x1f400000
jae 0x42c4ae
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c30b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x555
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_not_enough_disk_space_available__program_
jmp 0x42c1f7
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov esi, 2
jmp 0x42c8d1
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c377
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x55b
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_determining_available_disk_space__program_
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x258]
cmp ecx, 7
jbe 0x42c4ae
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c4a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42c4a4
jmp 0x42c999
lea ecx, [ebp - 0x26c]
call fcn.00467cf0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c421
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x561
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_determining_available_disk_space__data_
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x258]
cmp ecx, 7
jbe 0x42c4ae
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c4a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
call fcn.00429f40
test al, al
jne 0x42c4c1
mov esi, 8
jmp 0x42c8d1
call fcn.0042a720
test al, al
je 0x42c4d4
mov esi, 0xb
jmp 0x42c8d1
cmp dword [0x50cdd4], 7
mov eax, 0x50cdc0
push str.MBAM_C
cmova eax, dword [0x50cdc0]
push eax
call fcn.0049adec
add esp, 8
test eax, eax
jne 0x42c763
lea ecx, [ebp - 0x290]
call fcn.00467cf0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c517
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x573
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Running_setup_from:
mov ecx, eax
call fcn.00411050
push 0x50cce8
lea ecx, [ebp - 0x26c]
mov esi, eax
call fcn.0040d620
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x26c]
cmp dword [ebp - 0x258], 7
mov ecx, esi
push dword [ebp - 0x25c]
cmova edx, dword [ebp - 0x26c]
call fcn.00412550
add esp, 4
push eax
call fcn.004113d0
mov byte [ebp - 4], 0xa
add esp, 4
mov ecx, dword [ebp - 0x258]
cmp ecx, 7
jbe 0x42c5de
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c5d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
cmp ecx, 7
jbe 0x42c63f
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c635
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
push 0x50cce8
lea ecx, [ebp - 0x26c]
call fcn.0040d620
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xc
call fcn.00434da0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x258]
mov byte [ebp - 0x251], al
cmp ecx, 7
jbe 0x42c6ae
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c69e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
mov al, byte [ebp - 0x251]
add esp, 8
test al, al
je 0x42c763
lea ecx, [ebp - 0x290]
call fcn.00467cf0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 7
mov esi, dword [eax + 0x10]
jbe 0x42c6d0
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x576
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error___Running_setup_from_network_path
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x27c]
add esp, 4
cmp ecx, 7
jbe 0x42c759
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c74f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov esi, 9
jmp 0x42c8d1
call fcn.0042aec0
test al, al
je 0x42c817
lea ecx, [ebp - 0x290]
call fcn.00467cf0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c78a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x57e
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Warning___it_seems_like_a_Windows_Update_reboot_is_pending
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x27c]
cmp ecx, 7
jbe 0x42c817
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c80d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
call fcn.0042b830
test al, al
je 0x42c82c
mov byte [0x510937], 1
jmp 0x42c8cf
lea ecx, [ebp - 0x290]
call fcn.00467cf0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c846
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x58a
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Did_not_find_any_IFEO_registry_keys
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x27c]
add esp, 4
cmp ecx, 7
jbe 0x42c8cf
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c8c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x42c911
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c907
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x42c96a
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c960
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c999
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00490c46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
int3