Function at 0x429060
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd5dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
cmp byte [0x510936], 0
je 0x4291a2
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push str.C:ctsdktestapp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
call fcn.0040df90
lea eax, [ebp - 0x7c]
cmp esi, eax
je 0x42912f
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x429111
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x429107
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429669
mov eax, edx
push ecx
push eax
call fcn.00490f7d
add esp, 8
movups xmm0, xmmword [ebp - 0x7c]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x7c], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [esi + 0x10], xmm0
jmp 0x429132
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x429169
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42915f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429669
push ecx
push edx
call fcn.00490f7d
add esp, 8
push 0x14
push str.C:ctsdktestappdata
mov ecx, 0x50cf70
call fcn.0040db20
cmp esi, 0x50cd00
je 0x429630
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
jbe 0x429191
mov esi, dword [esi]
push eax
push esi
mov ecx, 0x50cd00
call fcn.0040db20
jmp 0x429630
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0
push 0
push 0x4c65dc
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
test edi, edi
jns 0x42927e
lea ecx, [ebp - 0x64]
call fcn.00467cf0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x4291e0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x2d9
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4ec7a8
mov ecx, eax
call fcn.00411050
mov edx, str.Failed_to_get_program_files_folder:
mov ecx, eax
call fcn.00411050
push edi
mov ecx, eax
call fcn.0041b750
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x50]
add esp, 4
cmp ecx, 7
jbe 0x429277
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42926d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429650
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor al, al
jmp 0x429632
mov edx, dword [ebp - 0x48]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4292a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040df90
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x50cd00
call fcn.00441410
cmp byte [0x51094a], 0
jne 0x429425
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
push 6
push str.__x86_
push 0
call fcn.00441b80
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x429425
cmp dword [ebp - 0x1c], edi
lea eax, [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0x34], 0
cmovb ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
cmp dword [ebp - 0x18], 7
push ecx
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
call fcn.0040df90
mov byte [ebp - 4], 2
add edi, 6
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
cmp eax, edi
jb 0x429655
sub eax, edi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x64]
lea eax, [eax + edi*2]
push eax
call fcn.0040df90
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x44]
call fcn.0040dab0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x4293d0
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4293c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42965a
push ecx
push edx
call fcn.00490f7d
add esp, 8
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040db20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x429425
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42941b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42965a
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x2c]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.0041bcf0
add esp, 4
mov ecx, esi
push eax
call fcn.0040dce0
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x42947c
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x429472
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42965f
push ecx
push edx
call fcn.00490f7d
add esp, 8
push 0x4eeb28
mov ecx, esi
call fcn.00441520
cmp dword [0x50cdd4], 7
mov eax, 0x50cdc0
push str.MBRW_C
cmova eax, dword [0x50cdc0]
push eax
call fcn.0049adec
add esp, 8
test eax, eax
je 0x4294e0
cmp dword [0x50cdd4], 7
mov eax, 0x50cdc0
push str.MBRW_B
cmova eax, dword [0x50cdc0]
push eax
call fcn.0049adec
add esp, 8
test eax, eax
je 0x4294e0
push str.Anti_Malware
mov ecx, esi
call fcn.00441520
jmp 0x4294ec
push str.Anti_Ransomware
mov ecx, esi
call fcn.00441520
push dword [ebp - 0x48]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0
push 0
push 0x4c65bc
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
test edi, edi
jns 0x4295cb
lea ecx, [ebp - 0x44]
call fcn.00467cf0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x429532
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0x2f7
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4ec7a8
mov ecx, eax
call fcn.00411050
mov edx, str.Failed_to_get_data_directory:
mov ecx, eax
call fcn.00411050
push edi
mov ecx, eax
call fcn.0041b750
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x30]
add esp, 4
cmp ecx, 7
jbe 0x4295fa
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4295bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429664
push ecx
push edx
call fcn.00490f7d
add esp, 8
jmp 0x4295fa
mov edx, dword [ebp - 0x48]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4295d3
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x50cf70
call fcn.0040db20
push dword [ebp - 0x48]
call esi
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x429630
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x429626
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429669
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00490c46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004961af
call fcn.004131a0
call fcn.004961af
call fcn.004961af
call fcn.004961af
call fcn.004961af
int3