Function at 0x429180
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 0x4bcd2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x50b080]
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 [0x50f939], 0
je 0x4292c2
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 0x42924f
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x429231
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x429227
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429789
mov eax, edx
push ecx
push eax
call fcn.004906cd
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 0x429252
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x429289
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42927f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429789
push ecx
push edx
call fcn.004906cd
add esp, 8
push 0x14
push str.C:ctsdktestappdata
mov ecx, 0x50bf70
call fcn.0040db20
cmp esi, 0x50bd00
je 0x429750
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
jbe 0x4292b1
mov esi, dword [esi]
push eax
push esi
mov ecx, 0x50bd00
call fcn.0040db20
jmp 0x429750
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0
push 0
push 0x4c55dc
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
test edi, edi
jns 0x42939e
lea ecx, [ebp - 0x64]
call fcn.00467d30
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x429300
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x2dc
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4eb7a8
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.0041b830
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x50]
add esp, 4
cmp ecx, 7
jbe 0x429397
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42938d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429770
push ecx
push edx
call fcn.004906cd
add esp, 8
xor al, al
jmp 0x429752
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 0x4293c0
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, 0x50bd00
call fcn.00441710
cmp byte [0x50f94d], 0
jne 0x429545
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.00441e80
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x429545
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 0x429775
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 0x4294f0
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4294e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42977a
push ecx
push edx
call fcn.004906cd
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 0x429545
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42953b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42977a
push ecx
push edx
call fcn.004906cd
add esp, 8
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x2c]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.0041bdd0
add esp, 4
mov ecx, esi
push eax
call fcn.0040dce0
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x42959c
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x429592
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42977f
push ecx
push edx
call fcn.004906cd
add esp, 8
push 0x4edba8
mov ecx, esi
call fcn.00441820
cmp dword [0x50bdd4], 7
mov eax, 0x50bdc0
push str.MBRW_C
cmova eax, dword [0x50bdc0]
push eax
call fcn.0049a53c
add esp, 8
test eax, eax
je 0x429600
cmp dword [0x50bdd4], 7
mov eax, 0x50bdc0
push str.MBRW_B
cmova eax, dword [0x50bdc0]
push eax
call fcn.0049a53c
add esp, 8
test eax, eax
je 0x429600
push str.Anti_Malware
mov ecx, esi
call fcn.00441820
jmp 0x42960c
push str.Anti_Ransomware
mov ecx, esi
call fcn.00441820
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 0x4c55bc
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edi, eax
test edi, edi
jns 0x4296eb
lea ecx, [ebp - 0x44]
call fcn.00467d30
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x429652
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x2fa
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4eb7a8
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.0041b830
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x30]
add esp, 4
cmp ecx, 7
jbe 0x42971a
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4296df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429784
push ecx
push edx
call fcn.004906cd
add esp, 8
jmp 0x42971a
mov edx, dword [ebp - 0x48]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4296f3
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x50bf70
call fcn.0040db20
push dword [ebp - 0x48]
call esi
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x429750
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x429746
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429789
push ecx
push edx
call fcn.004906cd
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.00490396
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004958ff
call fcn.004131a0
call fcn.004958ff
call fcn.004958ff
call fcn.004958ff
call fcn.004958ff
int3