Function at 0x425160
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x5ca3a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x254], ecx
push 0x571600
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4251bc
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00483d63
add esp, 8
test eax, eax
jne 0x4251b5
mov eax, dword [ebp - 0x238]
mov dword [ebp - 4], eax
jmp 0x4251bc
mov dword [ebp - 4], 0
mov byte [ebp - 0x218], 0
push 0x207
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.0047d440
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.0047d4c0
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x571624
lea edx, [ebp - 0x218]
push edx
call fcn.0047d4d0
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42522d
lea ecx, [ebp - 0x218]
push ecx
call fcn.00425080
add esp, 4
cmp dword [ebp - 4], 0
je 0x42523f
mov dword [ebp - 0x258], 0x571628
jmp 0x425249
mov dword [ebp - 0x258], 0x57162c
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x254]
add ecx, 0x10
push ecx
call fcn.00483c9b
add esp, 0xc
test eax, eax
je 0x425274
mov eax, 2
jmp 0x425441
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call sym.WnTool.exe_curl_easy_reset
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push 0x2712
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
push 0
push 0x2c
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
push 0x424ed0
push 0x4e2b
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
mov edx, dword [ebp - 0x254]
push edx
push 0x2711
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x15
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
push 0
push 0x2b
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
push 0x424f50
push 0x4e58
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
mov eax, dword [ebp - 0x254]
push eax
push 0x2749
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call sym.WnTool.exe_curl_easy_setopt
add esp, 0xc
mov eax, dword [ebp - 0x254]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x254]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x254]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
call fcn.00483b4a
mov edx, dword [ebp - 0x254]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x254]
mov byte [eax + 0x28], 0
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call sym.WnTool.exe_curl_easy_perform
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004833e1
add esp, 4
mov edx, dword [ebp - 0x254]
mov dword [edx + 0x10], 0
cmp dword [ebp - 0xc], 0
je 0x4253e2
mov eax, 3
jmp 0x425441
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x200002
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call sym.WnTool.exe_curl_easy_getinfo
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x425429
cmp dword [ebp - 8], 0xc8
je 0x425429
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 3
jmp 0x425441
cmp dword [ebp - 0xc], 0x2a
jne 0x425438
mov eax, 1
jmp 0x425441
xor eax, eax
jmp 0x425441
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047da50
mov esp, ebp
pop ebp
ret 0xc