Function at 0x432d6e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438530
push 0x4321d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0x80004005
mov dword [ebp - 4], 0
mov word [ebp - 0x250], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x24e]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x254], 0x105
push str.netapi32.dll
call sub.MSVCRT.dll_wcslen
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x432e8a
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x254]
jae 0x432e8a
lea eax, [ebp - 0x250]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 4
mov ecx, dword [ebp - 0x40]
lea edx, [eax + ecx + 2]
cmp edx, dword [ebp - 0x254]
ja 0x432e8a
push 0x44a724
lea eax, [ebp - 0x250]
push eax
call sub.MSVCRT.dll_wcscat
add esp, 8
push 0x44a728
lea ecx, [ebp - 0x250]
push ecx
call sub.MSVCRT.dll_wcscat
add esp, 8
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x432e9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
jmp 0x433003
push str.NetWkstaGetInfo
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push str.NetApiBufferFree
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
push str.NetGetDCName
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x1c], 0
je 0x432ee6
cmp dword [ebp - 0x38], 0
je 0x432ee6
cmp dword [ebp - 0x3c], 0
jne 0x432ef4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
jmp 0x433003
lea eax, [ebp - 0x2c]
push eax
push 0x64
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x432f18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
jmp 0x433003
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x432f3e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
jmp 0x433003
lea ecx, [ebp - 0x24]
push ecx
push 0x64
mov edx, dword [ebp - 0x34]
push edx
call dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x432f5f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
jmp 0x433003
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
push ecx
call sub.MSVCRT.dll_wcscmp
add esp, 8
test eax, eax
jne 0x432ff4
mov edx, dword [ebp - 0x34]
push edx
call sub.MSVCRT.dll_wcslen
add esp, 4
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xf
jbe 0x432f96
jmp 0x433003
mov dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x5c
jne 0x432fbb
mov edx, dword [ebp - 0x258]
add edx, 1
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + 2]
cmp ecx, 0x5c
jne 0x432fd7
mov edx, dword [ebp - 0x258]
add edx, 1
mov dword [ebp - 0x258], edx
push 0xf
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x34]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_wcsncpy
add esp, 0xc
jmp 0x432ffc
mov ecx, dword [ebp + 0xc]
mov word [ecx], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00433011
jmp 0x43307a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret