Function at 0x433b00
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 0x4bda36
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x50b080]
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.00492970
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 0x433c6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x25c]
mov esi, eax
call fcn.00467d30
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x433bd4
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 0xa66
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.0041b670
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x248]
add esp, 4
cmp ecx, 7
jbe 0x433c65
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433c5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433e6e
push ecx
push edx
call fcn.004906cd
add esp, 8
mov al, 1
jmp 0x433e09
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433c75
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.00454ce0
add esp, 0xc
test al, al
jne 0x433d82
lea ecx, [ebp - 0x25c]
call fcn.00467d30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x433cf2
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 0xa72
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 0x433d7b
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433d71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433e73
push ecx
push edx
call fcn.004906cd
add esp, 8
xor al, al
jmp 0x433e09
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 0x433dc9
sbb al, al
and al, 0xfe
inc al
jmp 0x433e04
mov eax, dword [ebp - 0x23c]
cmp ax, si
je 0x433ddc
sbb al, al
and al, 0xfe
inc al
jmp 0x433e04
mov eax, dword [ebp - 0x240]
cmp ax, dx
je 0x433def
sbb al, al
and al, 0xfe
inc al
jmp 0x433e04
mov eax, dword [ebp - 0x244]
cmp ax, cx
je 0x433e02
sbb al, al
and al, 0xfe
inc al
jmp 0x433e04
xor al, al
not al
shr al, 7
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x231], al
cmp ecx, 7
jbe 0x433e51
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433e41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433e78
push ecx
push edx
call fcn.004906cd
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.00490396
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004958ff
call fcn.004958ff
call fcn.004958ff
int3