Function at 0x4074c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x141c
call fcn.00414550
mov eax, dword [0x41e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0xc08]
mov dword [ebp - 0x1418], ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1410], 1
lea eax, [ebp - 0x1008]
mov byte [ebp - 0x1409], 1
xor esi, esi
mov dword [ebp - 0x1414], esi
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1008]
push str.DBDOC_reg.log
push eax
call edi
lea eax, [ebp - 0x1008]
push 0x419e28
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
movups xmm0, xmmword [str.Checking_program_versions..._n]
mov dword [0x42010c], eax
lea ecx, [ebp - 0x408]
mov eax, dword [0x419e44]
add esp, 8
movups xmmword [ebp - 0x408], xmm0
mov dword [ebp - 0x3f0], eax
movq xmm0, qword [0x419e3c]
mov ax, word [0x419e48]
movq qword [ebp - 0x3f8], xmm0
mov word [ebp - 0x3ec], ax
call fcn.00408370
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x41fd00]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x809], al
test al, al
jne 0x4075a0
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp - 0x1410]
call fcn.00407840
test al, al
je 0x4077d2
mov ebx, dword [0x420108]
test ebx, ebx
je 0x4077b2
xor eax, eax
mov cl, byte [ebp + eax - 0x808]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x1409], cl
test cl, cl
jne 0x4075e4
push dword [ebx + 4]
lea eax, [ebp - 0x1408]
push eax
call edi
cmp dword [ebp - 0x1410], 1
lea ecx, [ebp - 0x808]
mov edx, ebx
jne 0x40761d
call fcn.00407ca0
jmp 0x407622
call fcn.00407ed0
test al, al
jne 0x407693
cmp esi, 0xa
jge 0x407682
lea edi, [ebp - 0xc08]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x407632
mov ax, word [0x419e4c]
lea edx, [ebp - 0x1408]
mov word [edi], ax
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x407650
lea edi, [ebp - 0xc08]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407660
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1414]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
inc esi
xor al, al
mov dword [ebp - 0x1414], esi
mov byte [ebp - 0x1409], al
jmp 0x407699
mov al, byte [ebp - 0x1409]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4075e2
test al, al
jne 0x4077b2
mov ebx, dword [ebp - 0x1418]
mov ecx, str.have
cmp esi, 1
mov eax, 0x419e50
cmovne eax, ecx
push eax
push esi
push str._d_of_the_DBDOC_programs__s_been_detected_to_be_missing_or_of_the_incorrect_version._n
push ebx
call fcn.004010e0
add esp, 0x10
lea edi, [ebx - 1]
cmp esi, 0xa
jle 0x407717
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4076e0
mov ecx, 0x13
mov esi, str._Only_the_first_10_have_been_listed_here.__The_complete_listing_will_be_found_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
nop word [eax + eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407700
mov ecx, 0xf
mov esi, str.in_the_file_DBDOC_reg.log_found_in_your_Windows_directory.__n
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x407761
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407717
mov ecx, 0x12
mov esi, str.This_listing_can_also_be_found_in_the_file_DBDOC_reg.log_found_in_your_n
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx - 1]
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x407730
mov eax, dword [str.Windows_directory._n]
mov dword [ecx], eax
mov eax, dword [0x419f94]
mov dword [ecx + 4], eax
mov eax, dword [0x419f98]
mov dword [ecx + 8], eax
mov eax, dword [0x419f9c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x419fa0]
mov dword [ecx + 0x10], eax
lea edx, [ebp - 0xc08]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x407770
sub edx, esi
lea edi, [ebx - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407780
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
dec ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x407797
mov edi, ebx
mov ecx, 0x12
mov esi, str._n_nPlease_investigate_the_installation_before_proceeding_with_your_builds._n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4077d2
mov ecx, 0x11
lea edi, [ebp - 0x408]
mov esi, str.Program_versions_have_been_verified_to_match_currently_installed_kit._n
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x408]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00408370
mov eax, dword [0x42010c]
test eax, eax
je 0x4077e5
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edi, dword [0x420108]
mov dword [0x42010c], 0
test edi, edi
je 0x407828
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov eax, dword [edi + 4]
test eax, eax
je 0x40780d
push eax
call ebx
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x40781a
push eax
call ebx
add esp, 4
mov esi, dword [edi]
push edi
call ebx
add esp, 4
mov edi, esi
test esi, esi
jne 0x407800
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412814
mov esp, ebp
pop ebp
ret