Function at 0x43b860
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x501217
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x494], eax
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4b8]
lea ecx, [esp + 0x138]
mov dword [esp + 0x10], eax
call fcn.004349d0
xor ebp, ebp
mov ecx, 0x105
mov dword [esp + 0x4b0], ebp
lea esi, [esp + 0x140]
mov dword [esp + 0x258], ecx
call fcn.004358a0
cmp byte [esp + 0x254], 0
lea eax, [esp + 0x144]
jne 0x43b8ea
mov eax, dword [esp + 0x140]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add eax, 4
push eax
push ebp
push ebp
push 0x1a
push ebp
call edi
test eax, eax
je 0x43b9e9
cmp dword [esp + 0x258], ebp
je 0x43b913
mov dword [esp + 0x258], ebp
mov ecx, 1
lea esi, [esp + 0x140]
mov dword [esp + 0x13c], ebp
call fcn.004358a0
cmp byte [esp + 0x254], 0
lea eax, [esp + 0x144]
jne 0x43b943
mov eax, dword [esp + 0x140]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, 0x105
lea esi, [esp + 0x140]
mov dword [esp + 0x258], ecx
call fcn.004358a0
cmp byte [esp + 0x254], 0
lea eax, [esp + 0x144]
jne 0x43b979
mov eax, dword [esp + 0x140]
add eax, 4
push eax
push 1
push ebp
push 0x1a
push ebp
call edi
test eax, eax
je 0x43b9e9
lea ecx, [esp + 0x138]
call fcn.00434ba0
mov ecx, dword [esp + 0x10]
call fcn.00433db0
push 0x51e32c
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x254], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x43b9e2
mov eax, dword [esp + 0x140]
lea edx, [esp + 0x144]
cmp eax, edx
je 0x43b9e2
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x43bc04
lea edi, [esp + 0x138]
call fcn.00434f40
cmp byte [esp + 0x254], 0
lea esi, [esp + 0x144]
jne 0x43ba0d
mov esi, dword [esp + 0x140]
lea ecx, [esp + 0x25c]
call fcn.004349d0
lea eax, [esi + 4]
lea edx, [esp + 0x25c]
call fcn.00434c20
mov byte [esp + 0x4b0], 0
cmp byte [esp + 0x378], 0
lea eax, [esp + 0x268]
jne 0x43ba48
mov eax, dword [esp + 0x264]
lea esi, [ebx + 0x254]
add eax, 4
mov edx, esi
call fcn.00434c20
cmp byte [esp + 0x378], 0
mov ebp, vtable.t_str.0
mov dword [esp + 0x25c], ebp
jne 0x43ba89
mov eax, dword [esp + 0x264]
lea ecx, [esp + 0x268]
cmp eax, ecx
je 0x43ba89
push eax
call fcn.004c31b0
add esp, 4
cmp byte [ebx], 0
je 0x43bbd6
mov ecx, esi
call fcn.004334a0
push eax
lea ecx, [esp + 0x260]
call fcn.00434b00
mov ecx, str.Application_Data
lea eax, [esp + 0x25c]
mov byte [esp + 0x4b0], 2
call fcn.00434d00
test al, al
je 0x43bbaa
mov eax, str.AppDataRoaming
lea edx, [esp + 0x25c]
call fcn.00434c20
lea ecx, [esp + 0x380]
call fcn.00431a60
lea edx, [esp + 0x380]
push edx
mov ecx, esi
mov byte [esp + 0x4b4], 3
call fcn.00433640
cmp byte [esp + 0x378], 0
lea edi, [esp + 0x268]
jne 0x43bb13
mov edi, dword [esp + 0x264]
lea ecx, [esp + 0x14]
call fcn.004349d0
lea eax, [edi + 4]
lea edx, [esp + 0x14]
call fcn.00434c20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x384]
call fcn.004320b0
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], ebp
jne 0x43bb5c
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x43bb5c
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x49c], 0
lea eax, [esp + 0x38c]
jne 0x43bb74
mov eax, dword [esp + 0x388]
add eax, 4
mov edx, esi
call fcn.00434c20
cmp byte [esp + 0x49c], 0
mov dword [esp + 0x380], ebp
jne 0x43bbaa
mov eax, dword [esp + 0x388]
lea edx, [esp + 0x38c]
cmp eax, edx
je 0x43bbaa
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x378], 0
mov dword [esp + 0x25c], ebp
jne 0x43bbd6
mov eax, dword [esp + 0x264]
lea ecx, [esp + 0x268]
cmp eax, ecx
je 0x43bbd6
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x254], 0
mov dword [esp + 0x138], ebp
jne 0x43bc02
mov eax, dword [esp + 0x140]
lea edx, [esp + 0x144]
cmp eax, edx
je 0x43bc02
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.004c31a1
add esp, 0x4a4
ret 4