Function at 0x441ed0
Capabilities:
Accept command line arguments
Create thread
Move file
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f378
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x4b5200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 4], 0
lea esi, [edi + 0x148]
movaps xmm0, xmmword [0x4ab7d0]
push ecx
push dword [edi + 0x58]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x2c], 0xd
push dword [edi + 0x90]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
push dword [edi + 0x4c]
push esi
call fcn.0041b260
sub esp, 0x10
mov dword [ebp - 4], 1
lea ecx, [edi + 0x688]
push esi
push 0x4a7250
call fcn.0041cf80
sub esp, 8
lea ecx, [edi + 0x688]
push 0
push 0xffffffffffffffba
call fcn.0041d570
mov ecx, eax
call fcn.0041d6f0
push 1
push 5
lea ecx, [eax + 0x78]
call fcn.00410690
sub esp, 0x10
xor edx, edx
mov ecx, str.https:__www.carifred.com_cleardiskinfo_checkversion.php
push 6
call fcn.00421140
mov esi, eax
mov dword [ebp - 0x24], esi
lea eax, [edi + 0x700]
test eax, eax
je 0x441fe7
push 0
push 0
push dword [eax + 0x230]
push 0x40e5d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x441fe7
cmp eax, 0xffffffff
je 0x441fe7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x64], 1
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x58], 1
mov byte [ebp - 4], 4
test esi, esi
je 0x4421e2
nop dword [eax]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x442071
mov eax, dword [esi + 0x1c]
cmp eax, 3
je 0x44208b
cmp eax, 4
je 0x44208b
push 0
mov ecx, edi
call fcn.004409d0
cmp byte [edi + 0xb2], 0
jne 0x44208b
cmp byte [edi + 0xb0], 0
je 0x442040
jmp 0x44208b
cmp eax, 7
je 0x44208b
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4420ac
cmp eax, 7
je 0x4420ac
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [esi + 0x1c], 3
jne 0x4421e2
xor eax, eax
nop dword [eax + eax]
inc eax
cmp byte [eax + 0x4a7328], 0
jne 0x4420c0
mov dword [ebp - 0x4c], eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x48], eax
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov edx, dword [ebp - 0x48]
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x6c], eax
mov word [eax + edx*2], cx
mov word [eax], cx
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x442129
push edx
push eax
push ecx
push 0x4a7328
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x6c]
xor edx, edx
test eax, eax
setg byte [ebp - 0x64]
mov word [ecx + eax*2], dx
test byte [esi + 0x24], 4
jne 0x44213a
mov dword [ebp - 0x4c], 0
xor eax, eax
jmp 0x44215e
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jne 0x442148
xor eax, eax
jmp 0x44215e
xor eax, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
cmp byte [ecx], al
je 0x442161
mov dword [ebp - 0x4c], ecx
inc eax
cmp byte [eax + ecx], 0
jne 0x442157
mov dword [ebp - 0x50], eax
inc eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x48], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov edx, dword [ebp - 0x48]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x60], ecx
add esp, 4
mov word [ecx + edx*2], ax
mov word [ecx], ax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4421c1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4421c1
push edx
push dword [ebp - 0x60]
push eax
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 0x58], 1
mov byte [ebp - 0x64], 1
call fcn.00403c40
xor ecx, ecx
test eax, eax
setg cl
mov dword [ebp - 0x48], ecx
test eax, eax
jg 0x4421f0
lea ecx, [edi + 0x688]
call fcn.0041d4d0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x4421fc
lea edi, [ecx + 2]
jmp 0x4427a7
cmp ecx, 0xffffffff
jne 0x442208
or edi, ecx
jmp 0x4427a7
mov eax, dword [edi + 0x994]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x44221b
cmp word [eax], 0
jne 0x442283
push 0x2002
mov dword [edi + 0x998], 0
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x994], eax
push 0x2000
push 0
push eax
call fcn.0046ce00
mov eax, dword [edi + 0x994]
xor ecx, ecx
add esp, 0xc
mov word [eax + 0x2000], cx
mov eax, dword [edi + 0x994]
mov word [eax], cx
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x442270
push eax
call fcn.0046b303
add esp, 4
push 0x1000
push dword [edi + 0x994]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [edi + 0x994], 0
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], 0
jne 0x4422b6
push 2
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x994], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x998], ecx
mov ecx, dword [edi + 0x994]
xor eax, eax
mov byte [edi + 0x99c], 1
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x4422d9
cmp word [ecx], ax
je 0x4422d9
inc eax
cmp word [ecx + eax*2], 0
jne 0x4422d1
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp word [ecx*2 + str..old], 0
jne 0x4422e0
add eax, ecx
mov edx, 2
mov dword [ebp - 0x4c], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov ecx, dword [ebp - 0x48]
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, eax
test ecx, ecx
je 0x442337
movzx ecx, word [ecx]
mov eax, ecx
test cx, cx
je 0x442337
mov esi, dword [ebp - 0x48]
sub esi, edx
mov word [edx], cx
add edx, 2
movzx eax, word [edx + esi]
mov ecx, eax
test ax, ax
jne 0x442326
mov esi, str..old
mov ecx, 0x2e
sub esi, edx
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + esi]
mov ecx, eax
test ax, ax
jne 0x442343
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 7
or ecx, 0xffffffff
cmp dword [edi + 0x994], 0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x70], 1
jne 0x44239a
push 2
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x994], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x998], ecx
push 1
push dword [ebp - 0x50]
mov byte [edi + 0x99c], 1
push dword [edi + 0x994]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x44256b
mov ecx, 0xfffffffe
push str.Downloading_update...
mov dword [ebp - 0x48], ecx
lea ecx, [edi + 0x688]
push 0
call fcn.0041d570
cmp dword [edi + 0x994], 0
jne 0x4423f8
push 2
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x994], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x998], ecx
mov edx, dword [edi + 0x994]
sub esp, 0x10
mov ecx, str.https:__www.carifred.com_cleardiskinfo_ClearDiskInfo.exe
mov byte [edi + 0x99c], 1
push 2
call fcn.00421140
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x442497
mov dword [esi + 0x20], 3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x442453
cmp eax, 0xffffffff
je 0x442453
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x442453
call fcn.00403920
test al, al
jne 0x442422
push 1
push 0xa
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x442422
mov eax, dword [esi + 4]
test eax, eax
je 0x442461
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi]
test eax, eax
je 0x44246e
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x44247e
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44248c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esi
call fcn.004210b0
mov eax, dword [ebp - 0x4c]
mov esi, eax
mov dword [ebp - 0x24], esi
test eax, eax
je 0x44256b
xor ecx, ecx
mov dword [ebp - 0x48], ecx
nop dword [eax]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x442524
mov ecx, dword [eax + 0x1c]
cmp ecx, 3
je 0x44253e
cmp ecx, 4
je 0x44253e
push 0
mov ecx, edi
call fcn.004409d0
cmp byte [edi + 0xb2], 0
mov eax, dword [ebp - 0x4c]
jne 0x44253e
cmp byte [edi + 0xb0], 0
jne 0x44253e
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x442503
cmp ecx, 7
je 0x442503
mov dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x54], ecx
cmp ecx, dword [ebp - 0x48]
jbe 0x4424b0
push 0
push ecx
lea ecx, [edi + 0x688]
call fcn.0041d570
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
jmp 0x4424a6
cmp ecx, 7
je 0x44253e
mov dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x44255f
cmp ecx, 7
je 0x44255f
mov dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
xor ecx, ecx
cmp dword [eax + 0x1c], 3
sete cl
mov dword [ebp - 0x48], ecx
lea ecx, [edi + 0x688]
call fcn.0041d4d0
mov eax, dword [ebp - 0x48]
cmp eax, 1
jge 0x4425cb
cmp eax, 0xfffffffe
jne 0x4425cb
cmp dword [edi + 0x994], 0
mov byte [ebp - 0x70], 1
jne 0x4425ab
push 2
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x994], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x998], ecx
push 1
push dword [edi + 0x994]
mov byte [edi + 0x99c], 1
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
or edi, 0xffffffff
jmp 0x44279c
test eax, eax
jne 0x4425d6
xor edi, edi
jmp 0x44279c
jns 0x4425e0
or edi, 0xffffffff
jmp 0x44279c
lea eax, [edi + 0x994]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00401520
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
xor ecx, ecx
test edi, edi
je 0x44262f
cmp word [edi], cx
je 0x44262f
inc ecx
cmp word [edi + ecx*2], 0
jne 0x442627
xor eax, eax
inc eax
cmp word [eax*2 + str.__PostUpdate], 0
jne 0x442631
add eax, ecx
mov edx, 2
mov dword [ebp - 0x4c], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, eax
test edi, edi
je 0x442691
movzx ecx, word [edi]
mov eax, ecx
mov dword [ebp - 0x54], eax
mov eax, edx
test cx, cx
je 0x442691
movzx ecx, cx
sub edi, eax
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edx + edi]
mov ecx, eax
test ax, ax
jne 0x442680
mov edi, str.__PostUpdate
mov ecx, 0x20
sub edi, edx
nop dword [eax]
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + edi]
mov ecx, eax
test ax, ax
jne 0x4426a0
mov edi, dword [ebp - 0x48]
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 1
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00402f70
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x49faa8
lea ecx, [ebp - 0x20]
call fcn.00402380
cmp eax, 2
jle 0x442725
mov ecx, dword [ebp - 0x20]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x442711
test ecx, ecx
je 0x44270e
cmp word [ecx], ax
je 0x44270e
inc eax
cmp word [ecx + eax*2], 0
jne 0x442706
mov dword [ebp - 0x1c], eax
cmp eax, edx
setge byte [ebp - 0x18]
jl 0x442725
cmovl edx, eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x442741
push 2
call fcn.0046b90c
add esp, 4
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov word [eax], cx
push ecx
push 5
push eax
mov edx, edi
mov byte [ebp - 0x18], 1
xor ecx, ecx
mov byte [ebp - 0x7c], 1
call fcn.0040b800
mov edi, eax
test edi, edi
je 0x44276f
cmp edi, 0xffffffff
je 0x44276f
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 0x70], 1
call fcn.0040b1b0
push dword [ebp - 0x48]
mov edi, 1
call fcn.0046b303
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
je 0x44279c
push eax
call fcn.0046b303
add esp, 4
push dword [ebp - 0x50]
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4427b7
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4427c7
push eax
call fcn.0046b303
add esp, 4
mov byte [ebp - 4], 1
test esi, esi
je 0x442848
mov dword [esi + 0x20], 3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x442807
cmp eax, 0xffffffff
je 0x442807
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x442807
call fcn.00403920
test al, al
jne 0x4427d6
push 1
push 0xa
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x4427d6
mov eax, dword [esi + 4]
test eax, eax
je 0x442815
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi]
test eax, eax
je 0x442822
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x442832
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x442840
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esi
call fcn.004210b0
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x44]
test ecx, ecx
je 0x442871
test esi, esi
je 0x44287e
push dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
push dword [ebp - 0x3c]
push eax
call fcn.0040f3c0
call fcn.00403920
test esi, esi
je 0x44287e
push esi
call fcn.0046b303
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046b2f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4