Function at 0x427a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b19d0
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 0x427b66
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427ad3
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x510
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error:_empty_data_directory_path
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x427b5c
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427b52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285a9
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov eax, 1
jmp 0x42858d
push 0x4e7c70
lea ecx, [ebp - 0x248]
call fcn.0040bf20
mov dword [ebp - 4], 1
cmp dword [ebp - 0x238], 0
jne 0x427c37
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427ba4
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x516
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error:_empty_program_directory_path
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x427c2d
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427c23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285ae
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov esi, 1
jmp 0x428580
mov ecx, 0x4e7ee0
call fcn.00425430
test al, al
jne 0x427c4f
mov esi, 3
jmp 0x428580
lea ecx, [ebp - 0x248]
call fcn.00425430
test al, al
jne 0x427c68
mov esi, 4
jmp 0x428580
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00487250
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x427d61
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427cb2
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x52a
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error
mov ecx, eax
call fcn.0040f7a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00418700
mov edx, str._calling_GetSystemDirectory
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x427d57
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b3
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov esi, 5
jmp 0x428580
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404ce0
push 8
push str.drivers
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.0040c2d0
lea ecx, [ebp - 0x230]
call fcn.00425430
test al, al
jne 0x427da2
mov esi, 6
jmp 0x428527
call fcn.004258e0
test al, al
jne 0x427db5
mov esi, 7
jmp 0x428527
lea edx, [ebp - 0x268]
mov ecx, 0x4e7ee0
call fcn.004252d0
test al, al
je 0x42809a
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.0048e1e0
movzx ecx, word [edi]
add esp, 4
mov si, ax
push ecx
call fcn.0048e1e0
add esp, 4
cmp si, ax
jne 0x427edd
cmp dword [ebp - 0x264], 0
ja 0x428141
jb 0x427e37
cmp dword [ebp - 0x268], 0x3e800000
jae 0x428141
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427e51
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x544
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_not_enough_disk_space_available
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x427fe6
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427fdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
jmp 0x427fdc
cmp dword [ebp - 0x264], 0
ja 0x427f4c
jb 0x427ef4
cmp dword [ebp - 0x268], 0x1f400000
jae 0x427f4c
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427f0e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x54d
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_not_enough_disk_space_available__data_
jmp 0x427e8a
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x248]
call fcn.004252d0
test al, al
je 0x427ff0
cmp dword [ebp - 0x264], 0
ja 0x428141
jb 0x427f84
cmp dword [ebp - 0x268], 0x1f400000
jae 0x428141
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427f9e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x555
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_not_enough_disk_space_available__program_
jmp 0x427e8a
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov esi, 2
jmp 0x428527
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42800a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x55b
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_determining_available_disk_space__program_
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x428141
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428137
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428137
jmp 0x4285b8
lea ecx, [ebp - 0x260]
call fcn.0045f3e0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4280b4
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x561
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error_determining_available_disk_space__data_
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x428141
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428137
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
add esp, 8
call fcn.00425b80
test al, al
jne 0x428154
mov esi, 8
jmp 0x428527
call fcn.00426330
test al, al
je 0x428167
mov esi, 0xb
jmp 0x428527
call fcn.00423c20
test al, al
je 0x4283b9
lea ecx, [ebp - 0x280]
call fcn.0045f3e0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42818e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x573
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Running_setup_from:
mov ecx, eax
call fcn.0040f7a0
push 0x4e7c58
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.0040bf20
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0040f780
push eax
call fcn.0040fb10
mov byte [ebp - 4], 0xa
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x42823e
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428234
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
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 0x42829f
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428295
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
add esp, 8
push 0x4e7c58
lea ecx, [ebp - 0x260]
call fcn.0040bf20
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xc
call fcn.0042fc50
mov byte [ebp - 4], 4
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x428304
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4282fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
add esp, 8
test bl, bl
je 0x4283b9
lea ecx, [ebp - 0x280]
call fcn.0045f3e0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x428326
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x576
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Error___Running_setup_from_network_path
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x4283af
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4283a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov esi, 9
jmp 0x428527
call fcn.00426af0
test al, al
je 0x42846d
lea ecx, [ebp - 0x280]
call fcn.0045f3e0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4283e0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x57e
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Warning___it_seems_like_a_Windows_Update_reboot_is_pending
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x42846d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
add esp, 8
call fcn.004274f0
test al, al
je 0x428482
mov byte [0x4eca6e], 1
jmp 0x428525
lea ecx, [ebp - 0x280]
call fcn.0045f3e0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42849c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x58a
mov ecx, eax
call fcn.0040dda0
mov edx, str.:_Did_not_find_any_IFEO_registry_keys
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x428525
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42851b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x428563
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428559
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285b8
push edx
push ecx
call fcn.0046f0d0
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.00404d30
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.0046ebaf
mov esp, ebp
pop ebp
ret
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
call fcn.0048a05c
int3