Function at 0x43fc30
Capabilities:
Check internet connectivity via wininet
Create thread
Get common file path
Move file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e50d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x43fc7f
or eax, 0xffffffff
jmp 0x4405fe
push 0
push 0x4c033c
sub esp, 0x10
lea ecx, [edi + 0x5b0]
push 0
push str.Checking_for_updates__please_wait_...
call fcn.004192c0
mov ecx, eax
call fcn.0041a380
push 0
push 0xffffffffffffffba
lea ecx, [edi + 0x5b0]
lea esi, [edi + 0x628]
call fcn.0041a070
push 1
push 5
lea ecx, [eax + 0x78]
call fcn.0040db40
test esi, esi
je 0x43fcf0
push 0
push 0
push dword [esi + 0x230]
push 0x40bb20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43fcf0
cmp eax, 0xffffffff
je 0x43fcf0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
mov ecx, edi
call fcn.00428440
test eax, eax
jne 0x43fcf0
sub esp, 0x10
xor edx, edx
mov ecx, str.https:__www.carifred.com_diskcopy_checkversion.php
push 6
call fcn.0041e820
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x5b8]
mov dword [ebp - 0x44], eax
test esi, esi
je 0x43fda7
lea ebx, [edi + 0x628]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x43fd6c
mov eax, dword [esi + 0x1c]
cmp eax, 3
je 0x43fd86
cmp eax, 4
je 0x43fd86
push 0
mov ecx, edi
call fcn.00428440
test eax, eax
je 0x43fd86
mov eax, dword [edi + 0x22c]
cmp eax, 0xfffffffa
je 0x43fd86
cmp dword [edi + 0x25c], ebx
jne 0x43fd31
cmp eax, dword [ebp - 0x44]
jne 0x43fd31
jmp 0x43fd86
cmp eax, 7
je 0x43fd86
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x43fe01
cmp eax, 7
je 0x43fe01
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [edi + 0x5b0]
call fcn.00419810
or edi, 0xffffffff
test esi, esi
je 0x4405fc
mov dword [esi + 0x20], 3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4405bd
cmp eax, 0xffffffff
je 0x4405bd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4405bd
call fcn.00403550
test al, al
jne 0x43fdc4
push 1
push 0xa
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x43fdc4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x18], 1
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x24], 1
mov byte [ebp - 4], 2
test byte [esi + 0x24], 4
jne 0x43fe4e
mov dword [ebp - 0x38], 0
xor ebx, ebx
jmp 0x43fe6f
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x43fe5c
xor ebx, ebx
jmp 0x43fe6f
xor ebx, ebx
mov dword [ebp - 0x38], eax
cmp byte [eax], bl
je 0x43fe6f
mov dword [ebp - 0x38], eax
inc ebx
cmp byte [eax + ebx], 0
jne 0x43fe68
xor ecx, ecx
mov dword [ebp - 0x1c], 0
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a2cb
mov ecx, eax
lea edx, [ebx + 1]
xor eax, eax
mov dword [ebp - 0x20], ecx
add esp, 4
mov word [ecx + edx*2], ax
mov word [ecx], ax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43fece
test ebx, ebx
je 0x43fece
push edx
push ecx
push ebx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
setg byte [ebp - 0x18]
mov word [ecx + eax*2], dx
lea ecx, [ebp - 0x20]
push 3
call fcn.004028e0
mov ebx, dword [sym.imp.KERNEL32.dll_SleepEx]
mov dword [esi + 0x20], 3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x43ff12
cmp eax, 0xffffffff
je 0x43ff12
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43ff12
call fcn.00403550
test al, al
jne 0x43fee5
push 1
push 0xa
call ebx
jmp 0x43fee5
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x43ff22
push eax
call ebx
mov eax, dword [esi]
test eax, eax
je 0x43ff2b
push eax
call ebx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x43ff3b
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x43ff49
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esi
call fcn.0041e790
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x30], esi
nop dword [eax + eax]
inc ebx
cmp byte [ebx + 0x4c07f8], 0
jne 0x43ff60
xor ecx, ecx
mov dword [ebp - 0x28], esi
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a2cb
mov edx, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebx + 1]
xor eax, eax
mov dword [ebp - 0x4c], edx
add esp, 4
mov word [edx + ecx*2], ax
mov word [edx], ax
test ebx, ebx
je 0x43ffc1
push ecx
push edx
push ebx
push 0x4c07f8
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov word [ecx + eax*2], dx
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 0x24], 1
test ebx, ebx
jne 0x43ffe3
push 2
call fcn.0048a2cb
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov word [ebx], ax
mov edx, dword [ebp - 0x4c]
mov ecx, ebx
mov byte [ebp - 0x18], 1
call fcn.00403870
cmp eax, 1
jge 0x440009
lea ecx, [edi + 0x5b0]
call fcn.00419810
or edi, 0xffffffff
jmp 0x440597
cmp dword [edi + 0x208], esi
jne 0x44002c
push 2
call fcn.0048a2cb
add esp, 4
mov dword [edi + 0x208], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x20c], ecx
mov ecx, dword [edi + 0x208]
xor eax, eax
mov byte [edi + 0x210], 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x50], eax
test ecx, ecx
je 0x440061
cmp word [ecx], ax
je 0x440061
inc eax
cmp word [ecx + eax*2], si
jne 0x440057
mov dword [ebp - 0x50], eax
xor ecx, ecx
inc ecx
cmp word [ecx*2 + str..download], si
jne 0x440063
lea ebx, [ecx + eax]
mov dword [ebp - 0x54], ecx
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a2cb
mov ecx, dword [ebp - 0x40]
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, eax
test ecx, ecx
je 0x4400c1
movzx ecx, word [ecx]
mov eax, ecx
test cx, cx
je 0x4400c1
mov edi, dword [ebp - 0x40]
sub edi, edx
nop dword [eax + eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edx + edi]
mov ecx, eax
test ax, ax
jne 0x4400b0
mov edi, str..download
mov ecx, 0x2e
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 0x4400d0
mov edi, dword [ebp - 0x48]
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 1
test eax, eax
je 0x440106
push eax
call fcn.00489f13
add esp, 4
push str.Downloading_update...
push 0
lea ecx, [edi + 0x5b0]
call fcn.0041a070
mov edx, dword [ebp - 0x38]
sub esp, 0x10
mov ecx, str.https:__www.carifred.com_diskcopy_DiskCopy.exe
mov byte [ebp - 0x18], 1
push 2
call fcn.0041e820
mov ebx, eax
xor ecx, ecx
mov esi, ebx
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x44021b
nop
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x40], ecx
test eax, eax
jne 0x4401d6
mov eax, dword [ebx + 0x1c]
cmp eax, 3
je 0x4401f0
cmp eax, 4
je 0x4401f0
push 0
mov ecx, edi
call fcn.00428440
test eax, eax
je 0x4401f0
mov eax, dword [edi + 0x22c]
cmp eax, 0xfffffffa
je 0x4401f0
lea ecx, [edi + 0x628]
cmp dword [edi + 0x25c], ecx
jne 0x440192
cmp eax, dword [ebp - 0x44]
je 0x4401f0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4401b3
cmp eax, 7
je 0x4401b3
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x40]
cmp eax, ecx
je 0x440140
push 0
push eax
lea ecx, [edi + 0x5b0]
mov dword [ebp - 0x40], eax
call fcn.0041a070
mov ecx, dword [ebp - 0x40]
jmp 0x440140
cmp eax, 7
je 0x4401f0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x440211
cmp eax, 7
je 0x440211
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
cmp dword [ebx + 0x1c], 3
jb 0x440592
cmp dword [edi + 0x208], 0
jne 0x44023f
push 2
call fcn.0048a2cb
add esp, 4
mov dword [edi + 0x208], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x20c], ecx
mov ebx, dword [edi + 0x208]
xor eax, eax
mov byte [edi + 0x210], 1
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x440278
cmp word [ebx], ax
je 0x440278
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x440270
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp word [ecx*2 + str..old], 0
jne 0x440280
add eax, ecx
mov edx, 2
mov dword [ebp - 0x48], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a2cb
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, eax
test ebx, ebx
je 0x4402d1
movzx ecx, word [ebx]
mov eax, ecx
test cx, cx
je 0x4402d1
sub ebx, edx
mov word [edx], cx
add edx, 2
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x4402c0
mov ebx, str..old
mov ecx, 0x2e
sub ebx, edx
nop dword [eax]
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x4402e0
push dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
call fcn.00489f13
add esp, 4
mov byte [ebp - 0x24], 1
cmp dword [edi + 0x208], 0
jne 0x440335
push 2
call fcn.0048a2cb
add esp, 4
mov dword [edi + 0x208], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x20c], ecx
push 1
push ebx
push dword [edi + 0x208]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [edi + 0x210], 1
call ebx
test eax, eax
je 0x440572
cmp dword [edi + 0x208], 0
jne 0x440379
push 2
call fcn.0048a2cb
add esp, 4
mov dword [edi + 0x208], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x20c], ecx
push 1
push dword [edi + 0x208]
mov byte [edi + 0x210], 1
push dword [ebp - 0x38]
mov byte [ebp - 0x18], 1
call ebx
test eax, eax
je 0x440535
mov ebx, dword [ebp - 0x54]
mov byte [ebp - 0x24], 1
mov byte [ebp - 0x18], 0
add ebx, dword [ebp - 0x50]
jne 0x4403bc
mov eax, dword [ebp - 0x38]
cmp word [eax], bx
je 0x4403b9
inc ebx
cmp word [eax + ebx*2], 0
jne 0x4403b1
mov dword [ebp - 0x1c], ebx
cmp ebx, 0x104
jge 0x4403f4
xor ebx, ebx
push 0x20a
mov dword [ebp - 0x1c], ebx
call fcn.0048a2cb
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x38]
mov word [edi + 0x208], ax
mov word [edi], ax
call fcn.00489f13
add esp, 4
jmp 0x4403f7
mov edi, dword [ebp - 0x20]
xor eax, eax
push edi
push eax
push eax
push 0x25
push eax
mov word [edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [ebp - 0x3c]
mov edi, 0x4c0008
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x18], 0
test ebx, ebx
jne 0x44042e
mov eax, dword [ebp - 0x20]
cmp word [eax], bx
je 0x44042b
inc ebx
cmp word [eax + ebx*2], 0
jne 0x440423
mov dword [ebp - 0x1c], ebx
xor eax, eax
lea eax, [eax + 1]
cmp word [eax*2 + str.cmd.exe__c_for__L__i_in__1__1__100__do_del__f__q__], 0
jne 0x440430
lea ecx, [eax + ebx]
xor eax, eax
cmp word [edx], ax
je 0x440452
inc eax
cmp word [edx + eax*2], 0
jne 0x440448
add ecx, eax
xor eax, eax
inc eax
cmp word [eax*2 + 0x4c0008], 0
jne 0x440454
add ecx, eax
mov edx, 2
mov dword [ebp - 0x48], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a2cb
mov ebx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, eax
movzx ecx, word [ebx]
mov eax, ecx
test cx, cx
je 0x4404a6
sub ebx, edx
mov word [edx], cx
add edx, 2
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x440495
mov ebx, str.cmd.exe__c_for__L__i_in__1__1__100__do_del__f__q__
mov ecx, 0x5c
sub ebx, edx
mov word [edx], cx
add edx, 2
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x4404b2
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax]
mov ecx, eax
test ax, ax
je 0x4404e9
mov edi, dword [ebp - 0x54]
mov word [edx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add edx, 2
test ax, ax
jne 0x4404d3
mov edi, 0x4c0008
mov eax, 0x22
nop
mov word [edx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
lea edx, [edx + 2]
test ax, ax
jne 0x4404f0
push dword [ebp - 0x20]
xor eax, eax
mov word [edx], ax
call fcn.00489f13
mov ebx, dword [ebp - 0x44]
add esp, 4
mov ecx, dword [ebp - 0x48]
mov edx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
push 0
push 0
push 0
mov byte [ebp - 0x18], 1
call fcn.004082b0
mov edi, 1
jmp 0x440597
cmp dword [edi + 0x208], 0
jne 0x440559
push 2
call fcn.0048a2cb
add esp, 4
mov dword [edi + 0x208], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x20c], ecx
mov eax, dword [ebp - 0x3c]
push 1
push dword [edi + 0x208]
mov byte [edi + 0x210], 1
push eax
mov byte [ebp - 0x24], 1
call ebx
push ecx
push 0x1c2
push 0x96
lea eax, [edi + 0x2a8]
mov ecx, edi
push eax
push 0
push str.The_update_failed._Please_try_again_later.
call fcn.00432ac0
mov ebx, dword [ebp - 0x20]
xor edi, edi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4405a7
push eax
call fcn.00489f13
add esp, 4
test ebx, ebx
je 0x43fdb5
push ebx
call fcn.00489f13
add esp, 4
jmp 0x43fdb5
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x4405cd
push eax
call ebx
mov eax, dword [esi]
test eax, eax
je 0x4405d6
push eax
call ebx
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4405e6
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4405f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov ecx, esi
call fcn.0041e790
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 - 0x14]
xor ecx, ebp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 4