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

Disassembly:
mov eax, 0x24d0
call fcn.0051e250
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebx, ecx
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push 0x52e150
push 1
push esi
push 0x52e130
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42b19b
cmp dword [esp + 0x18], esi
je 0x42b19b
lea ecx, [ebx + 0x5d0d0]
mov word [esp + 0x50], 8
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, dword [esp + 0x50]
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
sub esp, 0x10
mov eax, dword [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x58], esi
mov edx, dword [eax]
push eax
mov dword [ecx], ebp
mov ebp, dword [esp + 0x6c]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x74]
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 + 0x44], 0xffff
jne 0x42b191
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
test eax, eax
jl 0x42b191
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x42b191
push str.metalink
push eax
call fcn.004c1cd0
mov ebp, eax
add esp, 8
cmp ebp, esi
mov dword [esp + 0x64], ebp
je 0x42b187
mov edx, dword [ebp]
lea eax, [esp + 0x34]
push eax
push ebp
mov dword [esp + 0x3c], esi
call dword [edx + 0x30]
test eax, eax
jl 0x42b180
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x42b180
push str.files
push eax
call fcn.004c1cd0
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x60], edi
je 0x42b176
mov ecx, dword [edi]
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x2c], esi
call dword [ecx + 0x30]
test eax, eax
jl 0x42b170
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x42b170
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x14]
mov dword [ebx + 0x2694], eax
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [ebx + 0x2690]
mov dword [esp + 0x18], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x42b166
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x42b166
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 0x42b15c
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x42b15c
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.file
push eax
call ebp
add esp, 8
test eax, eax
jne 0x42b14d
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], esi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x42b14d
cmp dword [esp + 0x20], esi
je 0x42b14d
mov eax, dword [esp + 0x14]
push str.name
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.004c1d90
mov edx, eax
add esp, 0xc
mov ecx, dword [edx]
cmp cx, 8
mov eax, dword [edx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x5c], edx
jne 0x42ad49
cmp eax, esi
je 0x42ad49
push eax
push 0x53d4a4
lea eax, [ebx + 0x62848]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov ecx, dword [esp + 0x20]
push str.resources
push ecx
call fcn.004c1cd0
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x68], edi
je 0x42b13f
mov edx, dword [edi]
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], esi
call dword [edx + 0x30]
test eax, eax
jl 0x42b139
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x42b139
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x1c]
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 0x42b12f
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x42b12f
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
test eax, eax
jl 0x42b10e
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x42b10e
push 0x53fc98
push eax
call ebp
add esp, 8
test eax, eax
jne 0x42b0f9
mov edx, dword [esp + 0x10]
push str.type
lea eax, [esp + 0x80]
push edx
push eax
call fcn.004c1d90
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 0x42b0f9
push str.http
push edi
call ebp
add esp, 8
test eax, eax
je 0x42ae4a
push 0x53fc78
push edi
call ebp
add esp, 8
test eax, eax
jne 0x42b0f9
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x50]
mov word [esp + 0x50], si
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x78]
test eax, eax
jl 0x42b0f9
cmp word [esp + 0x50], 8
jne 0x42b0f9
mov edx, dword [esp + 0x58]
cmp edx, esi
je 0x42b0f9
mov ecx, 0x914
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.00426530
add esp, 0xc
test eax, eax
je 0x42b0f9
mov ecx, dword [ebx + 0x62c8c]
mov edi, dword [ebx + 0x62c90]
add ebx, 0x62c84
sub edi, ecx
mov eax, 0xe1800e19
mov ebp, ecx
imul edi
add edx, edi
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x42b00a
mov esi, dword [ebx + 4]
test esi, esi
je 0x42af07
mov edi, ecx
mov eax, 0xe1800e19
sub edi, esi
imul edi
add edx, edi
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov edi, edx
ja 0x42af0c
mov edi, 1
test esi, esi
jne 0x42af14
xor edx, edx
jmp 0x42af29
sub ecx, esi
mov eax, 0xe1800e19
imul ecx
add edx, ecx
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [edx + edi]
test ecx, ecx
mov dword [esp + 0x48], ecx
jge 0x42af36
xor ecx, ecx
mov eax, ecx
shl eax, 5
sub eax, ecx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 2
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
mov eax, dword [ebx + 4]
add esp, 4
cmp eax, ebp
mov esi, edi
mov dword [esp + 0x3c], eax
je 0x42af88
jmp 0x42af67
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.0042b4a0
mov eax, dword [esp + 0x44]
add esp, 8
add eax, 0x2454
add esi, 0x2454
cmp eax, ebp
mov dword [esp + 0x3c], eax
jne 0x42af63
lea eax, [esp + 0x8c]
mov ecx, ebx
push eax
push 1
push esi
call fcn.0042b3f0
mov ecx, dword [ebx + 8]
add esi, 0x2454
push esi
push ecx
push ebp
mov ecx, ebx
call fcn.0042b3b0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
push edx
push eax
mov ecx, ebx
call fcn.004f0f70
mov ecx, dword [ebx + 4]
push ecx
call fcn.0051e1fa
mov ecx, dword [esp + 0x4c]
add esp, 4
mov eax, ecx
shl eax, 5
sub eax, ecx
mov ecx, ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edi + edx*4]
mov dword [ebx + 0xc], eax
call fcn.0042b350
inc eax
mov dword [ebx + 4], edi
mov ecx, eax
shl ecx, 5
sub ecx, eax
xor esi, esi
lea ecx, [ecx + ecx*2]
lea eax, [ecx + ecx*4]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*4]
mov dword [ebx + 8], edx
jmp 0x42b0f5
mov edi, ecx
mov eax, 0xe1800e19
sub edi, ebp
imul edi
add edx, edi
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x42b08b
lea edx, [ebp + 0x2454]
push edx
push ecx
push ebp
mov ecx, ebx
call fcn.0042b3b0
mov edi, dword [ebx + 8]
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
sub ecx, ebp
mov eax, 0xe1800e19
imul ecx
add edx, ecx
mov eax, 1
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebx
sub eax, edx
push eax
push edi
call fcn.0042b3f0
mov eax, dword [ebx + 8]
cmp ebp, eax
je 0x42b0ee
mov edi, ebp
add ebp, 0x2454
mov ecx, 0x915
lea esi, [esp + 0x8c]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x42b06f
jmp 0x42b0ec
lea eax, [ecx - 0x2454]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x54], eax
call fcn.0042b3b0
mov edx, dword [ebx + 8]
lea eax, [edx - 0x2454]
cmp ebp, eax
je 0x42b0c8
sub edx, 0x2454
sub eax, 0x2454
mov ecx, 0x915
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x42b0ac
xor esi, esi
lea eax, [ebp + 0x2454]
cmp ebp, eax
je 0x42b0ee
mov edi, ebp
add ebp, 0x2454
mov ecx, 0x915
lea esi, [esp + 0x8c]
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x42b0d2
xor esi, esi
add dword [ebx + 8], 0x2454
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [esp + 0x68]
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 + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jge 0x42adad
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [edi]
push edi
call dword [edx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp]
push ebp
call dword [edx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebx + 0x62c88]
cmp eax, esi
je 0x42b1ca
mov ecx, dword [ebx + 0x62c8c]
sub ecx, eax
mov eax, 0xe1800e19
imul ecx
add edx, ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x42b1ca
mov dword [esp + 0x40], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
add ebx, 0x5d0d0
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24d0
ret