Function at 0x43e7d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1a01
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x6670c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x220]
mov dword [ebp - 0x280], str.NTASN1.DLL
push 0
push eax
mov dword [ebp - 0x27c], str.USER32.DLL
mov dword [ebp - 0x278], str.GDI32.DLL
mov dword [ebp - 0x274], str.ADVAPI32.DLL
mov dword [ebp - 0x270], str.SHELL32.DLL
mov dword [ebp - 0x26c], str.OLE32.DLL
mov dword [ebp - 0x268], str.OLEAUT32.DLL
mov dword [ebp - 0x264], str.WINHTTP.DLL
mov dword [ebp - 0x260], str.SHLWAPI.DLL
mov dword [ebp - 0x25c], str.COMCTL32.DLL
mov dword [ebp - 0x258], str.GDIPLUS.DLL
mov dword [ebp - 0x254], str.MPR.DLL
mov dword [ebp - 0x250], 0x647f68
mov dword [ebp - 0x24c], str.VERSION.DLL
mov dword [ebp - 0x248], str.WLDP.DLL
mov dword [ebp - 0x244], str.PROFAPI.DLL
mov dword [ebp - 0x240], str.TEXTSHAPING.DLL
mov dword [ebp - 0x23c], str.WEBIO.DLL
mov dword [ebp - 0x238], str.SSPICLI.DLL
mov dword [ebp - 0x234], str.NCRYPT.DLL
mov dword [ebp - 0x230], str.MSASN1.DLL
mov dword [ebp - 0x22c], str.DPAPI.DLL
mov dword [ebp - 0x228], str.DWRITE.DLL
mov dword [ebp - 0x224], str.WINDOWSCODECS.DLL
call fcn.0057fee0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43eaeb
xor eax, eax
mov dword [ebp - 0x2b8], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e944
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004181e0
push 0xd
push str.KERNEL32.DLL
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 0
call fcn.00433560
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmovae eax, dword [ebp - 0x2c8]
push eax
call ebx
test eax, eax
je 0x43e9c1
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e9c1
push 0x800
call eax
test eax, eax
jne 0x43e9c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp - 0x280]
nop word [eax + eax]
mov edx, dword [edi]
xor eax, eax
mov word [ebp - 0x2b0], ax
mov eax, edx
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e9f4
sub eax, esi
lea ecx, [ebp - 0x2b0]
sar eax, 1
push eax
push edx
call fcn.004181e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
lea edx, [ecx + 2]
mov word [ebp - 0x298], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ea40
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x298]
call fcn.004181e0
push 1
push 0x649368
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 2
call fcn.00433560
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
push dword [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x298]
push eax
call fcn.00433560
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
cmovae eax, dword [ebp - 0x298]
push eax
call ebx
lea ecx, [ebp - 0x298]
call fcn.00418110
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0
call fcn.00418110
add edi, 4
lea eax, [ebp - 0x220]
cmp edi, eax
jne 0x43e9d0
lea ecx, [ebp - 0x2c8]
call fcn.00418110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057c5eb
mov esp, ebp
pop ebp
ret