Function at 0x42d000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9699
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x57b070]
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
call fcn.00466680
cmp word [eax + 0xaea], 0
lea esi, [eax + 0xaea]
jne 0x42d069
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x42d069
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x42d069
xor esi, esi
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [ebp - 0x260]
call fcn.00462ac0
push 0
push 0
push 0
push 0
push 0
push str.SogouInputComponentsSGKaomojiJson
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0
call fcn.00462ac0
cmp byte [ebp - 0x1c], 0
lea esi, [ebp - 0x12c]
mov ecx, dword [ebp - 0x25c]
cmove esi, dword [ebp - 0x130]
add esi, 4
test ecx, ecx
je 0x42d0da
cmp byte [ebp - 0x144], 0
lea eax, [ebp - 0x254]
cmove eax, dword [ebp - 0x258]
cmp word [eax + ecx*2 + 2], 0x5c
je 0x42d0ea
push 0x5528b0
lea ecx, [ebp - 0x260]
call fcn.004620f0
push esi
lea ecx, [ebp - 0x260]
call fcn.004620f0
cmp byte [ebp - 0x1c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42d11f
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x42d11f
push eax
call fcn.004ac7ec
add esp, 4
push 0
push 0
push 0
push 0
push 0
push str.Collect.json
lea ecx, [ebp - 0x138]
call fcn.00462ac0
cmp byte [ebp - 0x1c], 0
lea esi, [ebp - 0x12c]
mov ecx, dword [ebp - 0x25c]
cmove esi, dword [ebp - 0x130]
add esi, 4
test ecx, ecx
je 0x42d173
cmp byte [ebp - 0x144], 0
lea eax, [ebp - 0x254]
cmove eax, dword [ebp - 0x258]
cmp word [eax + ecx*2 + 2], 0x5c
je 0x42d183
push 0x5528b0
lea ecx, [ebp - 0x260]
call fcn.004620f0
push esi
lea ecx, [ebp - 0x260]
call fcn.004620f0
cmp byte [ebp - 0x1c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42d1b8
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x42d1b8
push eax
call fcn.004ac7ec
add esp, 4
mov byte [ebp - 0x3bc], 0
mov dword [ebp - 0x3c0], 0
push 0
push 0
lea eax, [ebp - 0x3c0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x260]
call fcn.00463480
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0
call fcn.004643f0
call fcn.0042e450
cmp dword [eax + 0x34], 0
jne 0x42d204
mov bl, 1
jmp 0x42d652
mov byte [ebp - 0x3d4], 0
mov dword [ebp - 0x3d8], 0
push ecx
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x260]
call fcn.00463b40
test al, al
jne 0x42d237
xor bl, bl
jmp 0x42d647
push 0x10
call fcn.004a35dc
mov ebx, eax
add esp, 4
mov dword [ebp - 0x3d0], ebx
mov byte [ebp - 4], 0xb
mov byte [ebx + 8], 6
and dword [ebx + 8], 0xfffffeff
push 8
mov dword [ebx + 0xc], 0
call fcn.004a35dc
mov esi, eax
add esp, 4
mov dword [ebp - 0x3a4], esi
mov byte [ebp - 4], 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ee70
mov dword [esi], eax
mov dword [ebx], esi
mov byte [ebp - 4], 0xa
call fcn.0042e450
xor edi, edi
mov dword [ebp - 0x3a4], eax
cmp dword [eax + 0x34], edi
jle 0x42d60b
mov edx, dword [ebp - 0x400]
xor ecx, ecx
mov dword [ebp - 0x390], edx
mov edx, dword [ebp - 0x3f0]
mov dword [ebp - 0x394], edx
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x398], edx
mov edx, dword [ebp - 0x410]
mov dword [ebp - 0x3a0], ecx
mov dword [ebp - 0x39c], edx
nop dword [eax]
mov eax, dword [eax + 0x30]
add eax, ecx
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [ebp - 0x3c8], ecx
mov ecx, dword [eax + 8]
add eax, 0xc
mov dword [ebp - 0x3cc], ecx
lea ecx, [ebp - 0x388]
push eax
call fcn.00461d10
push 0xfa
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xd
push 0
push eax
call fcn.004a64e0
mov eax, dword [ebp - 0x3b0]
add esp, 0xc
and eax, 0xfffffe07
mov dword [ebp - 0x3ac], 0
or eax, 7
mov dword [ebp - 0x3b0], eax
push 8
call fcn.004a35dc
mov esi, eax
add esp, 4
mov dword [ebp - 0x3bc], esi
mov byte [ebp - 4], 0xe
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ee70
mov dword [esi], eax
mov dword [ebp - 0x3b8], esi
cmp byte [ebp - 0x26c], 0
lea ecx, [ebp - 0x110]
push 0
push 0
push 0xfa
push ecx
lea eax, [ebp - 0x37c]
cmove eax, dword [ebp - 0x380]
push 0xffffffffffffffff
add eax, 4
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x42d3b3
mov byte [ebp - 0x110], al
jmp 0x42d3c9
dec eax
mov ecx, 0xf9
cmp eax, 0xfa
cmovge eax, ecx
mov byte [ebp + eax - 0x110], 0
mov eax, dword [ebp - 0x390]
and eax, 0xffffff01
mov dword [ebp - 0x3fc], 0
or eax, 1
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x400], eax
mov eax, ebx
cdq
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x404], edx
mov eax, dword [ebp - 0x394]
and eax, 0xffffff01
mov dword [ebp - 0x3ec], 0
or eax, 1
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3c8]
cdq
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], edx
mov eax, dword [ebp - 0x398]
and eax, 0xffffff01
mov dword [ebp - 0x3dc], 0
or eax, 1
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3cc]
cdq
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], edx
mov byte [ebp - 4], 0x12
lea esi, [ebp - 0x110]
mov eax, dword [ebp - 0x39c]
lea ecx, [esi + 1]
and eax, 0xffffff04
mov dword [ebp - 0x40c], 0
or eax, 0x104
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x410], eax
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x42d4a0
sub esi, ecx
lea eax, [esi + 1]
push eax
call fcn.004b12a2
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42d69c
push esi
lea eax, [ebp - 0x110]
push eax
push ebx
call fcn.004a5f60
add esp, 0xc
mov byte [ebx + esi], 0
mov dword [ebp - 0x418], ebx
lea eax, [ebp - 0x408]
mov byte [ebp - 4], 0x13
push eax
sub esp, 8
lea ecx, [ebp - 0x3b8]
push str.global_id
call fcn.0041dfe0
add esp, 4
mov ecx, eax
call fcn.0041d880
lea eax, [ebp - 0x3f8]
push eax
sub esp, 8
lea ecx, [ebp - 0x3b8]
push str.label_id
call fcn.0041dfe0
add esp, 4
mov ecx, eax
call fcn.0041d880
lea eax, [ebp - 0x3e8]
push eax
sub esp, 8
lea ecx, [ebp - 0x3b8]
push 0x552928
call fcn.0041dfe0
add esp, 4
mov ecx, eax
call fcn.0041d880
lea eax, [ebp - 0x418]
push eax
sub esp, 8
lea ecx, [ebp - 0x3b8]
push str.content
call fcn.0041dfe0
add esp, 4
mov ecx, eax
call fcn.0041d880
mov ebx, dword [ebp - 0x3d0]
lea eax, [ebp - 0x3b8]
push eax
mov ecx, ebx
call fcn.0041e1c0
lea ecx, [ebp - 0x418]
call fcn.0041d7c0
lea ecx, [ebp - 0x3e8]
call fcn.0041d7c0
lea ecx, [ebp - 0x3f8]
call fcn.0041d7c0
lea ecx, [ebp - 0x408]
call fcn.0041d7c0
lea ecx, [ebp - 0x3b8]
call fcn.0041d7c0
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x26c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42d5e9
mov eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x37c]
cmp eax, ecx
je 0x42d5e9
push eax
call fcn.004ac7ec
add esp, 4
mov eax, dword [ebp - 0x3a4]
inc edi
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x130
mov dword [ebp - 0x3a0], ecx
cmp edi, dword [eax + 0x34]
jl 0x42d2e0
cmp byte [ebp - 0x144], 0
lea edx, [ebp - 0x254]
mov ecx, ebx
cmove edx, dword [ebp - 0x258]
add edx, 4
call fcn.004248c0
mov ecx, ebx
mov byte [ebp - 0x389], al
call fcn.0041d7c0
push 0x10
push ebx
call fcn.004a3815
mov bl, byte [ebp - 0x389]
add esp, 8
lea ecx, [ebp - 0x3d8]
call fcn.004643f0
cmp byte [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42d67e
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
cmp eax, ecx
je 0x42d67e
push eax
call fcn.004ac7ec
add esp, 4
mov al, bl
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.004a35cb
mov esp, ebp
pop ebp
ret
push str.Failed_to_allocate_string_value_buffer
lea ecx, [ebp - 0x3c4]
call fcn.00418d30
push 0x57678c
lea eax, [ebp - 0x3c4]
push eax
call fcn.004a598b
int3