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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5725
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov dword [ebp - 4], 1
mov ecx, 0x5364c1
call fcn.004c6d76
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x1c
push 0x104
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.004ca3c0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00404c40
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x24], 0
jne 0x41428a
lea ecx, [ebp - 0x23c]
mov dword [ebp + 0x24], ecx
lea ecx, [ebp + 0x20]
call fcn.004085c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4142ac
lea ecx, [ebp + 0x20]
call fcn.004085c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x28], 0
jg 0x4142d0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], 0
jmp 0x4142dc
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x24], 0x1c
je 0x4142f3
cmp dword [ebp - 0x24], 6
jne 0x414544
push 0x4fdbdc
lea ecx, [ebp + 0x20]
call fcn.004085c0
push eax
call fcn.004d345c
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x414339
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004037a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00408170
mov al, byte [ebp - 0x19]
jmp 0x414581
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00414590
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.0042d5a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41435e
jmp 0x414544
mov edx, dword [ebp - 0x30]
push edx
push 0x2712
mov eax, dword [ebp - 0x10]
push eax
call fcn.004306a0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push 0x2711
mov edx, dword [ebp - 0x10]
push edx
call fcn.004306a0
add esp, 0xc
push 0x414070
push 0x4e2b
mov eax, dword [ebp - 0x10]
push eax
call fcn.004306a0
add esp, 0xc
push 0
push 0x2b
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004306a0
add esp, 0xc
push 5
push 0x44
mov edx, dword [ebp - 0x10]
push edx
call fcn.004306a0
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x10]
push eax
call fcn.004306a0
add esp, 0xc
push 0x413ed0
push 0x4e58
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004306a0
add esp, 0xc
mov edx, dword [ebp + 0x24]
push edx
push 0x2749
mov eax, dword [ebp - 0x10]
push eax
call fcn.004306a0
add esp, 0xc
push 0xa
push 0x4e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004306a0
add esp, 0xc
mov edx, dword [ebp - 0x28]
push edx
push 0xd
mov eax, dword [ebp - 0x10]
push eax
call fcn.004306a0
add esp, 0xc
push 1
push 0x13
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004306a0
add esp, 0xc
push 5
push 0x14
mov edx, dword [ebp - 0x10]
push edx
call fcn.004306a0
add esp, 0xc
push 0xff
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.004ca3c0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push str._I64u_
push 0xff
lea eax, [ebp - 0x138]
push eax
call fcn.00414c40
add esp, 0x14
lea ecx, [ebp - 0x138]
push ecx
push 0x2717
mov edx, dword [ebp - 0x10]
push edx
call fcn.004306a0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042d600
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4144a5
mov byte [ebp - 0x11], 1
jmp 0x4144b0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x24], 0x2a
jne 0x4144bb
jmp 0x414544
cmp dword [ebp - 0x24], 0x1c
jne 0x4144c9
cmp dword [ebp - 0x20], 0xffffffff
je 0x4144c9
jmp 0x414544
cmp dword [ebp - 0x20], 0xffffffff
je 0x4144f1
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jg 0x4144e9
jmp 0x414544
cmp dword [ebp - 0x20], 0
jg 0x4144f1
jmp 0x414544
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x200002
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042d580
add esp, 0xc
cmp dword [ebp - 0x2c], 0x190
jb 0x41451a
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042d560
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x41453f
mov eax, dword [ebp - 0x18]
push eax
call fcn.004d3598
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x4142e3
cmp dword [ebp - 0x18], 0
je 0x41455d
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004d3598
add esp, 4
mov dword [ebp - 0x18], 0
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x1a], dl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004037a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00408170
mov al, byte [ebp - 0x1a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret