Function at 0x427680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b14d0
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4e706c]
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 [0x4e7ef0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x268], xmm0
jne 0x427776
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4276e3
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x50b
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 0x42776c
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427762
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281b9
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov eax, 1
jmp 0x42819d
push 0x4e7c70
lea ecx, [ebp - 0x248]
call fcn.0040beb0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x238], 0
jne 0x427847
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4277b4
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x511
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 0x42783d
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427833
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281be
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov esi, 1
jmp 0x428190
mov ecx, 0x4e7ee0
call fcn.00425030
test al, al
jne 0x42785f
mov esi, 3
jmp 0x428190
lea ecx, [ebp - 0x248]
call fcn.00425030
test al, al
jne 0x427878
mov esi, 4
jmp 0x428190
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x427971
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4278c2
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x525
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 0x427967
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42795d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c3
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov esi, 5
jmp 0x428190
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.00425030
test al, al
jne 0x4279b2
mov esi, 6
jmp 0x428137
call fcn.004254e0
test al, al
jne 0x4279c5
mov esi, 7
jmp 0x428137
lea edx, [ebp - 0x268]
mov ecx, 0x4e7ee0
call fcn.00424ed0
test al, al
je 0x427caa
cmp dword [0x4e7ef4], 8
lea edi, [ebp - 0x248]
mov eax, 0x4e7ee0
cmovae eax, dword [0x4e7ee0]
cmp dword [ebp - 0x234], 8
cmovae edi, dword [ebp - 0x248]
movzx eax, word [eax]
push eax
call fcn.0048dd00
movzx ecx, word [edi]
add esp, 4
mov si, ax
push ecx
call fcn.0048dd00
add esp, 4
cmp si, ax
jne 0x427aed
cmp dword [ebp - 0x264], 0
ja 0x427d51
jb 0x427a47
cmp dword [ebp - 0x268], 0x3e800000
jae 0x427d51
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427a61
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x53f
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 0x427bf6
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
jmp 0x427bec
cmp dword [ebp - 0x264], 0
ja 0x427b5c
jb 0x427b04
cmp dword [ebp - 0x268], 0x1f400000
jae 0x427b5c
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427b1e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x548
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_not_enough_disk_space_available__data_
jmp 0x427a9a
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x248]
call fcn.00424ed0
test al, al
je 0x427c00
cmp dword [ebp - 0x264], 0
ja 0x427d51
jb 0x427b94
cmp dword [ebp - 0x268], 0x1f400000
jae 0x427d51
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427bae
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x550
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_not_enough_disk_space_available__program_
jmp 0x427a9a
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov esi, 2
jmp 0x428137
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427c1a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x556
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 0x427d51
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427d47
jmp 0x4281c8
lea ecx, [ebp - 0x260]
call fcn.0045ef40
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427cc4
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x55c
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 0x427d51
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
add esp, 8
call fcn.00425780
test al, al
jne 0x427d64
mov esi, 8
jmp 0x428137
call fcn.00425f40
test al, al
je 0x427d77
mov esi, 0xb
jmp 0x428137
call fcn.00423820
test al, al
je 0x427fc9
lea ecx, [ebp - 0x280]
call fcn.0045ef40
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427d9e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x56e
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Running_setup_from:
mov ecx, eax
call fcn.0040f730
push 0x4e7c58
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 0x427e4e
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
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 0x427eaf
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427ea5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
add esp, 8
push 0x4e7c58
lea ecx, [ebp - 0x260]
call fcn.0040beb0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xc
call fcn.0042f860
mov byte [ebp - 4], 4
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427f14
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427f0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
add esp, 8
test bl, bl
je 0x427fc9
lea ecx, [ebp - 0x280]
call fcn.0045ef40
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x427f36
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x571
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 0x427fbf
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427fb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov esi, 9
jmp 0x428137
call fcn.00426700
test al, al
je 0x42807d
lea ecx, [ebp - 0x280]
call fcn.0045ef40
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427ff0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x579
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 0x42807d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428073
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
add esp, 8
call fcn.00427100
test al, al
je 0x428092
mov byte [0x4ec9ee], 1
jmp 0x428135
lea ecx, [ebp - 0x280]
call fcn.0045ef40
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4280ac
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
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, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x585
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 0x428135
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42812b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x428173
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428169
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c8
push edx
push ecx
call fcn.0046ec30
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.0046e70f
mov esp, ebp
pop ebp
ret
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
int3