Function at 0x406920
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc48
mov eax, dword [0x574674]
xor eax, esp
mov dword [esp + 0xc44], eax
mov eax, dword [esp + 0xc4c]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x206
lea ecx, [esp + 0xa4e]
push ebp
push ecx
mov dword [esp + 0x20], eax
xor ebx, ebx
mov word [esp + 0xa54], bp
call fcn.00437ec0
add esp, 0xc
push 0x206
lea edx, [esp + 0x63e]
push ebp
push edx
mov word [esp + 0x644], bp
call fcn.00437ec0
add esp, 0xc
push 0x206
lea eax, [esp + 0x436]
push ebp
push eax
mov word [esp + 0x43c], bp
call fcn.00437ec0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x846]
push ebp
push ecx
mov word [esp + 0x84c], bp
call fcn.00437ec0
add esp, 0xc
push 0x206
lea edx, [esp + 0x22e]
push ebp
push edx
mov word [esp + 0x234], bp
call fcn.00437ec0
add esp, 0xc
push 0x206
lea eax, [esp + 0x26]
push ebp
push eax
mov word [esp + 0x2c], bp
call fcn.00437ec0
add esp, 0xc
lea edi, [ebp + 0x1a]
lea esi, [esp + 0xa48]
call fcn.00408210
xor eax, eax
jmp 0x406a10
movzx ecx, word [esp + eax + 0xa48]
mov word [esp + eax + 0x228], cx
add eax, 2
cmp cx, bp
jne 0x406a10
lea ecx, [esp + 0x228]
push 0x5c
push ecx
call fcn.00433fa5
add esp, 8
cmp eax, ebp
je 0x406c17
mov word [eax], bp
xor eax, eax
jmp 0x406a50
movzx ecx, word [esp + eax + 0x228]
mov word [esp + eax + 0x638], cx
add eax, 2
cmp cx, bp
jne 0x406a50
lea eax, [esp + 0x638]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x406a72
mov edx, dword [str.Local]
mov ecx, dword [0x566ef0]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [eax], edx
mov edx, dword [0x566ef4]
mov dword [eax + 4], ecx
mov cx, word [0x566ef8]
mov dword [eax + 8], edx
lea edx, [esp + 0x638]
push edx
mov word [eax + 0xc], cx
call esi
test eax, eax
je 0x406abc
mov ebx, 1
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x228]
mov word [esp + eax + 0x430], cx
add eax, 2
cmp cx, bp
jne 0x406ac0
lea eax, [esp + 0x430]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x406ae2
mov ecx, dword [str.LocalLow]
mov edx, dword [0x566f00]
mov dword [eax], ecx
mov ecx, dword [0x566f04]
mov dword [eax + 4], edx
mov edx, dword [0x566f08]
mov dword [eax + 8], ecx
mov ecx, dword [0x566f0c]
mov dword [eax + 0xc], edx
lea edx, [esp + 0x430]
push edx
mov dword [eax + 0x10], ecx
call esi
test eax, eax
mov edi, 1
jne 0x406b2f
mov edi, ebp
xor eax, eax
jmp 0x406b40
movzx ecx, word [esp + eax + 0x228]
mov word [esp + eax + 0x840], cx
add eax, 2
cmp cx, bp
jne 0x406b40
lea eax, [esp + 0x840]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x406b62
mov ecx, dword [str.Roaming]
mov edx, dword [0x566f14]
mov dword [eax], ecx
mov ecx, dword [0x566f18]
mov dword [eax + 4], edx
mov edx, dword [0x566f1c]
mov dword [eax + 8], ecx
mov cx, word [0x566f20]
mov dword [eax + 0xc], edx
lea edx, [esp + 0x840]
push edx
mov word [eax + 0x10], cx
call esi
test eax, eax
mov eax, 1
jne 0x406bb1
mov eax, ebp
cmp ebx, ebp
je 0x406c17
cmp edi, ebp
je 0x406c17
cmp eax, ebp
je 0x406c17
push str.SmartCloudIME.users
lea eax, [esp + 0x434]
push eax
lea ecx, [esp + 0x28]
push 0x566f40
push ecx
call fcn.004338ee
add esp, 0x10
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
jne 0x406bf0
lea eax, [esp + 0x20]
call fcn.00409610
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x406bf7
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00402110
jmp 0x406c20
mov ebx, dword [esp + 0x14]
call fcn.00407ed0
mov ecx, dword [esp + 0xc54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004338df
add esp, 0xc48
ret 4