Function at 0x4e9c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xf4], 0
push 0
lea ecx, [ebp - 4]
call fcn.004d2800
push 0x554fbc
push 0x554fc0
lea eax, [ebp - 8]
push eax
call fcn.00482e00
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00406010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e9c69
lea ecx, [ebp - 8]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.004d2750
lea ecx, [ebp + 8]
call fcn.00406190
jmp 0x4ea137
lea ecx, [ebp - 8]
call fcn.00406010
push eax
call fcn.004d2ec0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e9ca0
lea ecx, [ebp - 8]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.004d2750
lea ecx, [ebp + 8]
call fcn.00406190
jmp 0x4ea137
lea ecx, [ebp - 4]
call fcn.004d2860
push eax
call fcn.004d2cf0
add esp, 4
xor ecx, ecx
test eax, eax
setge cl
test ecx, ecx
jne 0x4e9cd9
lea ecx, [ebp - 8]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.004d2750
lea ecx, [ebp + 8]
call fcn.00406190
jmp 0x4ea137
xor edx, edx
mov word [ebp - 0xc], dx
lea ecx, [ebp - 4]
call fcn.004d2850
test eax, eax
je 0x4e9d7e
lea ecx, [ebp + 8]
call fcn.00406010
push eax
lea ecx, [ebp - 0x90]
call fcn.004eddb0
or dword [ebp - 0xf4], 1
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x7c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x78], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x74], edx
lea ecx, [ebp - 4]
call fcn.004d2870
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xc]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x80]
mov dword [ecx], edx
mov eax, dword [ebp - 0x7c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x78]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x74]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x8c]
call ecx
test eax, eax
jl 0x4e9d7e
movsx edx, word [ebp - 0xc]
test edx, edx
je 0x4e9d7e
mov dword [ebp - 0x100], 1
jmp 0x4e9d88
mov dword [ebp - 0x100], 0
mov al, byte [ebp - 0x100]
mov byte [ebp - 0x69], al
mov ecx, dword [ebp - 0xf4]
and ecx, 1
je 0x4e9dae
and dword [ebp - 0xf4], 0xfffffffe
lea ecx, [ebp - 0x90]
call fcn.0044e100
movzx edx, byte [ebp - 0x69]
test edx, edx
je 0x4ea11f
lea ecx, [ebp - 0x14]
call fcn.004d2900
lea ecx, [ebp - 4]
call fcn.004d2870
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x14]
call fcn.004d2960
push eax
push str.CLOUDRULE
lea ecx, [ebp - 0x98]
call fcn.004d25d0
or dword [ebp - 0xf4], 2
mov ecx, eax
call fcn.00424f50
push eax
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
jl 0x4e9e28
lea ecx, [ebp - 0x14]
call fcn.004d2950
test eax, eax
je 0x4e9e28
mov dword [ebp - 0x108], 1
jmp 0x4e9e32
mov dword [ebp - 0x108], 0
mov cl, byte [ebp - 0x108]
mov byte [ebp - 0x91], cl
mov edx, dword [ebp - 0xf4]
and edx, 2
je 0x4e9e5b
and dword [ebp - 0xf4], 0xfffffffd
lea ecx, [ebp - 0x98]
call fcn.00424f70
movzx eax, byte [ebp - 0x91]
test eax, eax
je 0x4ea117
lea ecx, [ebp - 0x18]
call fcn.004eae70
lea ecx, [ebp - 0x14]
call fcn.004d2970
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x18]
call fcn.004eaed0
push eax
push str.item
lea ecx, [ebp - 0xa0]
call fcn.004d25d0
or dword [ebp - 0xf4], 4
mov ecx, eax
call fcn.00424f50
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x68]
call ecx
test eax, eax
jl 0x4e9ed8
lea ecx, [ebp - 0x18]
call fcn.004eaec0
test eax, eax
je 0x4e9ed8
mov dword [ebp - 0x110], 1
jmp 0x4e9ee2
mov dword [ebp - 0x110], 0
mov dl, byte [ebp - 0x110]
mov byte [ebp - 0x99], dl
mov eax, dword [ebp - 0xf4]
and eax, 4
je 0x4e9f0b
and dword [ebp - 0xf4], 0xfffffffb
lea ecx, [ebp - 0xa0]
call fcn.00424f70
movzx ecx, byte [ebp - 0x99]
test ecx, ecx
je 0x4ea10f
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
call fcn.004eaee0
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jl 0x4ea10f
cmp dword [ebp - 0x1c], 0
jle 0x4ea10f
mov dword [ebp - 0x20], 0
jmp 0x4e9f6b
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x1c]
jge 0x4ea10f
lea ecx, [ebp - 0x24]
call fcn.004d2900
lea ecx, [ebp - 0x18]
call fcn.004eaee0
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x24]
call fcn.004d2960
push eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
test eax, eax
jl 0x4ea102
lea ecx, [ebp - 0x24]
call fcn.004d2950
test eax, eax
je 0x4ea102
lea ecx, [ebp - 0x40]
call fcn.004eaef0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.004d2950
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.004ea150
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], 0
jmp 0x4e9fff
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x28]
jge 0x4ea0fa
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.004eb040
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
jne 0x4ea024
jmp 0x4e9ff6
mov edx, dword [ebp - 0x50]
add edx, 0x220
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.004eadd0
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.004eab70
push eax
lea ecx, [ebp - 0x4c]
call fcn.004dce50
movzx edx, al
test edx, edx
je 0x4ea077
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004eb0f0
add eax, 4
mov ecx, eax
call fcn.004eb070
jmp 0x4ea0f5
lea ecx, [ebp - 0x68]
call fcn.004eaef0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x68]
call fcn.004eb070
sub esp, 0x18
mov ecx, esp
lea edx, [ebp - 0x68]
push edx
call fcn.004eaf20
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x220]
push ecx
lea edx, [ebp - 0xe4]
push edx
call fcn.004ed5c0
add esp, 0x20
push eax
lea ecx, [ebp - 0xc4]
call fcn.004ed5e0
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.004eaba0
lea ecx, [ebp - 0xc4]
call fcn.004eaa30
lea ecx, [ebp - 0xe4]
call fcn.004eaa10
lea ecx, [ebp - 0x68]
call fcn.004eb000
jmp 0x4e9ff6
lea ecx, [ebp - 0x40]
call fcn.004eb000
lea ecx, [ebp - 0x24]
call fcn.004d2790
jmp 0x4e9f62
lea ecx, [ebp - 0x18]
call fcn.004ea9f0
lea ecx, [ebp - 0x14]
call fcn.004d2790
lea ecx, [ebp - 8]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.004d2750
lea ecx, [ebp + 8]
call fcn.00406190
mov esp, ebp
pop ebp
ret 8