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

Disassembly:
mov eax, 0x24c4
call fcn.0044fa10
mov eax, dword [0x49eb88]
xor eax, esp
mov dword [esp + 0x24c0], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
mov ebp, ecx
xor esi, esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
push 0x4907f8
push 1
push edi
push 0x490908
mov dword [esp + 0x2c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41bb37
cmp dword [esp + 0x18], edi
je 0x41bb37
lea edx, [ebp + 0x5d140]
mov ecx, 8
push edx
mov word [esp + 0x48], cx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov esi, eax
lea eax, [esp + 0x3c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x50], edi
mov edx, dword [ecx]
push ecx
mov ecx, dword [edx + 0xe8]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
call ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or edx, 0xffffffff
cmp dx, word [esp + 0x3c]
jne 0x41bb29
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x41bb29
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x41bb29
push str.metalink
push eax
call fcn.00421b60
mov ebx, eax
add esp, 8
mov dword [esp + 0x58], ebx
cmp ebx, edi
je 0x41bb1d
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x30]
lea edx, [esp + 0x2c]
push edx
push ebx
mov dword [esp + 0x34], edi
call eax
test eax, eax
jl 0x41bb15
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x41bb15
push str.files
push eax
call fcn.00421b60
mov esi, eax
add esp, 8
mov dword [esp + 0x38], esi
cmp esi, edi
je 0x41bb09
mov ecx, dword [esi]
mov eax, dword [ecx + 0x30]
lea edx, [esp + 0x24]
push edx
push esi
mov dword [esp + 0x2c], edi
call eax
test eax, eax
jl 0x41bb01
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x41bb01
lea edx, [esp + 0x40]
mov dword [esp + 0x40], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x2698], ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0x2694]
mov dword [esp + 0x18], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
test eax, eax
jl 0x41baf5
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x41baf5
lea edx, [esp + 0x30]
mov dword [esp + 0x30], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x41bae9
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x41bae9
push str.file
push eax
call fcn.0045244b
add esp, 8
test eax, eax
jne 0x41bade
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x41bade
cmp dword [esp + 0x20], edi
je 0x41bade
mov ecx, dword [esp + 0x14]
push str.name
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00421c20
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov eax, 8
add esp, 0xc
cmp ax, cx
jne 0x41b903
cmp edx, edi
je 0x41b903
push edx
push 0x494598
lea ecx, [ebp + 0x628b8]
push 0x103
push ecx
call fcn.0044fdd8
add esp, 0x10
mov edx, dword [esp + 0x20]
push str.resources
push edx
call fcn.00421b60
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x41bace
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov dword [esp + 0x24], edi
call edx
test eax, eax
jl 0x41bac6
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41bac6
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x41baba
lea esp, [esp]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x41baba
lea edx, [esp + 0x34]
mov dword [esp + 0x34], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x41ba95
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x41ba95
push 0x485dfc
push eax
call fcn.0045244b
add esp, 8
test eax, eax
jne 0x41ba8a
mov ecx, dword [esp + 0x10]
push 0x485a50
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.00421c20
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x6c], edx
mov edx, 8
add esp, 0xc
mov dword [esp + 0x68], eax
cmp dx, cx
jne 0x41ba86
push str.http
push esi
call fcn.0045244b
add esp, 8
test eax, eax
je 0x41ba13
push 0x485de8
push esi
call fcn.0045244b
add esp, 8
test eax, eax
jne 0x41ba86
xor eax, eax
mov word [esp + 0x44], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
test eax, eax
jl 0x41ba86
mov ecx, 8
cmp cx, word [esp + 0x44]
jne 0x41ba86
mov esi, dword [esp + 0x4c]
cmp esi, edi
je 0x41ba86
push 0x2450
lea eax, [esp + 0x84]
xor edx, edx
push edi
push eax
mov word [esp + 0x88], dx
call fcn.00450880
push edi
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.004127b0
add esp, 0x18
test eax, eax
je 0x41ba86
lea edx, [esp + 0x7c]
push edx
lea ecx, [ebp + 0x62d08]
call fcn.0041adb0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jge 0x41b970
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, edi
mov ecx, dword [ebp + 0x62d18]
sub ecx, dword [ebp + 0x62d14]
mov eax, 0xe1800e19
imul ecx
add edx, ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41bb5d
mov esi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
add ebp, 0x5d140
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x24d0]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044f9f3
add esp, 0x24c4
ret