Function at 0x427640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0420
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4e506c]
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 [0x4e5ef0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x268], xmm0
jne 0x427736
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4276a3
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x4f9
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error:_empty_data_directory_path
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x42772c
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428179
push edx
push ecx
call fcn.0046db96
add esp, 8
mov eax, 1
jmp 0x42815d
push 0x4e5c70
lea ecx, [ebp - 0x248]
call fcn.0040beb0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x238], 0
jne 0x427807
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427774
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x4ff
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error:_empty_program_directory_path
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x4277fd
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4277f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42817e
push edx
push ecx
call fcn.0046db96
add esp, 8
mov esi, 1
jmp 0x428150
mov ecx, 0x4e5ee0
call fcn.00425000
test al, al
jne 0x42781f
mov esi, 3
jmp 0x428150
lea ecx, [ebp - 0x248]
call fcn.00425000
test al, al
jne 0x427838
mov esi, 4
jmp 0x428150
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00485ce0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x427931
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427882
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x513
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error
mov ecx, eax
call fcn.0040f730
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004186b0
mov edx, str._calling_GetSystemDirectory
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x427927
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42791d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428183
push edx
push ecx
call fcn.0046db96
add esp, 8
mov esi, 5
jmp 0x428150
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404c70
push 8
push str.drivers
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.0040c260
lea ecx, [ebp - 0x230]
call fcn.00425000
test al, al
jne 0x427972
mov esi, 6
jmp 0x4280f7
call fcn.004254b0
test al, al
jne 0x427985
mov esi, 7
jmp 0x4280f7
lea edx, [ebp - 0x268]
mov ecx, 0x4e5ee0
call fcn.00424ea0
test al, al
je 0x427c6a
cmp dword [0x4e5ef4], 8
lea edi, [ebp - 0x248]
mov eax, 0x4e5ee0
cmovae eax, dword [0x4e5ee0]
cmp dword [ebp - 0x234], 8
cmovae edi, dword [ebp - 0x248]
movzx eax, word [eax]
push eax
call fcn.0048cc70
movzx ecx, word [edi]
add esp, 4
mov si, ax
push ecx
call fcn.0048cc70
add esp, 4
cmp si, ax
jne 0x427aad
cmp dword [ebp - 0x264], 0
ja 0x427d11
jb 0x427a07
cmp dword [ebp - 0x268], 0x3e800000
jae 0x427d11
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427a21
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x52d
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_not_enough_disk_space_available
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x427bb6
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
jmp 0x427bac
cmp dword [ebp - 0x264], 0
ja 0x427b1c
jb 0x427ac4
cmp dword [ebp - 0x268], 0x1f400000
jae 0x427b1c
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427ade
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x536
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_not_enough_disk_space_available__data_
jmp 0x427a5a
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x248]
call fcn.00424ea0
test al, al
je 0x427bc0
cmp dword [ebp - 0x264], 0
ja 0x427d11
jb 0x427b54
cmp dword [ebp - 0x268], 0x1f400000
jae 0x427d11
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427b6e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x53e
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_not_enough_disk_space_available__program_
jmp 0x427a5a
push edx
push ecx
call fcn.0046db96
add esp, 8
mov esi, 2
jmp 0x4280f7
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427bda
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x544
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_determining_available_disk_space__program_
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427d11
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427d07
jmp 0x428188
lea ecx, [ebp - 0x260]
call fcn.0045deb0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427c84
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x54a
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_determining_available_disk_space__data_
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427d11
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
add esp, 8
call fcn.00425750
test al, al
jne 0x427d24
mov esi, 8
jmp 0x4280f7
call fcn.00425f00
test al, al
je 0x427d37
mov esi, 0xb
jmp 0x4280f7
call fcn.004237f0
test al, al
je 0x427f89
lea ecx, [ebp - 0x280]
call fcn.0045deb0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427d5e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x55c
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Running_setup_from:
mov ecx, eax
call fcn.0040f730
push 0x4e5c58
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.0040beb0
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0040f710
push eax
call fcn.0040faa0
mov byte [ebp - 4], 0xa
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427e0e
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
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 0x427e6f
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
add esp, 8
push 0x4e5c58
lea ecx, [ebp - 0x260]
call fcn.0040beb0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xc
call fcn.0042f820
mov byte [ebp - 4], 4
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427ed4
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427eca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
add esp, 8
test bl, bl
je 0x427f89
lea ecx, [ebp - 0x280]
call fcn.0045deb0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x427ef6
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x55f
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error___Running_setup_from_network_path
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x427f7f
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427f75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
add esp, 8
mov esi, 9
jmp 0x4280f7
call fcn.004266c0
test al, al
je 0x42803d
lea ecx, [ebp - 0x280]
call fcn.0045deb0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427fb0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x567
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Warning___it_seems_like_a_Windows_Update_reboot_is_pending
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x42803d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428033
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
add esp, 8
call fcn.004270c0
test al, al
je 0x428052
mov byte [0x4ea9ee], 1
jmp 0x4280f5
lea ecx, [ebp - 0x280]
call fcn.0045deb0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42806c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0x573
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Did_not_find_any_IFEO_registry_keys
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x4280f5
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4280eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x428133
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428129
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428188
push edx
push ecx
call fcn.0046db96
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.00404cc0
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.0046d675
mov esp, ebp
pop ebp
ret
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
call fcn.00488aec
int3