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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b39b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x260
mov dword [ebp - 4], 1
mov ecx, 0x55be7a
call fcn.0051a674
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x2c], 0x1c
push 0x104
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.004efcf0
add esp, 0xc
lea ecx, [ebx + 8]
call fcn.00403d30
mov dword [ebp - 0x40], eax
cmp dword [ebx + 0x24], 0
jne 0x420e2e
lea ecx, [ebp - 0x268]
mov dword [ebx + 0x24], ecx
lea ecx, [ebx + 0x20]
call fcn.004100c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420e50
lea ecx, [ebx + 0x20]
call fcn.004100c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
cmp dword [ebx + 0x28], 0
jg 0x420e74
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x30], 0
jmp 0x420e80
mov edx, dword [ebx + 0x28]
mov dword [ebp - 0x28], edx
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x2c], 0x1c
je 0x420e97
cmp dword [ebp - 0x2c], 6
jne 0x42111d
xor ecx, ecx
mov byte [ebp - 0x1d], cl
xor edx, edx
mov byte [ebp - 0x1e], dl
xor eax, eax
mov byte [ebp - 0x1f], al
movzx ecx, byte [ebp - 0x1d]
push ecx
movzx edx, byte [ebp - 0x1e]
push edx
movzx eax, byte [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x60]
call fcn.004215a0
mov ecx, eax
call fcn.00421170
mov dword [ebp - 0x38], eax
lea ecx, [ebx + 0x20]
call fcn.004100c0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004f9022
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x420f12
mov byte [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00403e90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x20]
call fcn.0040fee0
mov al, byte [ebp - 0x20]
jmp 0x42115a
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00420d30
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
call fcn.004521a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x420f37
jmp 0x42111d
mov ecx, dword [ebp - 0x40]
push ecx
push 0x2712
mov edx, dword [ebp - 0x14]
push edx
call fcn.00455380
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
push 0x2711
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00455380
add esp, 0xc
push 0x420af0
push 0x4e2b
mov edx, dword [ebp - 0x14]
push edx
call fcn.00455380
add esp, 0xc
push 0
push 0x2b
mov eax, dword [ebp - 0x14]
push eax
call fcn.00455380
add esp, 0xc
push 5
push 0x44
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00455380
add esp, 0xc
push 1
push 0x34
mov edx, dword [ebp - 0x14]
push edx
call fcn.00455380
add esp, 0xc
push 0x420b90
push 0x4e58
mov eax, dword [ebp - 0x14]
push eax
call fcn.00455380
add esp, 0xc
mov ecx, dword [ebx + 0x24]
push ecx
push 0x2749
mov edx, dword [ebp - 0x14]
push edx
call fcn.00455380
add esp, 0xc
push 0xa
push 0x4e
mov eax, dword [ebp - 0x14]
push eax
call fcn.00455380
add esp, 0xc
mov ecx, dword [ebp - 0x30]
push ecx
push 0xd
mov edx, dword [ebp - 0x14]
push edx
call fcn.00455380
add esp, 0xc
push 1
push 0x13
mov eax, dword [ebp - 0x14]
push eax
call fcn.00455380
add esp, 0xc
push 5
push 0x14
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00455380
add esp, 0xc
push 0xff
push 0
lea edx, [ebp - 0x160]
push edx
call fcn.004efcf0
add esp, 0xc
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push str._I64u_
push 0xff
lea edx, [ebp - 0x160]
push edx
call fcn.00420740
add esp, 0x14
lea eax, [ebp - 0x160]
push eax
push 0x2717
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00455380
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
call fcn.00452200
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42107e
mov byte [ebp - 0x15], 1
jmp 0x421089
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x2c], 0x2a
jne 0x421094
jmp 0x42111d
cmp dword [ebp - 0x2c], 0x1c
jne 0x4210a2
cmp dword [ebp - 0x28], 0xffffffff
je 0x4210a2
jmp 0x42111d
cmp dword [ebp - 0x28], 0xffffffff
je 0x4210ca
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jg 0x4210c2
jmp 0x42111d
cmp dword [ebp - 0x28], 0
jg 0x4210ca
jmp 0x42111d
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
push 0x200002
mov eax, dword [ebp - 0x14]
push eax
call fcn.00452180
add esp, 0xc
cmp dword [ebp - 0x34], 0x190
jb 0x4210f3
mov byte [ebp - 0x15], 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00452160
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x421118
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004f8c3d
add esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x420e87
cmp dword [ebp - 0x1c], 0
je 0x421136
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004f8c3d
add esp, 4
mov dword [ebp - 0x1c], 0
mov cl, byte [ebp - 0x15]
mov byte [ebp - 0x21], cl
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00403e90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x20]
call fcn.0040fee0
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret