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

Disassembly:
push 0xffffffffffffffff
push 0x46fc40
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
push 0x2c
xor ebx, ebx
push str.http:__confignew.3lsoft.com_rili_config.html
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00406710
mov dword [esp + 0x84], ebx
xor eax, eax
mov word [esp + 0x44], ax
push 0xc
mov eax, str.BindData.ini
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
call fcn.00404400
mov ecx, esi
push ecx
add ebp, 0x374
push ebp
lea edi, [esp + 0x24]
mov byte [esp + 0x8c], 1
call fcn.00404df0
mov edi, 8
add esp, 8
cmp dword [eax + 0x18], edi
jb 0x403956
mov eax, dword [eax + 4]
jmp 0x403959
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [esp + 0x34], edi
jb 0x403975
mov edx, dword [esp + 0x20]
push edx
call fcn.00444c3b
add esp, 4
cmp esi, ebx
je 0x4039b7
lea eax, [esp + 0x40]
push eax
push ebp
lea edi, [esp + 0x24]
call fcn.00404df0
mov esi, 8
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x40399a
mov eax, dword [eax + 4]
jmp 0x40399d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x34], esi
jb 0x4039b7
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00444c3b
add esp, 4
push ebx
lea edx, [esp + 0x44]
push edx
push ebp
lea edi, [esp + 0x28]
call fcn.00404df0
sub esp, 0x14
mov byte [esp + 0xa4], 2
mov ecx, esp
mov dword [esp + 0x5c], esp
push ecx
mov ecx, eax
call fcn.0040b8a0
add esp, 4
mov byte [esp + 0xa4], 3
cmp dword [esp + 0x94], 0x10
mov esi, dword [esp + 0x80]
jae 0x403a03
lea esi, [esp + 0x80]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x74], esp
mov byte [ecx + 4], 0
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403a20
sub eax, edi
push eax
push esi
call fcn.00406710
mov byte [esp + 0xc0], 2
call fcn.0040b010
mov esi, 8
mov byte [esp + 0x84], 1
mov bl, al
cmp dword [esp + 0x34], esi
jb 0x403a5f
mov edx, dword [esp + 0x20]
push edx
call fcn.00444c3b
add esp, 4
test bl, bl
je 0x403aab
lea eax, [esp + 0x40]
push eax
push ebp
lea edi, [esp + 0x24]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x403a7f
mov eax, dword [eax + 4]
jmp 0x403a82
add eax, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x3c8]
push 3
mov ecx, eax
call fcn.00401110
add esp, 4
cmp dword [esp + 0x34], esi
jb 0x403aab
mov edx, dword [esp + 0x20]
push edx
call fcn.00444c3b
add esp, 4
cmp dword [esp + 0x58], esi
jb 0x403abe
mov eax, dword [esp + 0x44]
push eax
call fcn.00444c3b
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x74], 0x10
mov word [esp + 0x44], cx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 7
jb 0x403ae5
mov edx, dword [esp + 0x60]
push edx
call fcn.00444c3b
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004516c6
add esp, 0x74
ret 4