Function at 0x4bd9c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596460
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x634384]
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
mov edi, ecx
call fcn.004b0bc0
mov ebx, eax
call fcn.004917e0
lea esi, [eax + 0x1f4]
lea edx, [esi + 4]
lock bts dword [edx], 0
jb 0x4bda1f
mov ecx, dword [esi + 8]
call fcn.004ed240
push esi
lea ecx, [esi + 0xc]
push ecx
mov ecx, eax
call fcn.00432290
mov byte [esi], al
movzx esi, byte [esi]
lea ecx, [ebp - 0x40]
push 0x10
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push str.Scan_EnableCloud
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00413650
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push esi
push eax
mov ecx, ebx
call fcn.004ffe10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004100d0
cmp byte [edi + 0x2c], 0
je 0x4bdae2
call fcn.004917e0
lea ecx, [eax + 0x364]
lock bts dword [ecx], 0
mov dword [eax + 0x360], 0
call fcn.004b0bc0
push 0x11
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov esi, eax
push str.Cloud_CacheEnable
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00413650
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push 0
push eax
mov ecx, esi
call fcn.004ffe10
jmp 0x4bdd8c
push str._s_Doctor_Web
lea ecx, [ebp - 0x5c]
call fcn.004343a0
mov esi, eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.00446200
add esp, 4
mov byte [ebp - 4], 3
mov ecx, esi
push eax
call fcn.00442170
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00434790
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004100d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.0041ba60
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0xffffffff
jne 0x4bdb62
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call esi
push 0xd
push str.Thunderstorm
lea ecx, [ebp - 0x40]
call fcn.00413780
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4bdb94
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call esi
push 9
push str.cache.db
lea ecx, [ebp - 0x40]
call fcn.00413780
call fcn.004917e0
lea esi, [eax + 0x360]
lea eax, [esi + 4]
lock bts dword [eax], 0
jb 0x4bdbce
mov ecx, dword [esi + 8]
call fcn.004ed240
push esi
lea ecx, [esi + 0xc]
push ecx
mov ecx, eax
call fcn.00432160
mov dword [esi], eax
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
call fcn.004917e0
lea esi, [eax + 0x384]
lea eax, [esi + 4]
lock bts dword [eax], 0
jb 0x4bdbfe
mov ecx, dword [esi + 8]
call fcn.004ed240
push esi
lea ecx, [esi + 0xc]
push ecx
mov ecx, eax
call fcn.00432160
mov dword [esi], eax
mov ebx, dword [esi]
call fcn.004917e0
lea esi, [eax + 0x3a8]
lea eax, [esi + 4]
lock bts dword [eax], 0
jb 0x4bdc2b
mov ecx, dword [esi + 8]
call fcn.004ed240
push esi
lea ecx, [esi + 0xc]
push ecx
mov ecx, eax
call fcn.00432160
mov dword [esi], eax
mov edi, dword [esi]
cmp edi, 0x78
jb 0x4bdc3a
cmp edi, 0x258
jbe 0x4bdc3f
mov edi, 0x258
call fcn.004b0bc0
push 0xf
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov esi, eax
push str.Cloud_CachePath
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00413650
mov byte [ebp - 4], 8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004fff40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004100d0
call fcn.004b0bc0
push 0x11
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov esi, eax
push str.Cloud_CacheEnable
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00413650
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push dword [ebp - 0x60]
mov ecx, esi
push eax
call fcn.004ffe10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004100d0
call fcn.004b0bc0
push 0x11
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov esi, eax
push str.Cloud_CacheToDisk
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00413650
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push ebx
push eax
mov ecx, esi
call fcn.004ffe10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004100d0
call fcn.004b0bc0
push 0x12
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov esi, eax
push str.Cloud_CacheTimeout
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00413650
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
push edi
push eax
mov ecx, esi
call fcn.004ffe10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004100d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004100d0
call fcn.00484b90
mov ecx, eax
call fcn.004fb830
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.005395e6
mov esp, ebp
pop ebp
ret