Function at 0x478e70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x511733
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x39c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3ac]
lea ecx, [esp + 0x144]
call fcn.004174b0
xor ebx, ebx
mov ecx, 0x105
mov dword [esp + 0x3a4], ebx
lea esi, [esp + 0x14c]
mov dword [esp + 0x264], ecx
call fcn.00418590
lea eax, [esp + 0x150]
cmp byte [esp + 0x260], bl
jne 0x478ef6
mov eax, dword [esp + 0x14c]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea esi, [eax + 4]
push esi
push ebx
push ebx
push 0x1a
push ebx
call edi
test eax, eax
je 0x478f5a
push esi
push 1
push ebx
push 0x1a
push ebx
call edi
test eax, eax
je 0x478f5a
lea ecx, [esp + 0x144]
call fcn.00417680
cmp byte [esp + 0x260], bl
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x478f53
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x478f53
push eax
call fcn.004ed7b6
add esp, 4
xor al, al
jmp 0x479159
lea edi, [esp + 0x144]
call fcn.00417b30
lea esi, [esp + 0x150]
cmp byte [esp + 0x260], bl
jne 0x478f7d
mov esi, dword [esp + 0x14c]
lea ecx, [esp + 0x26c]
call fcn.004174b0
lea eax, [esi + 4]
lea edx, [esp + 0x26c]
call fcn.00417710
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0x26c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a4], 3
call fcn.00478b30
test al, al
jne 0x47900a
lea ecx, [esp + 0x18]
call fcn.004163d0
cmp byte [esp + 0x388], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x26c], esi
jne 0x478ff6
mov eax, dword [esp + 0x274]
lea edx, [esp + 0x278]
cmp eax, edx
je 0x478ff6
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x260], 0
mov dword [esp + 0x144], esi
jmp 0x478f36
cmp byte [esp + 0x388], 0
lea esi, [esp + 0x278]
jne 0x479022
mov esi, dword [esp + 0x274]
lea ecx, [esp + 0x20]
call fcn.004174b0
lea eax, [esi + 4]
lea edx, [esp + 0x20]
call fcn.00417710
cmp byte [esp + 0x13c], 0
lea eax, [esp + 0x2c]
jne 0x479049
mov eax, dword [esp + 0x28]
add eax, 4
mov edx, ebp
call fcn.00417710
cmp byte [esp + 0x13c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x20], esi
jne 0x47907b
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
cmp eax, edx
je 0x47907b
push eax
call fcn.004ed7b6
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004174b0
cmp byte [esp + 0x3b0], 0
jne 0x4790b4
cmp dword [esp + 0x3b4], 0
jne 0x47909f
mov eax, str.SogouPY
jmp 0x4790d8
mov eax, str.SogouWB
lea edx, [esp + 0x20]
call fcn.00417710
lea ecx, [esp + 0x20]
push ecx
jmp 0x4790e6
cmp dword [esp + 0x3b4], 0
jne 0x4790d3
mov eax, str.SogouPY.users
lea edx, [esp + 0x20]
call fcn.00417710
lea edx, [esp + 0x20]
push edx
jmp 0x4790e6
mov eax, str.SogouWB.users
lea edx, [esp + 0x20]
call fcn.00417710
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0041e380
lea ecx, [esp + 0x20]
call fcn.00417650
lea ecx, [esp + 0x18]
call fcn.004163d0
cmp byte [esp + 0x388], 0
mov dword [esp + 0x26c], esi
jne 0x47912b
mov eax, dword [esp + 0x274]
lea ecx, [esp + 0x278]
cmp eax, ecx
je 0x47912b
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x260], 0
mov dword [esp + 0x144], esi
jne 0x479157
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
je 0x479157
push eax
call fcn.004ed7b6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x39c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.004ecddb
add esp, 0x394
ret