Function at 0x412bc0
Capabilities:
Check http status code
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6459a0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6a56e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov byte [ebp - 0x21d], 0
mov dword [ebp - 0x230], 0x1c
push 0x104
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.00619ac0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00404a70
mov dword [ebp - 0x238], eax
cmp dword [ebp + 0x38], 0
jne 0x412c36
lea ecx, [ebp - 0x214]
mov dword [ebp + 0x38], ecx
lea ecx, [ebp + 0x20]
call fcn.00404a70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x412c58
lea ecx, [ebp + 0x20]
call fcn.00404a70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0
cmp dword [ebp + 0x3c], 0
jg 0x412c88
mov dword [ebp - 0x22c], 0xffffffff
mov dword [ebp - 0x234], 0
jmp 0x412c9a
mov edx, dword [ebp + 0x3c]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], 0
cmp dword [ebp - 0x230], 0x1c
je 0x412cba
cmp dword [ebp - 0x230], 6
jne 0x412f9f
push 0x681ac8
lea ecx, [ebp + 0x20]
call fcn.00404a70
push eax
call fcn.00623e2f
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x412d0c
mov byte [ebp - 0x225], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00404be0
mov al, byte [ebp - 0x225]
jmp 0x412fee
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00412b50
add esp, 4
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], edx
call fcn.004396c0
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x412d40
jmp 0x412f9f
mov edx, dword [ebp - 0x238]
push edx
push 0x2712
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0043cb10
add esp, 0xc
mov ecx, dword [ebp - 0x224]
push ecx
push 0x2711
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0043cb10
add esp, 0xc
push 0x412a50
push 0x4e2b
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0043cb10
add esp, 0xc
push 0
push 0x2b
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.0043cb10
add esp, 0xc
push 5
push 0x44
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0043cb10
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0043cb10
add esp, 0xc
push 0x412ae0
push 0x4e58
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.0043cb10
add esp, 0xc
mov edx, dword [ebp + 0x38]
push edx
push 0x2749
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0043cb10
add esp, 0xc
push 0xa
push 0x4e
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.0043cb10
add esp, 0xc
mov edx, dword [ebp - 0x234]
push edx
push 0xd
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0043cb10
add esp, 0xc
push 1
push 0x13
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.0043cb10
add esp, 0xc
push 5
push 0x14
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0043cb10
add esp, 0xc
push 0xff
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.00619ac0
add esp, 0xc
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
push str._I64u_
lea eax, [ebp - 0x110]
push eax
call fcn.004126a0
add esp, 0x10
lea ecx, [ebp - 0x110]
push ecx
push 0x2717
mov edx, dword [ebp - 0x21c]
push edx
call fcn.0043cb10
add esp, 0xc
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00439720
add esp, 4
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x412ec4
mov byte [ebp - 0x21d], 1
jmp 0x412ecf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x230], 0x2a
jne 0x412edd
jmp 0x412f9f
cmp dword [ebp - 0x230], 0x1c
jne 0x412ef4
cmp dword [ebp - 0x22c], 0xffffffff
je 0x412ef4
jmp 0x412f9f
cmp dword [ebp - 0x22c], 0xffffffff
je 0x412f31
mov ecx, dword [ebp - 0x22c]
sub ecx, 1
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x234]
sub edx, 1
mov dword [ebp - 0x234], edx
cmp dword [ebp - 0x234], 0
jg 0x412f26
jmp 0x412f9f
cmp dword [ebp - 0x22c], 0
jg 0x412f31
jmp 0x412f9f
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x218]
push eax
push 0x200002
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.004396a0
add esp, 0xc
cmp dword [ebp - 0x218], 0x190
jb 0x412f69
mov byte [ebp - 0x21d], 0
mov edx, dword [ebp - 0x21c]
push edx
call fcn.00439680
add esp, 4
cmp dword [ebp - 0x224], 0
je 0x412f9a
mov eax, dword [ebp - 0x224]
push eax
call fcn.006240b7
add esp, 4
mov dword [ebp - 0x224], 0
jmp 0x412ca4
cmp dword [ebp - 0x224], 0
je 0x412fc1
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.006240b7
add esp, 4
mov dword [ebp - 0x224], 0
mov dl, byte [ebp - 0x21d]
mov byte [ebp - 0x226], dl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00404be0
mov al, byte [ebp - 0x226]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006158c5
mov esp, ebp
pop ebp
ret