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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], edx
push edi
mov ecx, 0x51bcaa
call fcn.004dd914
push 0x104
lea eax, [esp + 0x134]
mov byte [esp + 0x17], 0
push 0
push eax
mov edi, 0x1c
call fcn.004b4010
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
test esi, esi
push dword [ebp + 0x20]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x134]
cmovne eax, esi
mov dword [esp + 0x28], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408345
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
or ebx, 0xffffffff
test ecx, ecx
mov dword [esp + 0x1c], eax
cmovg ebx, ecx
nop dword [eax]
cmp edi, 0x1c
je 0x40836e
cmp edi, 6
jne 0x40856b
push 0x5068ec
push dword [ebp + 0x20]
call fcn.004bd163
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x408571
push eax
call fcn.004bd771
add esp, 4
mov edi, eax
mov esi, edx
push 2
push 0
push 0
push dword [esp + 0x20]
call fcn.004bda9b
push dword [esp + 0x24]
call fcn.004bd771
add esp, 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
push 0
push esi
push edi
mov edi, dword [esp + 0x20]
push edi
call fcn.004bda9b
add esp, 0x10
call fcn.00416db0
mov esi, eax
test esi, esi
je 0x408562
push dword [esp + 0x20]
push 0x2712
push esi
call fcn.00419f90
add esp, 0xc
push edi
push 0x2711
push esi
call fcn.00419f90
add esp, 0xc
push 0x408120
push 0x4e2b
push esi
call fcn.00419f90
add esp, 0xc
push 0
push 0x2b
push esi
call fcn.00419f90
add esp, 0xc
push 5
push 0x44
push esi
call fcn.00419f90
add esp, 0xc
push 1
push 0x34
push esi
call fcn.00419f90
add esp, 0xc
push 0x408160
push 0x4e58
push esi
call fcn.00419f90
add esp, 0xc
push dword [esp + 0x24]
push 0x2749
push esi
call fcn.00419f90
add esp, 0xc
push 0xa
push 0x4e
push esi
call fcn.00419f90
add esp, 0xc
push dword [esp + 0x1c]
push 0xd
push esi
call fcn.00419f90
add esp, 0xc
push 1
push 0x13
push esi
call fcn.00419f90
add esp, 0xc
push 5
push 0x14
push esi
call fcn.00419f90
add esp, 0xc
lea eax, [esp + 0x30]
push 0xff
push 0
push eax
call fcn.004b4010
add esp, 0xc
lea eax, [esp + 0x30]
push dword [esp + 0x28]
push dword [esp + 0x30]
push str._I64u_
push 0xff
push eax
call fcn.00407dc0
add esp, 0x14
lea eax, [esp + 0x30]
push eax
push 0x2717
push esi
call fcn.00419f90
add esp, 0xc
push esi
call fcn.00416e10
mov edi, eax
add esp, 4
test edi, edi
jne 0x408544
mov byte [esp + 0x13], 1
cmp ebx, 0xffffffff
je 0x408501
mov eax, dword [esp + 0x1c]
dec ebx
dec eax
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x40855e
test ebx, ebx
jle 0x40855e
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0x200002
push esi
call fcn.00416d90
add esp, 0xc
cmp dword [esp + 0x18], 0x190
sbb al, al
and byte [esp + 0x13], al
push esi
call fcn.00416d70
add esp, 4
push dword [esp + 0x14]
call fcn.004bcd7e
add esp, 4
jmp 0x408360
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x2a
je 0x40855e
cmp edi, 0x1c
jne 0x4084ea
cmp ebx, 0xffffffff
je 0x408501
mov edi, dword [esp + 0x14]
push edi
call fcn.004bcd7e
add esp, 4
mov bl, byte [esp + 0x13]
jmp 0x408573
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x4085a3
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408599
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085d9
push ecx
push edx
call fcn.004b09a5
add esp, 8
mov eax, dword [ebp + 0x20]
or esi, 0xffffffff
mov dword [ebp + 0x18], 0
add eax, 0xfffffff0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4085d0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004b8090
int3