Function at 0x430b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2c70
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x20ac
call fcn.004ad450
mov eax, dword [0x4ff0f4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2064], eax
mov dword [ebp - 0x2070], ecx
mov dword [ebp - 0x206c], edx
xor edi, edi
mov dword [ebp - 0x205c], edi
mov dword [ebp - 0x2068], edi
mov byte [ebp - 0x2055], 0
mov dword [ebp - 0x2074], 0x1000
mov dword [ebp - 0x207c], 0x18
mov dword [ebp - 0x2078], 0x1e
mov eax, 7
mov dword [ebp - 0x2084], eax
mov dword [ebp - 0x2080], 0x1d
mov dword [ebp - 0x2020], eax
mov dword [ebp - 0x2024], edi
xor eax, eax
mov word [ebp - 0x2034], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x2060], edi
cmp edi, 2
jae 0x430cb5
mov byte [ebp - 4], 1
push 0x4e9140
lea ecx, [ebp - 0x2054]
call fcn.00406060
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2068]
push ecx
lea edx, [ebp - 0x2054]
push edx
mov edx, dword [ebp - 0x206c]
mov esi, dword [ebp - 0x2070]
call fcn.0042e350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2054]
call fcn.004060d0
mov ecx, dword [ebp + edi*4 - 0x207c]
lea esi, [ebp - 0x20a0]
call fcn.0042b970
mov byte [ebp - 4], 3
mov esi, 1
or dword [ebp - 0x205c], esi
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2038]
call fcn.004082a0
cmp dword [eax + 0x14], 0
je 0x430c64
mov eax, dword [ebp - 0x2064]
push eax
lea ecx, [ebp - 0x2038]
call fcn.00427f40
add esp, 4
test al, al
je 0x430c64
mov bl, 1
jmp 0x430c66
xor bl, bl
mov dword [ebp - 4], esi
test byte [ebp - 0x205c], 1
je 0x430c84
and dword [ebp - 0x205c], 0xfffffffe
lea ecx, [ebp - 0x20a0]
call fcn.004060d0
test bl, bl
je 0x430c8f
mov byte [ebp - 0x2055], 1
mov dword [ebp - 4], 0
inc edi
jmp 0x430bbb
mov dword [ebp - 0x2074], 0x1000
lea ecx, [ebp - 0x2074]
push ecx
lea edx, [ebp - 0x201c]
push edx
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x430e24
xor edi, edi
mov dword [ebp - 0x2060], edi
cmp edi, 2
jae 0x430e24
mov byte [ebp - 4], 5
lea eax, [ebp - 0x201c]
push eax
lea ecx, [ebp - 0x2054]
call fcn.00406060
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2054]
push ecx
mov edx, 0x4e9160
call fcn.0042d240
push 0
lea edx, [ebp - 0x2038]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x2054]
call fcn.0042e390
push 0x4e9164
lea ecx, [ebp - 0x20a0]
call fcn.00406060
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2068]
push eax
lea ecx, [ebp - 0x20a0]
push ecx
mov edx, dword [ebp - 0x206c]
mov esi, dword [ebp - 0x2070]
call fcn.0042e350
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20a0]
call fcn.004060d0
mov ecx, dword [ebp + edi*4 - 0x2084]
lea edx, [ebp - 0x20bc]
call fcn.0042b800
mov byte [ebp - 4], 8
or dword [ebp - 0x205c], 2
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2038]
call fcn.004082a0
cmp dword [eax + 0x14], 0
je 0x430dc0
mov edx, dword [ebp - 0x2064]
push edx
lea ecx, [ebp - 0x2054]
call fcn.00427f40
add esp, 4
test al, al
je 0x430dc0
mov bl, 1
jmp 0x430dc2
xor bl, bl
mov dword [ebp - 4], 6
test byte [ebp - 0x205c], 2
je 0x430de4
and dword [ebp - 0x205c], 0xfffffffd
lea ecx, [ebp - 0x20bc]
call fcn.004060d0
test bl, bl
je 0x430def
mov byte [ebp - 0x2055], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2054]
call fcn.004060d0
mov dword [ebp - 4], 0
inc edi
jmp 0x430cdd
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2020], 8
jb 0x430e43
mov eax, dword [ebp - 0x2034]
push eax
call fcn.004a9741
add esp, 4
mov dword [ebp - 0x2020], 7
mov dword [ebp - 0x2024], 0
xor ecx, ecx
mov word [ebp - 0x2034], cx
mov al, byte [ebp - 0x2055]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a974c
mov esp, ebp
pop ebp
ret