Function at 0x419460
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x24cc
call fcn.004acae0
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebx, ecx
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
push 0x4e7460
push 1
push esi
push 0x4e7450
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x419adb
cmp dword [esp + 0x1c], esi
je 0x419adb
lea ecx, [ebx + 0x5d0c8]
mov word [esp + 0x4c], 8
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, dword [esp + 0x4c]
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
sub esp, 0x10
mov eax, dword [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x50], esi
mov edx, dword [eax]
push eax
mov dword [ecx], ebp
mov ebp, dword [esp + 0x68]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x70]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebp
call dword [edx + 0xe8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [esp + 0x3c], 0xffff
jne 0x419ad1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], esi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
test eax, eax
jl 0x419ad1
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x419ad1
push str.metalink
push eax
call fcn.00470560
mov ebp, eax
add esp, 8
cmp ebp, esi
mov dword [esp + 0x64], ebp
je 0x419ac7
mov edx, dword [ebp]
lea eax, [esp + 0x30]
push eax
push ebp
mov dword [esp + 0x38], esi
call dword [edx + 0x30]
test eax, eax
jl 0x419ac0
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x419ac0
push str.files
push eax
call fcn.00470560
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x5c], edi
je 0x419ab6
mov ecx, dword [edi]
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], esi
call dword [ecx + 0x30]
test eax, eax
jl 0x419ab0
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x419ab0
lea edx, [esp + 0x48]
mov dword [esp + 0x48], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x18]
mov dword [ebx + 0x268c], eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [ebx + 0x2688]
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x419aa6
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x419aa6
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x419a9c
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x419a9c
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.file
push eax
call ebp
add esp, 8
test eax, eax
jne 0x419a8d
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], esi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x419a8d
cmp dword [esp + 0x24], esi
je 0x419a8d
mov eax, dword [esp + 0x18]
push str.name
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.00470620
mov edx, eax
add esp, 0xc
mov ecx, dword [edx]
cmp cx, 8
mov eax, dword [edx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x58], edx
jne 0x4196a9
cmp eax, esi
je 0x4196a9
push eax
push 0x4f6580
lea eax, [ebx + 0x62840]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov ecx, dword [esp + 0x24]
push str.resources
push ecx
call fcn.00470560
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x60], edi
je 0x419a7f
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], esi
call dword [edx + 0x30]
test eax, eax
jl 0x419a79
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x419a79
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x419a6f
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x419a6f
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
test eax, eax
jl 0x419a4e
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x419a4e
push 0x4f660c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x419a39
mov edx, dword [esp + 0x10]
push str.type
lea eax, [esp + 0x80]
push edx
push eax
call fcn.00470620
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
cmp ax, 8
mov edx, dword [ecx + 4]
mov dword [esp + 0x70], edx
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x78], ecx
jne 0x419a39
push str.http
push edi
call ebp
add esp, 8
test eax, eax
je 0x4197aa
push 0x4f80f4
push edi
call ebp
add esp, 8
test eax, eax
jne 0x419a39
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
mov word [esp + 0x4c], si
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x78]
test eax, eax
jl 0x419a39
cmp word [esp + 0x4c], 8
jne 0x419a39
mov edx, dword [esp + 0x54]
cmp edx, esi
je 0x419a39
mov ecx, 0x913
xor eax, eax
lea edi, [esp + 0x90]
mov word [esp + 0x8c], si
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push esi
push eax
push edx
call fcn.00414f50
add esp, 0xc
test eax, eax
je 0x419a39
mov ecx, dword [ebx + 0x62a7c]
mov edx, dword [ebx + 0x62a80]
add ebx, 0x62a74
sub edx, ecx
mov eax, 0x70cc729
mov ebp, ecx
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x41994e
mov edi, dword [ebx + 4]
cmp edi, esi
je 0x419863
mov edx, ecx
mov eax, 0x70cc729
sub edx, edi
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov esi, edx
ja 0x419868
mov esi, 1
test edi, edi
jne 0x419870
xor edx, edx
jmp 0x419883
sub ecx, edi
mov eax, 0x70cc729
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + esi]
test eax, eax
mov dword [esp + 0x68], eax
jge 0x419890
xor eax, eax
lea edx, [eax + eax*8]
shl edx, 4
add edx, eax
lea eax, [eax + edx*4]
shl eax, 4
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, dword [ebx + 4]
add esp, 4
cmp esi, ebp
mov dword [esp + 0x44], eax
mov edi, eax
je 0x4198ce
push esi
push edi
call fcn.0041a060
add esi, 0x2450
add esp, 8
add edi, 0x2450
cmp esi, ebp
jne 0x4198b4
lea ecx, [esp + 0x8c]
push ecx
push 1
push edi
mov ecx, ebx
call fcn.00419fb0
mov edx, dword [ebx + 8]
add edi, 0x2450
push edi
push edx
push ebp
mov ecx, ebx
call fcn.00419f70
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.004bf9f0
mov edx, dword [ebx + 4]
push edx
call fcn.004acab9
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x48]
add esp, 4
lea ecx, [eax + eax*8]
shl ecx, 4
add ecx, eax
lea edx, [eax + ecx*4]
mov ecx, ebx
shl edx, 4
add edx, esi
mov dword [ebx + 0xc], edx
call fcn.00419c90
inc eax
mov dword [ebx + 4], esi
lea ecx, [eax + eax*8]
shl ecx, 4
add ecx, eax
lea edx, [eax + ecx*4]
shl edx, 4
add edx, esi
xor esi, esi
mov dword [ebx + 8], edx
jmp 0x419a35
mov edx, ecx
mov eax, 0x70cc729
sub edx, ebp
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x4199cb
lea edx, [ebp + 0x2450]
push edx
push ecx
push ebp
mov ecx, ebx
call fcn.00419f70
mov edi, dword [ebx + 8]
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
sub ecx, ebp
mov eax, 0x70cc729
imul ecx
sar edx, 8
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, ebx
sub eax, edx
push eax
push edi
call fcn.00419fb0
mov eax, dword [ebx + 8]
cmp ebp, eax
je 0x419a2e
mov edi, ebp
add ebp, 0x2450
mov ecx, 0x914
lea esi, [esp + 0x8c]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x4199af
jmp 0x419a2c
lea eax, [ecx - 0x2450]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x50], eax
call fcn.00419f70
mov edx, dword [ebx + 8]
lea eax, [edx - 0x2450]
cmp ebp, eax
je 0x419a08
sub edx, 0x2450
sub eax, 0x2450
mov ecx, 0x914
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4199ec
xor esi, esi
lea eax, [ebp + 0x2450]
cmp ebp, eax
je 0x419a2e
mov edi, ebp
add ebp, 0x2450
mov ecx, 0x914
lea esi, [esp + 0x8c]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x419a12
xor esi, esi
add dword [ebx + 8], 0x2450
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [esp + 0x60]
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jge 0x41970d
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp]
push ebp
call dword [edx + 8]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebx + 0x62a78]
cmp eax, esi
je 0x419b08
mov ecx, dword [ebx + 0x62a7c]
sub ecx, eax
mov eax, 0x70cc729
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x419b08
mov dword [esp + 0x40], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
add ebx, 0x5d0c8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24cc
ret