Function at 0x40a730
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46faa0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
push 0x2b
xor ebx, ebx
push str.http:__confignew.3lsoft.com_rili_first.html
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00406710
mov dword [esp + 0x80], ebx
xor eax, eax
mov word [esp + 0x40], ax
push 0x15
mov eax, str.RiliFirstBindData.ini
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
call fcn.00404400
mov ecx, esi
push ecx
add ebp, 0x278
push ebp
lea edi, [esp + 0x20]
mov byte [esp + 0x88], 1
call fcn.00404df0
mov edi, 8
add esp, 8
cmp dword [eax + 0x18], edi
jb 0x40a7e6
mov eax, dword [eax + 4]
jmp 0x40a7e9
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [esp + 0x30], edi
jb 0x40a805
mov edx, dword [esp + 0x1c]
push edx
call fcn.00444c3b
add esp, 4
cmp esi, ebx
je 0x40a847
lea eax, [esp + 0x3c]
push eax
push ebp
lea edi, [esp + 0x20]
call fcn.00404df0
mov esi, 8
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x40a82a
mov eax, dword [eax + 4]
jmp 0x40a82d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x30], esi
jb 0x40a847
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00444c3b
add esp, 4
push ebx
lea edx, [esp + 0x40]
push edx
push ebp
lea edi, [esp + 0x24]
call fcn.00404df0
sub esp, 0x14
mov byte [esp + 0xa0], 2
mov ecx, esp
mov dword [esp + 0x58], esp
push ecx
mov ecx, eax
call fcn.0040b8a0
add esp, 4
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x90], 0x10
mov esi, dword [esp + 0x7c]
jae 0x40a88d
lea esi, [esp + 0x7c]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x70], esp
mov byte [ecx + 4], 0
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a8b0
sub eax, edi
push eax
push esi
call fcn.00406710
mov byte [esp + 0xbc], 2
call fcn.0040b010
mov esi, 8
mov byte [esp + 0x80], 1
mov bl, al
cmp dword [esp + 0x30], esi
jb 0x40a8ef
mov edx, dword [esp + 0x1c]
push edx
call fcn.00444c3b
add esp, 4
test bl, bl
je 0x40a940
lea eax, [esp + 0x3c]
push eax
push ebp
lea edi, [esp + 0x20]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x40a90f
mov eax, dword [eax + 4]
jmp 0x40a912
add eax, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x298]
push edx
mov edx, dword [ecx + 0x294]
mov ecx, eax
call fcn.00401110
add esp, 4
cmp dword [esp + 0x30], esi
jb 0x40a940
mov eax, dword [esp + 0x1c]
push eax
call fcn.00444c3b
add esp, 4
cmp dword [esp + 0x54], esi
jb 0x40a953
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00444c3b
add esp, 4
xor edx, edx
cmp dword [esp + 0x70], 0x10
mov word [esp + 0x40], dx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 7
jb 0x40a97a
mov eax, dword [esp + 0x5c]
push eax
call fcn.00444c3b
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004516c6
add esp, 0x70
ret 4