Function at 0x433910
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 0x4be2d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00493220
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
movups xmmword [ebp - 0x230], xmm0
add esp, 0xc
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x218]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x433a7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x25c]
mov esi, eax
call fcn.00467cf0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x4339e4
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 0xa5d
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_GetSystemDirectory:
mov ecx, eax
call fcn.00411050
push esi
mov ecx, eax
call fcn.0041b590
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x248]
add esp, 4
cmp ecx, 7
jbe 0x433a75
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433a6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433c7e
push ecx
push edx
call fcn.00490f7d
add esp, 8
mov al, 1
jmp 0x433c19
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433a85
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040db20
push str.wintrust.dll
lea ecx, [ebp - 0x230]
call fcn.0040d6d0
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x230]
call fcn.004549c0
add esp, 0xc
test al, al
jne 0x433b92
lea ecx, [ebp - 0x25c]
call fcn.00467cf0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x433b02
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 0xa69
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_getting_WinTrust_version
mov ecx, eax
call fcn.00411050
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x248]
add esp, 4
cmp ecx, 7
jbe 0x433b8b
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433b81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433c83
push ecx
push edx
call fcn.00490f7d
add esp, 8
xor al, al
jmp 0x433c19
push ecx
mov edx, 1
call fcn.0040d780
add esp, 4
mov edx, 0x1773
test al, al
mov ecx, 0x1db1
mov esi, 0x504b
cmove ecx, edx
movzx edx, cx
mov ecx, 0x5f3e
cmove ecx, esi
movzx esi, al
mov eax, dword [ebp - 0x238]
movzx ecx, cx
cmp ax, 6
je 0x433bd9
sbb al, al
and al, 0xfe
inc al
jmp 0x433c14
mov eax, dword [ebp - 0x23c]
cmp ax, si
je 0x433bec
sbb al, al
and al, 0xfe
inc al
jmp 0x433c14
mov eax, dword [ebp - 0x240]
cmp ax, dx
je 0x433bff
sbb al, al
and al, 0xfe
inc al
jmp 0x433c14
mov eax, dword [ebp - 0x244]
cmp ax, cx
je 0x433c12
sbb al, al
and al, 0xfe
inc al
jmp 0x433c14
xor al, al
not al
shr al, 7
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x231], al
cmp ecx, 7
jbe 0x433c61
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433c51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433c88
push ecx
push edx
call fcn.00490f7d
mov al, byte [ebp - 0x231]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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.004961af
call fcn.004961af
int3