Function at 0x434ac0
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 0x482766
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x4a1500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x228]
mov dword [ebp - 0x288], str.NTASN1.DLL
push 0
push eax
mov dword [ebp - 0x284], str.USER32.DLL
mov dword [ebp - 0x280], str.GDI32.DLL
mov dword [ebp - 0x27c], str.ADVAPI32.DLL
mov dword [ebp - 0x278], str.SHELL32.DLL
mov dword [ebp - 0x274], str.OLE32.DLL
mov dword [ebp - 0x270], str.OLEAUT32.DLL
mov dword [ebp - 0x26c], str.WINHTTP.DLL
mov dword [ebp - 0x268], str.SHLWAPI.DLL
mov dword [ebp - 0x264], str.COMCTL32.DLL
mov dword [ebp - 0x260], str.GDIPLUS.DLL
mov dword [ebp - 0x25c], str.MPR.DLL
mov dword [ebp - 0x258], str.IPHLPAPI.DLL
mov dword [ebp - 0x254], str.VERSION.DLL
mov dword [ebp - 0x250], str.WLDP.DLL
mov dword [ebp - 0x24c], str.PROFAPI.DLL
mov dword [ebp - 0x248], str.TEXTSHAPING.DLL
mov dword [ebp - 0x244], str.WEBIO.DLL
mov dword [ebp - 0x240], str.SSPICLI.DLL
mov dword [ebp - 0x23c], str.NCRYPT.DLL
mov dword [ebp - 0x238], str.MSASN1.DLL
mov dword [ebp - 0x234], str.DPAPI.DLL
mov dword [ebp - 0x230], str.DWRITE.DLL
mov dword [ebp - 0x22c], str.WINDOWSCODECS.DLL
call fcn.00454a10
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x434e74
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x2a4], 0
movups xmmword [ebp - 0x2b8], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434c50
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0040c310
push str.KERNEL32.DLL
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 4], 0
call fcn.0043c010
cmp dword [ebp - 0x2a4], 7
lea eax, [ebp - 0x2b8]
cmova eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x434cc9
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434cc9
push 0x800
call eax
test eax, eax
jne 0x434cc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0x288]
nop
mov edx, dword [esi]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x2c0], 0
movups xmmword [ebp - 0x2d0], xmm0
mov dword [ebp - 0x2bc], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434cf5
sub eax, edi
lea ecx, [ebp - 0x2d0]
sar eax, 1
push eax
push edx
call fcn.0040c310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
movups xmmword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x28c], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434d40
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0040c310
push 0x4940d8
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 2
call fcn.0043c010
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0043bfa0
cmp dword [ebp - 0x28c], 7
lea eax, [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28c]
cmp ecx, 7
jbe 0x434de7
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434ddd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434e92
push ecx
push edx
call fcn.00452718
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 7
jbe 0x434e27
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434e1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434e92
push ecx
push edx
call fcn.00452718
add esp, 8
add esi, 4
lea eax, [ebp - 0x228]
cmp esi, eax
jne 0x434cd0
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 7
jbe 0x434e74
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434e6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434e92
push ecx
push edx
call fcn.00452718
add esp, 8
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.004523b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0045e581
int3