Function at 0x411a40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6610
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4ee318]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x18
push str.Softwareleidianldcloud
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404ef0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 0x20119
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4d5538
push 0x13
push str.utility::RegKey::RegRegOpen
call fcn.0040aaf0
add esp, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x411b09
push dword [ebp - 0x28]
call fcn.0047e7c0
add esp, 4
test edi, edi
jne 0x411b53
push 0xa
push str.InstallDir
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
call fcn.00404ef0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406e90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x411b53
push dword [ebp - 0x28]
call fcn.0047e7c0
add esp, 4
cmp dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
jbe 0x411bb2
lea edx, [ebp - 0x40]
call fcn.004092b0
mov edi, eax
add esi, 0x20
cmp esi, edi
je 0x411b98
cmp dword [esi + 0x14], 8
jb 0x411b7d
push dword [esi]
call fcn.0047e7c0
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00404830
cmp dword [ebp - 0x14], 8
jb 0x411cb0
push dword [ebp - 0x28]
call fcn.0047e7c0
add esp, 4
jmp 0x411cb0
call fcn.004075c0
mov edi, eax
add esi, 0x20
cmp esi, edi
je 0x411beb
cmp dword [esi + 0x14], 8
jb 0x411bd0
push dword [esi]
call fcn.0047e7c0
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00404830
cmp dword [ebp - 0x14], 8
jb 0x411bfc
push dword [ebp - 0x28]
call fcn.0047e7c0
add esp, 4
push 8
push str.leidian_
mov ecx, esi
call fcn.00404750
cmp dword [esi + 0x14], 8
jb 0x411c14
mov eax, dword [esi]
jmp 0x411c16
mov eax, esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x411c5b
cmp dword [esi + 0x14], 8
jb 0x411c2d
mov eax, dword [esi]
jmp 0x411c2f
mov eax, esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x411c5b
cmp eax, 0xb7
je 0x411c5b
push eax
push 0x4d567c
push 0xa1
push str.utility::ufile::makeDir
call fcn.0040aaf0
add esp, 0x10
push 8
push str.ldcloud_
mov ecx, esi
call fcn.00404750
cmp dword [esi + 0x14], 8
jb 0x411c73
mov eax, dword [esi]
jmp 0x411c75
mov eax, esi
push eax
call edi
test eax, eax
jne 0x411cb0
cmp dword [esi + 0x14], 8
jb 0x411c84
mov esi, dword [esi]
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x411cb0
cmp eax, 0xb7
je 0x411cb0
push eax
push 0x4d567c
push 0xa1
push str.utility::ufile::makeDir
call fcn.0040aaf0
add esp, 0x10
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x411cc5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x2c], 0x10
jb 0x411cd6
push dword [ebp - 0x40]
call fcn.0047e7c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret