Function at 0x404d60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c57e
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4d506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp + 0x10]
lea esi, [eax + 0x6c]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x168], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x404dc6
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x54
cmp ecx, ebx
je 0x404de4
push 0xffffffffffffffff
push 0
push ebx
call fcn.00406500
cmp dword [ebx + 0x14], 8
jb 0x404dee
mov eax, dword [ebx]
jmp 0x404df0
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x10], 0
jne 0x404e04
xor edi, edi
jmp 0x405103
push 2
push ecx
push 0x4b1158
mov ecx, ebx
call fcn.00405b30
cmp eax, 0xffffffff
je 0x404e5b
push eax
push 0
lea eax, [ebp - 0x15c]
mov ecx, ebx
push eax
call fcn.00405690
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x114]
push eax
call fcn.00405330
mov edx, dword [ebp - 0x148]
cmp edx, 8
jb 0x404e5b
mov ecx, dword [ebp - 0x15c]
inc edx
push 2
call fcn.004044e0
add esp, 4
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 0x10
jb 0x404eba
mov eax, dword [edi]
jmp 0x404ebc
mov eax, edi
mov ebx, dword [sym.imp.VCRUNTIME140.dll_strstr]
push 0x4b1160
push eax
call ebx
add esp, 8
test eax, eax
jne 0x404f10
cmp dword [edi + 0x14], 0x10
jb 0x404edb
mov eax, dword [edi]
jmp 0x404edd
mov eax, edi
push str.https:__
push eax
call ebx
add esp, 8
test eax, eax
jne 0x404f10
push 7
push str.http:__
lea ecx, [ebp - 0x12c]
call fcn.00406080
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x12c]
call fcn.004062a0
jmp 0x404f26
lea eax, [ebp - 0x12c]
cmp eax, edi
je 0x404f26
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00406180
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
mov edi, dword [ebp - 0x114]
mov ecx, edi
cmovae eax, dword [ebp - 0x12c]
sub esp, 8
push eax
call fcn.00404a50
mov bl, al
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x114]
push eax
push 0x200002
push dword [edi + 0x30]
call fcn.00462c50
mov ecx, dword [ebp - 0x114]
add esp, 0xc
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x114], ecx
test bl, bl
jne 0x40500d
mov ebx, dword [edi + 0x30]
test ebx, ebx
jne 0x404fa5
mov ecx, dword [ebp - 0x160]
push 0x1a
push str.InitLibCurl_is_not_invoked
call fcn.00406080
jmp 0x40508f
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x110]
push eax
push 0x271a
push ebx
call fcn.00466640
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404fd6
sub ecx, edx
je 0x404ff8
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x110]
push eax
call fcn.00405990
jmp 0x40508f
mov eax, dword [ebp - 0x160]
add edi, 0x34
cmp eax, edi
je 0x40508f
mov ecx, eax
jmp 0x405085
mov ebx, dword [ebp - 0x160]
lea eax, [edi + 0x18]
cmp ebx, eax
je 0x405026
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00406180
cmp dword [ebx + 0x10], 0
jne 0x405079
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x110]
push eax
push 0x271a
push dword [edi + 0x30]
call fcn.00466640
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405060
sub ecx, edx
je 0x405079
lea eax, [ebp - 0x110]
mov ecx, ebx
push eax
call fcn.00405990
lea eax, [ebp - 0x144]
cmp eax, edi
je 0x40508f
mov ecx, eax
push 0xffffffffffffffff
push 0
push edi
call fcn.00406180
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4050ab
mov ecx, dword [ebp - 0x12c]
inc edx
push 1
call fcn.004044e0
add esp, 4
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x4050e2
mov ecx, dword [ebp - 0x144]
inc edx
push 1
call fcn.004044e0
add esp, 4
mov edi, dword [ebp - 0x114]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x405122
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049abdf
mov esp, ebp
pop ebp
ret 0x14