Function at 0x427410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0c10
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 0x427506
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427473
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x4f5
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error:_empty_data_directory_path
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x4274fc
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4274f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f49
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov eax, 1
jmp 0x427f2d
push 0x4e5c70
lea ecx, [ebp - 0x248]
call fcn.0040be50
mov dword [ebp - 4], 1
cmp dword [ebp - 0x238], 0
jne 0x4275d7
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427544
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x4fb
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error:_empty_program_directory_path
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x4275cd
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4275c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f4e
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov esi, 1
jmp 0x427f20
mov ecx, 0x4e5ee0
call fcn.00424da0
test al, al
jne 0x4275ef
mov esi, 3
jmp 0x427f20
lea ecx, [ebp - 0x248]
call fcn.00424da0
test al, al
jne 0x427608
mov esi, 4
jmp 0x427f20
push 0x204
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004864f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x102
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x427701
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427652
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x50f
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error
mov ecx, eax
call fcn.0040f6d0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004194b0
mov edx, str._calling_GetSystemDirectory
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x4276f7
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4276ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f53
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov esi, 5
jmp 0x427f20
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404c00
push 8
push str.drivers
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.0040c200
lea ecx, [ebp - 0x230]
call fcn.00424da0
test al, al
jne 0x427742
mov esi, 6
jmp 0x427ec7
call fcn.00425250
test al, al
jne 0x427755
mov esi, 7
jmp 0x427ec7
lea edx, [ebp - 0x268]
mov ecx, 0x4e5ee0
call fcn.00424c40
test al, al
je 0x427a3a
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.0048d480
movzx ecx, word [edi]
add esp, 4
mov si, ax
push ecx
call fcn.0048d480
add esp, 4
cmp si, ax
jne 0x42787d
cmp dword [ebp - 0x264], 0
ja 0x427ae1
jb 0x4277d7
cmp dword [ebp - 0x268], 0x3e800000
jae 0x427ae1
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4277f1
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x529
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error_not_enough_disk_space_available
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x24c]
add esp, 4
cmp edx, 8
jb 0x427986
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42797c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
jmp 0x42797c
cmp dword [ebp - 0x264], 0
ja 0x4278ec
jb 0x427894
cmp dword [ebp - 0x268], 0x1f400000
jae 0x4278ec
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4278ae
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x532
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error_not_enough_disk_space_available__data_
jmp 0x42782a
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x248]
call fcn.00424c40
test al, al
je 0x427990
cmp dword [ebp - 0x264], 0
ja 0x427ae1
jb 0x427924
cmp dword [ebp - 0x268], 0x1f400000
jae 0x427ae1
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x42793e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x53a
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error_not_enough_disk_space_available__program_
jmp 0x42782a
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov esi, 2
jmp 0x427ec7
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4279aa
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x540
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error_determining_available_disk_space__program_
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427ae1
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427ad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427ad7
jmp 0x427f58
lea ecx, [ebp - 0x260]
call fcn.0045e700
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427a54
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x546
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error_determining_available_disk_space__data_
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427ae1
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427ad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
add esp, 8
call fcn.004254f0
test al, al
jne 0x427af4
mov esi, 8
jmp 0x427ec7
call fcn.00425ca0
test al, al
je 0x427b07
mov esi, 0xb
jmp 0x427ec7
call fcn.00423590
test al, al
je 0x427d59
lea ecx, [ebp - 0x280]
call fcn.0045e700
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427b2e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x558
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Running_setup_from:
mov ecx, eax
call fcn.0040f6d0
push 0x4e5c58
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.0040be50
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.0040f6b0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 0xa
add esp, 4
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427bde
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
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 0x427c3f
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427c35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
add esp, 8
push 0x4e5c58
lea ecx, [ebp - 0x260]
call fcn.0040be50
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xc
call fcn.0042f4d0
mov byte [ebp - 4], 4
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x427ca4
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427c9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
add esp, 8
test bl, bl
je 0x427d59
lea ecx, [ebp - 0x280]
call fcn.0045e700
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x427cc6
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x55b
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error___Running_setup_from_network_path
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x427d4f
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov esi, 9
jmp 0x427ec7
call fcn.00426460
test al, al
je 0x427e0d
lea ecx, [ebp - 0x280]
call fcn.0045e700
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427d80
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x563
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Error___it_seems_like_a_Windows_Update_reboot_is_pending
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x427e0d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
add esp, 8
call fcn.00426e60
test al, al
je 0x427e22
mov byte [0x4ea9f4], 1
jmp 0x427ec5
lea ecx, [ebp - 0x280]
call fcn.0045e700
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x427e3c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupmbsetup.cpp
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x56f
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Did_not_find_any_IFEO_registry_keys
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov edx, dword [ebp - 0x26c]
add esp, 4
cmp edx, 8
jb 0x427ec5
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427ebb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x427f03
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427ef9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f58
push edx
push ecx
call fcn.0046e3a3
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.00404c50
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.0046de82
mov esp, ebp
pop ebp
ret
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
int3