Function at 0x425100
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd286
mov eax, dword fs:[0]
push eax
mov eax, 0x12a8
call fcn.00421a20
mov eax, dword [0x519008]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x50]
push 0x40
push 0
push eax
call fcn.00405490
push 0x200
lea eax, [ebp - 0x450]
push 0
push eax
call fcn.00405490
xor eax, eax
mov dword [ebp - 0x1268], 0xa7c2
add esp, 0x18
mov word [ebp - 0x1253], ax
lea ecx, [ebp - 0x1268]
mov byte [ebp - 0x1251], al
mov word [ebp - 0x126b], ax
mov byte [ebp - 0x1269], al
mov dword [ebp - 0x127c], eax
mov dword [ebp - 0x1278], eax
mov dword [ebp - 0x1274], eax
mov dword [ebp - 0x1270], eax
mov byte [ebp - 0x126c], al
call fcn.0042be60
test al, al
jne 0x4251b4
mov word [ebp - 0x1268], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1264], 0
mov dword [ebp - 0x1260], 0
mov dword [ebp - 0x125c], 0
mov dword [ebp - 0x1258], 0
mov byte [ebp - 0x1254], 0
test ecx, ecx
je 0x425237
cmp byte [ecx], 0
je 0x425237
mov dword [ebp - 0x1264], ecx
xor eax, eax
inc eax
cmp byte [eax + ecx], 0
jne 0x4251f7
mov dword [ebp - 0x1260], eax
test eax, eax
jne 0x425210
mov dword [ebp - 0x1258], eax
jmp 0x425237
lea eax, [ebp - 0x1254]
push eax
push ecx
lea ecx, [ebp - 0x125c]
call fcn.0042bf40
test al, al
jne 0x425237
mov dword [ebp - 0x125c], 0
mov byte [ebp - 0x1254], al
lea eax, [ebp - 0x1268]
push 1
push eax
lea edx, [ebp - 0x127c]
lea ecx, [ebp - 0x1264]
call fcn.00428b80
add esp, 8
test al, al
je 0x42589a
mov esi, dword [ebp - 0x1278]
lea eax, [esi + 1]
cmp eax, 0x40
jae 0x425282
push esi
push dword [ebp - 0x127c]
lea eax, [ebp - 0x50]
push eax
call fcn.00407040
add esp, 0xc
mov byte [ebp + esi - 0x50], 0
or edx, 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0042bb20
movzx ecx, byte [ebp - 0x1254]
add ecx, dword [ebp - 0x1258]
mov eax, dword [ebp - 0x1260]
cmp ecx, eax
jb 0x4252ac
mov dword [ebp - 0x1258], eax
jmp 0x4252db
mov dword [ebp - 0x1258], ecx
jb 0x4252bc
mov dword [ebp - 0x1258], eax
jmp 0x4252db
lea eax, [ebp - 0x1254]
push eax
mov eax, dword [ebp - 0x1264]
add eax, ecx
lea ecx, [ebp - 0x125c]
push eax
call fcn.0042bf40
test al, al
jne 0x4252ec
mov dword [ebp - 0x125c], 0
mov byte [ebp - 0x1254], 0
lea eax, [ebp - 0x1268]
push 1
push eax
lea edx, [ebp - 0x127c]
lea ecx, [ebp - 0x1264]
call fcn.00428b80
add esp, 8
test al, al
je 0x42589a
mov esi, dword [ebp - 0x1278]
lea eax, [esi + 1]
cmp eax, 0x200
jae 0x42533f
push esi
push dword [ebp - 0x127c]
lea eax, [ebp - 0x450]
push eax
call fcn.00407040
add esp, 0xc
mov byte [ebp + esi - 0x450], 0
or edx, 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.0042bb20
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_mobile
lea eax, [ebp - 0x950]
push 0x100
push eax
call fcn.004014e0
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_backoffice
lea eax, [ebp - 0xe50]
push 0x100
push eax
call fcn.004014e0
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_js_dev
lea eax, [ebp - 0xa50]
push 0x100
push eax
call fcn.004014e0
lea eax, [ebp - 0xe50]
mov dword [ebp - 0x1254], 0
mov dword [ebp - 0x1260], eax
lea eax, [ebp - 0xa50]
mov dword [ebp - 0x125c], eax
lea eax, [ebp - 0x950]
mov dword [ebp - 0x1258], eax
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s
lea eax, [ebp - 0x250]
push 0x200
push eax
call fcn.004014e0
add esp, 0x50
lea eax, [ebp - 0x1260]
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x250]
push eax
call fcn.0042bd50
lea eax, [ebp - 0x450]
push eax
push str._s_web_backoffice
lea eax, [ebp - 0x250]
push 0x200
push eax
call fcn.004014e0
add esp, 0x14
cmp byte [ebp - 0x250], 0
je 0x42548a
cmp byte [ebp - 0x24f], 0x3a
jne 0x42548a
cmp byte [ebp - 0x24d], 0
mov esi, 3
je 0x42547d
mov al, byte [ebp + esi - 0x250]
cmp al, 0x5c
je 0x425461
cmp al, 0x2f
jne 0x425472
mov edx, esi
lea ecx, [ebp - 0x250]
call fcn.0042a5f0
test al, al
je 0x42548a
inc esi
cmp byte [ebp + esi - 0x250], 0
jne 0x425452
mov edx, esi
lea ecx, [ebp - 0x250]
call fcn.0042a5f0
lea eax, [ebp - 0x450]
push eax
push str._s_web_backoffice_guidb.db3
lea eax, [ebp - 0xa50]
push 0x100
push eax
call fcn.004014e0
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_backoffice_guidb.db3
lea eax, [ebp - 0x250]
push 0x200
push eax
call fcn.004014e0
add esp, 0x24
lea edx, [ebp - 0xa50]
lea ecx, [ebp - 0x250]
call fcn.0042b800
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x850]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x950]
push eax
push 0
push 0xfde9
call edi
test eax, eax
je 0x425893
cmp word [ebp + eax*2 - 0x850], 0
je 0x42551b
xor ecx, ecx
mov word [ebp + eax*2 - 0x850], cx
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425893
test al, 0x10
je 0x425893
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_mobile_config
lea eax, [ebp - 0x850]
push 0x400
push eax
call fcn.004014e0
add esp, 0x14
lea eax, [ebp - 0xd50]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x850]
push eax
push 0
push 0xfde9
call edi
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4255a1
cmp word [ebp + eax*2 - 0xd50], 0
je 0x425598
xor ecx, ecx
mov word [ebp + eax*2 - 0xd50], cx
lea eax, [ebp - 0xd50]
push eax
call esi
lea eax, [ebp - 0x450]
push eax
push str._s_web_config
lea eax, [ebp - 0x250]
push 0x200
push eax
call fcn.004014e0
push 0
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x250]
call fcn.0042bd50
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_mobile_upload
lea eax, [ebp - 0x850]
push 0x400
push eax
call fcn.004014e0
add esp, 0x28
lea eax, [ebp - 0xd50]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x850]
push eax
push 0
push 0xfde9
call edi
test eax, eax
je 0x425633
cmp word [ebp + eax*2 - 0xd50], 0
je 0x42562a
xor ecx, ecx
mov word [ebp + eax*2 - 0xd50], cx
lea eax, [ebp - 0xd50]
push eax
call esi
lea eax, [ebp - 0x450]
push eax
push str._s_web_upload
lea eax, [ebp - 0x250]
push 0x200
push eax
call fcn.004014e0
push 0
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x250]
call fcn.0042bd50
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_mobile_js
lea eax, [ebp - 0x850]
push 0x400
push eax
call fcn.004014e0
add esp, 0x28
lea eax, [ebp - 0x1250]
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x850]
push eax
push 0
push 0xfde9
call edi
test eax, eax
je 0x4256c5
cmp word [ebp + eax*2 - 0x1250], 0
je 0x4256bc
xor ecx, ecx
mov word [ebp + eax*2 - 0x1250], cx
lea eax, [ebp - 0x1250]
push eax
call esi
lea eax, [ebp - 0x450]
push eax
push str._s_web_js
lea eax, [ebp - 0x250]
push 0x200
push eax
call fcn.004014e0
push 0
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x250]
call fcn.0042bd50
push 0x38
lea eax, [ebp - 0x12b4]
push 0
push eax
call fcn.00405490
add esp, 0x20
mov dword [ebp - 0x1290], 0
mov dword [ebp - 0x128c], 0
mov dword [ebp - 0x1280], 0
mov dword [ebp - 0x1284], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1294]
mov eax, dword [0x51dd94]
push 0x80
mov dword [ebp - 0x12b4], 0
mov dword [ebp - 0x12b0], 0
mov dword [ebp - 0x12ac], 0
mov dword [ebp - 0x12a8], 0
mov dword [ebp - 0x129c], 0
mov dword [ebp - 0x12a4], eax
mov dword [ebp - 0x1294], eax
mov byte [ebp - 0x1288], 1
call fcn.00429f00
mov dword [ebp - 0x1280], 8
lea eax, [ebp - 0x450]
mov dword [ebp - 4], 1
push eax
push str._s_web_mobile.rheazip
lea eax, [ebp - 0x850]
push 0x400
push eax
call fcn.004014e0
add esp, 0xc
lea eax, [ebp - 0x850]
lea ecx, [ebp - 0x12b4]
push eax
call fcn.0042cf10
lea eax, [ebp - 0x50]
push eax
push 0x51d9e4
push str._s_temp__s_web_mobile
lea eax, [ebp - 0x850]
push 0x400
push eax
call fcn.004014e0
add esp, 0x10
lea eax, [ebp - 0x850]
lea ecx, [ebp - 0x12b4]
push 0x503d60
push eax
call fcn.0042c890
lea ecx, [ebp - 0x12b4]
call fcn.0042c3e0
lea ecx, [ebp - 0x12b4]
mov dword [ebp - 4], 2
call fcn.0042c3e0
mov byte [ebp - 4], 3
push dword [ebp - 0x1284]
push ecx
lea ecx, [ebp - 0x1294]
call fcn.00401ae0
lea ecx, [ebp - 0x1294]
call fcn.00429fa0
mov dword [ebp - 0x1290], 0
mov dword [ebp - 0x128c], 0
mov byte [ebp - 0x1288], 0
mov dword [ebp - 0x1294], 0
mov dword [ebp - 0x1280], 0
mov dword [ebp - 0x1284], 0
lea ecx, [ebp - 0x1294]
mov byte [ebp - 4], 4
call fcn.00429fa0
push 0x5040c4
jmp 0x42589f
push str.Invalid_parameters
push ebx
call fcn.00447350
add esp, 8
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.00403d8c
mov esp, ebp
pop ebp
ret 8