Function at 0x47df30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dca3f
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x7ce4e4]
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.0049f040
cmp word [eax + 0xd46], 0
lea esi, [eax + 0xd46]
jne 0x47df99
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x47df99
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x47df99
xor esi, esi
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [ebp - 0x238]
call fcn.0049a8e0
push 0
push 0
push 0
push 0
push 0
push str.SogouInputComponentsSGKaomojiJson
lea ecx, [ebp - 0x360]
mov dword [ebp - 4], 0
call fcn.0049a8e0
cmp byte [ebp - 0x244], 0
lea esi, [ebp - 0x354]
mov ecx, dword [ebp - 0x234]
cmove esi, dword [ebp - 0x358]
add esi, 4
test ecx, ecx
je 0x47e00d
cmp byte [ebp - 0x11c], 0
lea eax, [ebp - 0x22c]
cmove eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 + 2], 0x5c
je 0x47e01d
push 0x785c68
lea ecx, [ebp - 0x238]
call fcn.00499e00
push esi
lea ecx, [ebp - 0x238]
call fcn.00499e00
cmp byte [ebp - 0x244], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47e055
mov eax, dword [ebp - 0x358]
lea ecx, [ebp - 0x354]
cmp eax, ecx
je 0x47e055
push eax
call fcn.005cff1c
add esp, 4
push 0
push 0
push 0
push 0
push 0
push str.Collect.json
lea ecx, [ebp - 0x488]
call fcn.0049a8e0
cmp byte [ebp - 0x36c], 0
lea esi, [ebp - 0x47c]
mov ecx, dword [ebp - 0x234]
cmove esi, dword [ebp - 0x480]
add esi, 4
test ecx, ecx
je 0x47e0ac
cmp byte [ebp - 0x11c], 0
lea eax, [ebp - 0x22c]
cmove eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 + 2], 0x5c
je 0x47e0bc
push 0x785c68
lea ecx, [ebp - 0x238]
call fcn.00499e00
push esi
lea ecx, [ebp - 0x238]
call fcn.00499e00
cmp byte [ebp - 0x36c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47e0f4
mov eax, dword [ebp - 0x480]
lea ecx, [ebp - 0x47c]
cmp eax, ecx
je 0x47e0f4
push eax
call fcn.005cff1c
add esp, 4
push 0
lea ecx, [ebp - 0x238]
call fcn.0049b290
call fcn.0047f520
cmp dword [eax + 0x34], 0
jne 0x47e113
mov bl, 1
jmp 0x47e3d2
mov byte [ebp - 0x5c4], 0
mov dword [ebp - 0x5c8], 0
push ecx
lea eax, [ebp - 0x5c8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x238]
call fcn.0049bb20
test al, al
jne 0x47e146
xor bl, bl
jmp 0x47e3c7
push 0x18
call fcn.005be217
add esp, 4
mov dword [ebp - 0x5b8], eax
push 6
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0050f440
mov edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x5b4], edi
call fcn.0047f520
mov ebx, eax
xor esi, esi
cmp dword [ebx + 0x34], esi
jle 0x47e391
xor edi, edi
mov eax, dword [ebx + 0x30]
add eax, edi
mov ecx, dword [eax]
mov dword [ebp - 0x5bc], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x5c0], ecx
mov ecx, dword [eax + 8]
add eax, 0xc
mov dword [ebp - 0x5b8], ecx
lea ecx, [ebp - 0x5b0]
push eax
call fcn.00499b00
push 0xfa
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.005c0be0
add esp, 0xc
lea ecx, [ebp - 0x5e0]
push 7
call fcn.0050f440
push 0
push 0
push 0xfa
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x110]
cmp byte [ebp - 0x494], 0
lea eax, [ebp - 0x5a4]
push ecx
cmove eax, dword [ebp - 0x5a8]
push 0xffffffffffffffff
add eax, 4
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x47e21f
mov byte [ebp - 0x110], al
jmp 0x47e235
dec eax
mov ecx, 0xf9
cmp eax, 0xfa
cmovge eax, ecx
mov byte [ebp + eax - 0x110], 0
push dword [ebp - 0x5bc]
lea ecx, [ebp - 0x640]
call fcn.0050f2b0
push dword [ebp - 0x5c0]
lea ecx, [ebp - 0x628]
mov byte [ebp - 4], 5
call fcn.0050f2b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x610]
push dword [ebp - 0x5b8]
call fcn.0050f2b0
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x5f8]
call fcn.0050f370
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 8
push eax
push str.global_id
lea ecx, [ebp - 0x5e0]
call fcn.0050fd90
mov ecx, eax
call fcn.0050fa00
lea eax, [ebp - 0x628]
push eax
push str.label_id
lea ecx, [ebp - 0x5e0]
call fcn.0050fd90
mov ecx, eax
call fcn.0050fa00
lea eax, [ebp - 0x610]
push eax
push 0x785ce0
lea ecx, [ebp - 0x5e0]
call fcn.0050fd90
mov ecx, eax
call fcn.0050fa00
lea eax, [ebp - 0x5f8]
push eax
push str.content
lea ecx, [ebp - 0x5e0]
call fcn.0050fd90
mov ecx, eax
call fcn.0050fa00
mov ecx, dword [ebp - 0x5b4]
lea eax, [ebp - 0x5e0]
push eax
call fcn.00510450
lea ecx, [ebp - 0x5f8]
call fcn.0050f7f0
lea ecx, [ebp - 0x610]
call fcn.0050f7f0
lea ecx, [ebp - 0x628]
call fcn.0050f7f0
lea ecx, [ebp - 0x640]
call fcn.0050f7f0
lea ecx, [ebp - 0x5e0]
call fcn.0050f7f0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x494], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47e37b
mov eax, dword [ebp - 0x5a8]
lea ecx, [ebp - 0x5a4]
cmp eax, ecx
je 0x47e37b
push eax
call fcn.005cff1c
add esp, 4
inc esi
add edi, 0x130
cmp esi, dword [ebx + 0x34]
jl 0x47e183
mov edi, dword [ebp - 0x5b4]
cmp byte [ebp - 0x11c], 0
lea edx, [ebp - 0x22c]
mov ecx, edi
cmove edx, dword [ebp - 0x230]
add edx, 4
call fcn.00474b80
mov bl, al
test edi, edi
je 0x47e3c7
mov ecx, edi
call fcn.0050f7f0
push 0x18
push edi
call fcn.005be247
add esp, 8
lea ecx, [ebp - 0x5c8]
call fcn.0049c790
cmp byte [ebp - 0x11c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47e3fe
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x22c]
cmp eax, ecx
je 0x47e3fe
push eax
call fcn.005cff1c
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.005be209
mov esp, ebp
pop ebp
ret