Function at 0x42beb0
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 0x4bd1c5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x50b080]
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 [0x50bf80], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x278], xmm0
jne 0x42bfb9
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42bf26
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x513
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 0x42bfaf
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bfa5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42caaa
push ecx
push edx
call fcn.004906cd
add esp, 8
mov eax, 1
jmp 0x42ca8c
push 0x50bd00
lea ecx, [ebp - 0x250]
call fcn.0040d620
mov dword [ebp - 4], 1
cmp dword [ebp - 0x240], 0
jne 0x42c08a
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42bff7
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x519
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 0x42c080
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c076
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42caaf
push ecx
push edx
call fcn.004906cd
add esp, 8
mov esi, 1
jmp 0x42ca4e
mov ecx, 0x50bf70
call fcn.004298f0
test al, al
jne 0x42c0a2
mov esi, 3
jmp 0x42ca4e
lea ecx, [ebp - 0x250]
call fcn.004298f0
test al, al
jne 0x42c0bb
mov esi, 4
jmp 0x42ca4e
push 0x204
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00492970
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42c1b4
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c105
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x52d
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.0041b670
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 0x42c1aa
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c1a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab4
push ecx
push edx
call fcn.004906cd
add esp, 8
mov esi, 5
jmp 0x42ca4e
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 0x42c1e0
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.004298f0
test al, al
jne 0x42c22f
mov esi, 6
jmp 0x42c9f1
call fcn.00429dc0
test al, al
jne 0x42c242
mov esi, 7
jmp 0x42c9f1
lea edx, [ebp - 0x278]
mov ecx, 0x50bf70
call fcn.00429790
test al, al
je 0x42c527
cmp dword [0x50bf84], 7
lea eax, [ebp - 0x250]
mov ecx, 0x50bf70
cmova ecx, dword [0x50bf70]
cmp dword [ebp - 0x23c], 7
cmova eax, dword [ebp - 0x250]
movzx edi, word [eax]
movzx eax, word [ecx]
push eax
call fcn.0049b335
add esp, 4
mov si, ax
push edi
call fcn.0049b335
add esp, 4
cmp si, ax
jne 0x42c36a
cmp dword [ebp - 0x274], 0
ja 0x42c5ce
jb 0x42c2c4
cmp dword [ebp - 0x278], 0x3e800000
jae 0x42c5ce
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c2de
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x547
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 0x42c473
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c469
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
jmp 0x42c469
cmp dword [ebp - 0x274], 0
ja 0x42c3d9
jb 0x42c381
cmp dword [ebp - 0x278], 0x1f400000
jae 0x42c3d9
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c39b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x550
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_not_enough_disk_space_available__data_
jmp 0x42c317
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x250]
call fcn.00429790
test al, al
je 0x42c47d
cmp dword [ebp - 0x274], 0
ja 0x42c5ce
jb 0x42c411
cmp dword [ebp - 0x278], 0x1f400000
jae 0x42c5ce
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c42b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x558
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_not_enough_disk_space_available__program_
jmp 0x42c317
push ecx
push edx
call fcn.004906cd
add esp, 8
mov esi, 2
jmp 0x42c9f1
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c497
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x55e
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 0x42c5ce
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c5c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42c5c4
jmp 0x42cab9
lea ecx, [ebp - 0x26c]
call fcn.00467d30
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c541
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x564
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 0x42c5ce
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c5c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
add esp, 8
call fcn.0042a060
test al, al
jne 0x42c5e1
mov esi, 8
jmp 0x42c9f1
call fcn.0042a840
test al, al
je 0x42c5f4
mov esi, 0xb
jmp 0x42c9f1
cmp dword [0x50bdd4], 7
mov eax, 0x50bdc0
push str.MBAM_C
cmova eax, dword [0x50bdc0]
push eax
call fcn.0049a53c
add esp, 8
test eax, eax
jne 0x42c883
lea ecx, [ebp - 0x290]
call fcn.00467d30
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c637
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x576
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Running_setup_from:
mov ecx, eax
call fcn.00411050
push 0x50bce8
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 0x42c6fe
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c6f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
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 0x42c75f
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
add esp, 8
push 0x50bce8
lea ecx, [ebp - 0x26c]
call fcn.0040d620
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xc
call fcn.00434f80
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x258]
mov byte [ebp - 0x251], al
cmp ecx, 7
jbe 0x42c7ce
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c7be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
mov al, byte [ebp - 0x251]
add esp, 8
test al, al
je 0x42c883
lea ecx, [ebp - 0x290]
call fcn.00467d30
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 7
mov esi, dword [eax + 0x10]
jbe 0x42c7f0
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x579
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 0x42c879
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c86f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
add esp, 8
mov esi, 9
jmp 0x42c9f1
call fcn.0042afe0
test al, al
je 0x42c937
lea ecx, [ebp - 0x290]
call fcn.00467d30
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c8aa
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x581
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 0x42c937
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c92d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
add esp, 8
call fcn.0042b950
test al, al
je 0x42c94c
mov byte [0x50f93a], 1
jmp 0x42c9ef
lea ecx, [ebp - 0x290]
call fcn.00467d30
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42c966
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x58d
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 0x42c9ef
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c9e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x42ca31
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ca27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
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 0x42ca8a
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42ca80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cab9
push ecx
push edx
call fcn.004906cd
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.00490396
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004958ff
call fcn.004958ff
call fcn.004958ff
call fcn.004958ff
int3