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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x254], ecx
push 0x596c9c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x436f8c
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a4eaf
add esp, 8
test eax, eax
jne 0x436f85
mov eax, dword [ebp - 0x238]
mov dword [ebp - 4], eax
jmp 0x436f8c
mov dword [ebp - 4], 0
mov byte [ebp - 0x218], 0
push 0x207
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.0049e690
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.0049ea30
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x596cc0
lea edx, [ebp - 0x218]
push edx
call fcn.0049ea40
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x436ffd
lea ecx, [ebp - 0x218]
push ecx
call fcn.00436e50
add esp, 4
cmp dword [ebp - 4], 0
je 0x43700f
mov dword [ebp - 0x258], 0x596cc4
jmp 0x437019
mov dword [ebp - 0x258], 0x596cc8
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.004a4d89
add esp, 0xc
test eax, eax
je 0x437044
mov eax, 2
jmp 0x437211
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 4]
push eax
call sym.SCWBTool.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.SCWBTool.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.SCWBTool.exe_curl_easy_setopt
add esp, 0xc
push 0x436ca0
push 0x4e2b
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 4]
push ecx
call sym.SCWBTool.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.SCWBTool.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.SCWBTool.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.SCWBTool.exe_curl_easy_setopt
add esp, 0xc
push 0x436d20
push 0x4e58
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 4]
push edx
call sym.SCWBTool.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.SCWBTool.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.004a4c38
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.SCWBTool.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.004a3b19
add esp, 4
mov edx, dword [ebp - 0x254]
mov dword [edx + 0x10], 0
cmp dword [ebp - 0xc], 0
je 0x4371b2
mov eax, 3
jmp 0x437211
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.SCWBTool.exe_curl_easy_getinfo
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4371f9
cmp dword [ebp - 8], 0xc8
je 0x4371f9
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 3
jmp 0x437211
cmp dword [ebp - 0xc], 0x2a
jne 0x437208
mov eax, 1
jmp 0x437211
xor eax, eax
jmp 0x437211
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 0xc