Function at 0x42cef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad320
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4e006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4e0ec8], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x268], xmm0
jne 0x42cfe6
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42cf53
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x4c9
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error:_empty_data_directory_path
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x42cfdc
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cfd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da29
push edx
push ecx
call fcn.0046a609
add esp, 8
mov eax, 1
jmp 0x42da0d
push 0x4e0c30
lea ecx, [ebp - 0x248]
call fcn.004154d0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x238], 0
jne 0x42d0b7
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d024
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x4cf
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error:_empty_program_directory_path
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x42d0ad
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d0a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da2e
push edx
push ecx
call fcn.0046a609
add esp, 8
mov esi, 1
jmp 0x42da00
mov ecx, 0x4e0eb8
call fcn.0042a880
test al, al
jne 0x42d0cf
mov esi, 3
jmp 0x42da00
lea ecx, [ebp - 0x248]
call fcn.0042a880
test al, al
jne 0x42d0e8
mov esi, 4
jmp 0x42da00
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42d1e1
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d132
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x4e3
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error
mov ecx, eax
call fcn.0040be10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041e4e0
mov edx, str._calling_GetSystemDirectory
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x42d1d7
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da33
push edx
push ecx
call fcn.0046a609
add esp, 8
mov esi, 5
jmp 0x42da00
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404ed0
push 8
push str.drivers
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.00415840
lea ecx, [ebp - 0x230]
call fcn.0042a880
test al, al
jne 0x42d222
mov esi, 6
jmp 0x42d9a7
call fcn.0042ad30
test al, al
jne 0x42d235
mov esi, 7
jmp 0x42d9a7
lea edx, [ebp - 0x268]
mov ecx, 0x4e0eb8
call fcn.0042a720
test al, al
je 0x42d51a
cmp dword [0x4e0ecc], 8
lea edi, [ebp - 0x248]
mov eax, 0x4e0eb8
cmovae eax, dword [0x4e0eb8]
cmp dword [ebp - 0x234], 8
cmovae edi, dword [ebp - 0x248]
movzx eax, word [eax]
push eax
call fcn.0048f126
movzx ecx, word [edi]
add esp, 4
mov si, ax
push ecx
call fcn.0048f126
add esp, 4
cmp si, ax
jne 0x42d35d
cmp dword [ebp - 0x264], 0
ja 0x42d5c1
jb 0x42d2b7
cmp dword [ebp - 0x268], 0x3e800000
jae 0x42d5c1
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d2d1
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x4fd
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error_not_enough_disk_space_available
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x42d466
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d45c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
jmp 0x42d45c
cmp dword [ebp - 0x264], 0
ja 0x42d3cc
jb 0x42d374
cmp dword [ebp - 0x268], 0x1f400000
jae 0x42d3cc
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d38e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x506
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error_not_enough_disk_space_available__data_
jmp 0x42d30a
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x248]
call fcn.0042a720
test al, al
je 0x42d470
cmp dword [ebp - 0x264], 0
ja 0x42d5c1
jb 0x42d404
cmp dword [ebp - 0x268], 0x1f400000
jae 0x42d5c1
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d41e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x50e
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error_not_enough_disk_space_available__program_
jmp 0x42d30a
push edx
push ecx
call fcn.0046a609
add esp, 8
mov esi, 2
jmp 0x42d9a7
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d48a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x514
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error_determining_available_disk_space__program_
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x42d5c1
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d5b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42d5b7
jmp 0x42da38
lea ecx, [ebp - 0x260]
call fcn.0045b1b0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d534
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x51a
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error_determining_available_disk_space__data_
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x42d5c1
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d5b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
call fcn.0042afd0
test al, al
jne 0x42d5d4
mov esi, 8
jmp 0x42d9a7
call fcn.0042b780
test al, al
je 0x42d5e7
mov esi, 0xb
jmp 0x42d9a7
call fcn.00429080
test al, al
je 0x42d839
lea ecx, [ebp - 0x280]
call fcn.0045b1b0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d60e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x52c
mov ecx, eax
call fcn.00408660
mov edx, str.:_Running_setup_from:
mov ecx, eax
call fcn.0040be10
push 0x4e0c18
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.004154d0
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0040bdf0
push eax
call fcn.0040c180
mov byte [ebp - 4], 0xa
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x42d6be
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d6b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x42d71f
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
push 0x4e0c18
lea ecx, [ebp - 0x260]
call fcn.004154d0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xc
call fcn.00434b70
mov byte [ebp - 4], 4
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x42d784
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d77a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
test bl, bl
je 0x42d839
lea ecx, [ebp - 0x280]
call fcn.0045b1b0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x42d7a6
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x52f
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error___Running_setup_from_network_path
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x42d82f
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d825
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
mov esi, 9
jmp 0x42d9a7
call fcn.0042bf40
test al, al
je 0x42d8ed
lea ecx, [ebp - 0x280]
call fcn.0045b1b0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d860
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x537
mov ecx, eax
call fcn.00408660
mov edx, str.:_Error___it_seems_like_a_Windows_Update_reboot_is_pending
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x42d8ed
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d8e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
call fcn.0042c940
test al, al
je 0x42d902
mov byte [0x4e5a20], 1
jmp 0x42d9a5
lea ecx, [ebp - 0x280]
call fcn.0045b1b0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42d91c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e45b8
call fcn.0040d910
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040be10
mov edx, str.:.
mov ecx, eax
call fcn.0040be10
push 0x543
mov ecx, eax
call fcn.00408660
mov edx, str.:_Did_not_find_any_IFEO_registry_keys
mov ecx, eax
call fcn.0040be10
push eax
call fcn.0040c180
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x42d9a5
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d99b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42d9e3
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d9d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42da38
push edx
push ecx
call fcn.0046a609
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x248]
call fcn.00405100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
int3