Function at 0x40c7e0
Capabilities:
Delete registry value
Persist via run registry key
Print debug messages

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 0x5ab758
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa70
mov eax, dword [0x6360c0]
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
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x818]
push 0x800
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x818]
push esi
push str.cancel__in:__p
push 0x3ff
push eax
call fcn.00404c60
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x818]
add esp, 0x10
push eax
call esi
push 0x104
lea eax, [ebp - 0xa20]
push eax
call fcn.0040c2f0
mov ecx, dword [edi + 0x74]
mov byte [ebp - 0xa71], al
test ecx, ecx
je 0x40c8aa
lea edx, [ebp - 0xa6c]
mov dword [ebp - 0xa6c], 0
mov dword [ebp - 0xa70], 1
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xa70]
push edx
call dword [eax + 8]
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x629f84
push 0xff
push eax
call fcn.00406f90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call esi
call fcn.0042a650
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x40c915
lea edx, [ebp - 0xa70]
mov dword [ebp - 0xa70], 0x14
mov dword [ebp - 0xa6c], 1
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xa6c]
push edx
call dword [eax + 8]
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x629f98
push 0xff
push eax
call fcn.00406f90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call esi
push 5
xorps xmm0, xmm0
mov dword [ebp - 0xa28], 0
push 0x629fb0
lea ecx, [ebp - 0xa38]
mov dword [ebp - 0xa24], 0
movups xmmword [ebp - 0xa38], xmm0
call fcn.00401950
lea ecx, [ebp - 0xa38]
mov dword [ebp - 4], 0
call fcn.004096b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa24]
cmp ecx, 7
jbe 0x40c9d6
mov edx, dword [ebp - 0xa38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c9cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d41f
push ecx
push edx
call fcn.0042dc6f
add esp, 8
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x40ca04
lea edx, [ebp - 0xa70]
mov dword [ebp - 0xa70], 0x28
mov dword [ebp - 0xa6c], 1
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xa6c]
push edx
call dword [eax + 8]
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x629fbc
push 0xff
push eax
call fcn.00406f90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call esi
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0xa28], 0
push str.AKJiaSu_is1
lea ecx, [ebp - 0xa38]
mov dword [ebp - 0xa24], 0
movups xmmword [ebp - 0xa38], xmm0
call fcn.00401950
xor esi, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0xa5c], esi
mov dword [ebp - 0xa58], esi
mov dword [ebp - 0xa54], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa50]
push 0x34
xorps xmm0, xmm0
mov dword [ebp - 0xa40], esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
movups xmmword [ebp - 0xa50], xmm0
mov dword [ebp - 0xa3c], esi
call fcn.00401950
cmp dword [ebp - 0xa3c], 7
lea ecx, [ebp - 0xa6c]
push ecx
push 0xf003f
lea eax, [ebp - 0xa50]
mov dword [ebp - 0xa6c], esi
cmova eax, dword [ebp - 0xa50]
push esi
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40cb74
mov eax, dword [ebp - 0xa6c]
lea ecx, [ebp - 0xa5c]
cmp dword [ebp - 0xa24], 7
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa38]
cmova eax, dword [ebp - 0xa38]
push eax
mov dword [ebp - 0xa58], esi
call fcn.00407000
test eax, eax
je 0x40cb5f
push 0x100
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x118]
push str._Uninstall__
push 0xff
push eax
call fcn.0040bec0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [ebp - 0xa5c]
test esi, esi
je 0x40cbb0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x40cbb0
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x118]
push str._Uninstall_
push 0xff
push eax
call fcn.0040bec0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0xa3c]
cmp ecx, 7
jbe 0x40cbf0
mov edx, dword [ebp - 0xa50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cbe6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d424
push ecx
push edx
call fcn.0042dc6f
add esp, 8
xor eax, eax
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
test esi, esi
je 0x40cc18
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa24]
cmp ecx, 7
jbe 0x40cc5f
mov edx, dword [ebp - 0xa38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cc55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d429
push ecx
push edx
call fcn.0042dc6f
add esp, 8
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x40cc8d
lea edx, [ebp - 0xa70]
mov dword [ebp - 0xa70], 0x3c
mov dword [ebp - 0xa6c], 1
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xa6c]
push edx
call dword [eax + 8]
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x629fd0
push 0xff
push eax
call fcn.00406f90
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call esi
push 8
xorps xmm0, xmm0
mov dword [ebp - 0xa28], 0
push str.akclient
lea ecx, [ebp - 0xa38]
mov dword [ebp - 0xa24], 0
movups xmmword [ebp - 0xa38], xmm0
call fcn.00401950
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xa50]
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0xa40], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
movups xmmword [ebp - 0xa50], xmm0
mov dword [ebp - 0xa3c], 0
call fcn.00401950
cmp dword [ebp - 0xa3c], 7
lea ecx, [ebp - 0xa6c]
push ecx
push 0xf003f
lea eax, [ebp - 0xa50]
cmova eax, dword [ebp - 0xa50]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40cd91
cmp dword [ebp - 0xa24], 7
lea eax, [ebp - 0xa38]
cmova eax, dword [ebp - 0xa38]
push eax
push dword [ebp - 0xa6c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xa6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xa3c]
cmp ecx, 7
jbe 0x40cdd1
mov edx, dword [ebp - 0xa50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cdc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d42e
push ecx
push edx
call fcn.0042dc6f
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa24]
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
cmp ecx, 7
jbe 0x40ce35
mov edx, dword [ebp - 0xa38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ce2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d42e
push ecx
push edx
call fcn.0042dc6f
add esp, 8
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x40ce63
lea edx, [ebp - 0xa70]
mov dword [ebp - 0xa70], 0x50
mov dword [ebp - 0xa6c], 1
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xa6c]
push edx
call dword [eax + 8]
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x629ff8
push 0xff
push eax
call fcn.00406f90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0xa38]
push eax
call fcn.0040c4e0
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.00407b20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa24]
cmp ecx, 7
jbe 0x40cefc
mov edx, dword [ebp - 0xa38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cef2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d433
push ecx
push edx
call fcn.0042dc6f
add esp, 8
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x62a00c
push 0xff
push eax
call fcn.00406f90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call esi
mov edx, 0x17
lea ecx, [ebp - 0xa38]
call fcn.00408fa0
push 0x629fb0
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.00401a40
mov dword [ebp - 0xa58], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa68], xmm0
mov dword [ebp - 0xa54], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x62985c
lea ecx, [ebp - 0xa68]
mov byte [ebp - 4], 6
call fcn.00401a40
mov dword [ebp - 0xa40], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa50], xmm0
mov dword [ebp - 0xa3c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xa50]
mov byte [ebp - 4], 7
call fcn.00407b20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xa3c]
cmp ecx, 7
jbe 0x40d04e
mov edx, dword [ebp - 0xa50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d044
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d438
push ecx
push edx
call fcn.0042dc6f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa54]
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
cmp ecx, 7
jbe 0x40d0af
mov edx, dword [ebp - 0xa68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d0a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d438
push ecx
push edx
call fcn.0042dc6f
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa24]
mov dword [ebp - 0xa58], 0
mov dword [ebp - 0xa54], 7
mov word [ebp - 0xa68], ax
cmp ecx, 7
jbe 0x40d113
mov edx, dword [ebp - 0xa38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d109
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d438
push ecx
push edx
call fcn.0042dc6f
add esp, 8
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x62a020
push 0xff
push eax
call fcn.00406f90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call esi
push 2
xorps xmm0, xmm0
mov dword [ebp - 0xa28], 0
push 0x62a034
lea ecx, [ebp - 0xa38]
mov dword [ebp - 0xa24], 0
movups xmmword [ebp - 0xa38], xmm0
call fcn.00401950
lea eax, [ebp - 0xa6c]
mov dword [ebp - 0xa54], 0
push eax
push 0xf003f
push 0
push 0x6294d4
push bind
mov dword [ebp - 0xa6c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d23e
mov eax, dword [ebp - 0xa6c]
lea ecx, [ebp - 0xa5c]
cmp dword [ebp - 0xa24], 7
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa38]
cmova eax, dword [ebp - 0xa38]
push eax
mov dword [ebp - 0xa58], 0
call fcn.00407000
test eax, eax
je 0x40d22b
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x118]
push str._ClearCustomProtocol__
push 0xff
push eax
call fcn.0040bec0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xa5c]
test eax, eax
je 0x40d27a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d27a
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x118]
push str._ClearCustomProtocol_
push 0xff
push eax
call fcn.0040bec0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0xa24]
cmp ecx, 7
jbe 0x40d2ba
mov edx, dword [ebp - 0xa38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d2b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d43d
push ecx
push edx
call fcn.0042dc6f
add esp, 8
cmp byte [ebp - 0xa71], 1
jne 0x40d3a1
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x62a03c
push 0xff
push eax
call fcn.00406f90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call esi
xorps xmm0, xmm0
mov dword [ebp - 0xa28], 0
lea ecx, [ebp - 0xa20]
mov dword [ebp - 0xa24], 0
movups xmmword [ebp - 0xa38], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d326
sub ecx, edx
lea eax, [ebp - 0xa20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa38]
call fcn.00401950
lea ecx, [ebp - 0xa38]
mov dword [ebp - 4], 8
call fcn.00407b20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa24]
cmp ecx, 7
jbe 0x40d3a1
mov edx, dword [ebp - 0xa38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d397
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d442
push ecx
push edx
call fcn.0042dc6f
add esp, 8
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x40d3cf
lea edx, [ebp - 0xa70]
mov dword [ebp - 0xa70], 0x64
mov dword [ebp - 0xa6c], 1
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xa6c]
push edx
call dword [eax + 8]
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x40d3fd
lea edx, [ebp - 0xa78]
mov dword [ebp - 0xa78], 0
mov dword [ebp - 0xa7c], 2
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xa7c]
push edx
call dword [eax + 8]
mov al, 1
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.0042d9e0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
int3