Function at 0x43dde0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f19c
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.004601c0
mov eax, dword [0x48f310]
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
mov eax, dword [ebp + 8]
push ecx
mov edi, ecx
mov dword [ebp - 0x1090], eax
xor esi, esi
mov dword [ebp - 0x108c], esi
mov eax, esp
mov dword [ebp - 0x1094], edi
mov dword [ebp - 0x108c], esp
call fcn.00402a24
mov eax, edi
call fcn.00401f4d
push esi
push esi
call fcn.004012f5
mov dword [ebp - 4], esi
mov ebx, 1
push 0x48
mov dword [ebp - 0x108c], ebx
mov dword [ebp - 0x1080], esi
call fcn.00450883
add esp, 4
cmp eax, esi
je 0x43e0b6
mov dword [ebp - 0x1084], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1084]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1084]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0x1084]
mov byte [ecx + 0x44], bl
mov edx, dword [ebp - 0x1084]
mov byte [edx + 0x45], bl
lea eax, [ebp - 0x1010]
push eax
push esi
push esi
push 0x1c
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x1010]
push ecx
lea eax, [ebp - 0x102c]
call fcn.00401cc7
mov esi, eax
push str.localappdata
lea eax, [ebp - 0x1048]
mov byte [ebp - 4], 2
call fcn.00401cc7
mov edx, eax
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 3
call fcn.0041f200
mov edi, eax
cmp edi, esi
je 0x43df2a
push 0
push ebx
call fcn.004012f5
cmp dword [esi + 0x14], 8
jae 0x43df0c
mov eax, dword [esi + 0x10]
push esi
add eax, ebx
push edi
call fcn.004014fd
add esp, 8
jmp 0x43df16
mov edx, dword [esi]
mov dword [edi], edx
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x14]
xor eax, eax
mov dword [edi + 0x14], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [ebp - 0x1048]
call fcn.004012b8
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], bl
call fcn.004012b8
push 0x800
lea edx, [ebp - 0x1010]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1048]
call fcn.00401cc7
mov esi, eax
push str.windir
lea eax, [ebp - 0x102c]
mov byte [ebp - 4], 4
call fcn.00401cc7
mov edx, eax
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 5
call fcn.0041f200
mov edi, eax
cmp edi, esi
je 0x43dfd1
push 0
push ebx
call fcn.004012f5
cmp dword [esi + 0x14], 8
jae 0x43dfb3
mov eax, dword [esi + 0x10]
push esi
add eax, ebx
push edi
call fcn.004014fd
add esp, 8
jmp 0x43dfbd
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], 0
mov edx, dword [esi + 0x10]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [ebp - 0x102c]
call fcn.004012b8
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], bl
call fcn.004012b8
lea ecx, [ebp - 0x1088]
push ecx
lea edx, [ebp - 0x1078]
push edx
call fcn.00438b60
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1090]
push eax
lea eax, [ebp - 0x102c]
call fcn.00401cc7
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x1094]
push ebx
lea ecx, [ebp - 0x1078]
call fcn.0043ef50
lea ecx, [ebp - 0x102c]
call fcn.004012b8
mov eax, dword [ebp - 0x1078]
test eax, eax
je 0x43e051
push eax
call fcn.00450827
add esp, 4
mov dword [ebp - 0x1078], 0
lea edi, [ebp - 0x1054]
call fcn.0043a800
lea ecx, [ebp - 0x1074]
call fcn.004012b8
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1084]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x1090]
lea esi, [ebp - 0x1088]
call fcn.0041f3d0
mov ecx, dword [ebp - 0x1084]
push ecx
call fcn.00450827
add esp, 4
mov eax, ebx
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.0045080d
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x10a0]
call fcn.004014a4
push 0x485ee4
lea edx, [ebp - 0x10a0]
push edx
call fcn.0045414f
int3