Function at 0x422c90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48d897
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
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.0040f730
xor ebx, ebx
mov ecx, 0x105
mov dword [esp + 0x3a4], ebx
lea esi, [esp + 0x14c]
mov dword [esp + 0x264], ecx
call fcn.00410400
lea eax, [esp + 0x150]
cmp byte [esp + 0x260], bl
jne 0x422d16
mov eax, dword [esp + 0x14c]
push ebx
push 0x1a
add eax, 4
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
je 0x422da4
cmp dword [esp + 0x264], ebx
je 0x422d39
mov dword [esp + 0x264], ebx
mov ecx, 1
lea esi, [esp + 0x14c]
mov dword [esp + 0x148], ebx
call fcn.00410400
lea eax, [esp + 0x150]
cmp byte [esp + 0x260], bl
jne 0x422d68
mov eax, dword [esp + 0x14c]
xor ecx, ecx
mov word [eax + 4], cx
cmp byte [esp + 0x260], cl
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x422d9d
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
je 0x422d9d
push eax
call fcn.0046b865
add esp, 4
xor al, al
jmp 0x422f90
lea edi, [esp + 0x144]
call fcn.0040fb80
lea esi, [esp + 0x150]
cmp byte [esp + 0x260], bl
jne 0x422dc7
mov esi, dword [esp + 0x14c]
lea ecx, [esp + 0x26c]
call fcn.0040f730
lea eax, [esi + 4]
lea edx, [esp + 0x26c]
call fcn.0040f920
mov byte [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov bl, 3
lea edx, [esp + 0x26c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a4], bl
call fcn.00422970
test al, al
jne 0x422e56
lea edi, [esp + 0x18]
call fcn.0040e630
cmp byte [esp + 0x388], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x26c], esi
jne 0x422e42
mov eax, dword [esp + 0x274]
lea ecx, [esp + 0x278]
cmp eax, ecx
je 0x422e42
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x260], 0
mov dword [esp + 0x144], esi
jmp 0x422d80
cmp byte [esp + 0x388], 0
lea esi, [esp + 0x278]
jne 0x422e6e
mov esi, dword [esp + 0x274]
lea ecx, [esp + 0x20]
call fcn.0040f730
lea eax, [esi + 4]
lea edx, [esp + 0x20]
call fcn.0040f920
mov byte [esp + 0x3a4], bl
cmp byte [esp + 0x13c], 0
lea eax, [esp + 0x2c]
jne 0x422e9c
mov eax, dword [esp + 0x28]
add eax, 4
mov edx, ebp
call fcn.0040f920
cmp byte [esp + 0x13c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x20], esi
jne 0x422ece
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x422ece
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x3b0], 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push 0
jne 0x422efe
cmp dword [esp + 0x3c8], 0
jne 0x422ef7
push str.SogouPY
jmp 0x422f14
push str.SogouWB
jmp 0x422f14
cmp dword [esp + 0x3c8], 0
jne 0x422f0f
push str.SogouPY.users
jmp 0x422f14
push str.SogouWB.users
call fcn.0040d150
lea eax, [esp + 0x20]
mov ecx, ebp
call fcn.0040d500
lea ecx, [esp + 0x20]
call fcn.0040d4b0
lea edi, [esp + 0x18]
call fcn.0040e630
cmp byte [esp + 0x388], 0
mov dword [esp + 0x26c], esi
jne 0x422f62
mov eax, dword [esp + 0x274]
lea edx, [esp + 0x278]
cmp eax, edx
je 0x422f62
push eax
call fcn.0046b865
add esp, 4
cmp byte [esp + 0x260], 0
mov dword [esp + 0x144], esi
jne 0x422f8e
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x422f8e
push eax
call fcn.0046b865
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.0046b4eb
add esp, 0x394
ret