Function at 0x433890
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 0x4b0766
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x4de080]
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.00485800
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 0x4339fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x25c]
mov esi, eax
call fcn.00467c30
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x433964
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0xa5d
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_GetSystemDirectory:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b4e0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x248]
add esp, 4
cmp ecx, 7
jbe 0x4339f5
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4339eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433bfe
push ecx
push edx
call fcn.0048355d
add esp, 8
mov al, 1
jmp 0x433b99
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433a05
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.00454940
add esp, 0xc
test al, al
jne 0x433b12
lea ecx, [ebp - 0x25c]
call fcn.00467c30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x433a82
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBSetup.cpp
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0xa69
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_getting_WinTrust_version
mov ecx, eax
call fcn.00411040
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x248]
add esp, 4
cmp ecx, 7
jbe 0x433b0b
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433b01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433c03
push ecx
push edx
call fcn.0048355d
add esp, 8
xor al, al
jmp 0x433b99
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 0x433b59
sbb al, al
and al, 0xfe
inc al
jmp 0x433b94
mov eax, dword [ebp - 0x23c]
cmp ax, si
je 0x433b6c
sbb al, al
and al, 0xfe
inc al
jmp 0x433b94
mov eax, dword [ebp - 0x240]
cmp ax, dx
je 0x433b7f
sbb al, al
and al, 0xfe
inc al
jmp 0x433b94
mov eax, dword [ebp - 0x244]
cmp ax, cx
je 0x433b92
sbb al, al
and al, 0xfe
inc al
jmp 0x433b94
xor al, al
not al
shr al, 7
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x231], al
cmp ecx, 7
jbe 0x433be1
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433bd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433c08
push ecx
push edx
call fcn.0048355d
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.00483226
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0048878f
call fcn.0048878f
call fcn.0048878f
int3