Function at 0x430150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4772f6
mov eax, dword fs:[0]
push eax
sub esp, 0x5c0
mov eax, dword [0x4bb050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x5cc], eax
call fcn.00434790
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
push 0x105
mov dword [ebp - 0x14], 0x105
call fcn.00435000
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
push 0
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x430299
push 1
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0
call fcn.00435000
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
push 0x105
cmove eax, dword [ebp - 0x12c]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x14], 0x105
call fcn.00435000
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
push 1
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x430299
push 1
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0
call fcn.00435000
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
push 0x49be1c
cmove eax, dword [ebp - 0x12c]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, dword [ebp - 0x5cc]
call fcn.0042c400
xor al, al
jmp 0x430500
lea ecx, [ebp - 0x134]
call fcn.00434ca0
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
push 0
cmove eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x4a0]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.0042cbb0
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [esi + 0x378]
call fcn.0042d2b0
cmp byte [ebp - 0x384], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x43030c
mov eax, dword [ebp - 0x498]
lea ecx, [ebp - 0x494]
cmp eax, ecx
je 0x43030c
push eax
call fcn.0045dc2d
add esp, 4
cmp byte [esi + 5], 0
je 0x4304fe
cmp byte [esi + 0x494], 0
lea ecx, [esi + 0x384]
jne 0x43032b
mov ecx, dword [esi + 0x380]
lea eax, [esi + 0x384]
mov dword [ebp - 0x5cc], eax
lea eax, [ecx + 4]
push 0x5c
push eax
call fcn.0045be7a
add esp, 8
test eax, eax
jne 0x430362
cmp byte [esi + 0x494], al
mov eax, dword [ebp - 0x5cc]
jne 0x43035d
mov eax, dword [esi + 0x380]
add eax, 4
jmp 0x430365
add eax, 2
push eax
lea ecx, [ebp - 0x258]
call fcn.00434910
push ecx
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.00434b20
test al, al
je 0x4304d2
cmp byte [ebp - 0x13c], 0
lea eax, [ebp - 0x24c]
push 2
cmove eax, dword [ebp - 0x250]
add eax, 4
push 0x49b470
push eax
call fcn.00462833
add esp, 0xc
test eax, eax
je 0x4304d2
push 0x10
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x254], 0xf
call fcn.00435000
cmp byte [ebp - 0x13c], 0
lea eax, [ebp - 0x24c]
movups xmm0, xmmword [str.AppDataRoaming]
cmove eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x37c]
movups xmmword [eax + 4], xmm0
movups xmm0, xmmword [0x49be64]
movups xmmword [eax + 0x14], xmm0
call fcn.0042cb50
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x378]
call fcn.0042d560
cmp byte [ebp - 0x13c], 0
lea eax, [ebp - 0x24c]
push 0
cmove eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x5c4]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.0042cbb0
lea eax, [ebp - 0x5c4]
push eax
lea ecx, [ebp - 0x37c]
call fcn.0042d250
cmp byte [ebp - 0x4a8], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x430485
mov eax, dword [ebp - 0x5bc]
lea ecx, [ebp - 0x5b8]
cmp eax, ecx
je 0x430485
push eax
call fcn.0045dc2d
add esp, 4
lea ecx, [esi + 0x378]
call fcn.0042d360
test al, al
je 0x4304a6
lea eax, [ebp - 0x37c]
push eax
lea ecx, [esi + 0x378]
call fcn.0042d2b0
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4304d2
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x4304d2
push eax
call fcn.0045dc2d
add esp, 4
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4304fe
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x4304fe
push eax
call fcn.0045dc2d
add esp, 4
mov al, 1
cmp byte [ebp - 0x18], 0
mov byte [ebp - 0x5c5], al
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x430535
mov ecx, dword [ebp - 0x12c]
lea edx, [ebp - 0x128]
cmp ecx, edx
je 0x430535
push ecx
call fcn.0045dc2d
mov al, byte [ebp - 0x5c5]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a329
mov esp, ebp
pop ebp
ret 4