Function at 0x4040a0
Capabilities:
Create thread
Delete file
Delete registry key
Get common file path
Get startup folder
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x47c09d
mov eax, dword fs:[0]
push eax
sub esp, 0xc08
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0xc00], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a05d0]
xor eax, esp
push eax
lea eax, [esp + 0xc1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc2c]
mov dword [esp + 0x28], eax
call fcn.00404df0
call fcn.00404f60
call fcn.00405270
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x206]
push edx
mov word [esp + 0x208], cx
call fcn.0045db90
add esp, 0xc
mov ebx, 0x4857cc
lea edi, [esp + 0x1fc]
call fcn.00417940
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
push eax
call ebp
push 0x208
call fcn.00439af0
add esp, 4
push str..ico
lea ecx, [esp + 0x3c]
call fcn.0040a630
push eax
mov dword [esp + 0xc28], 0
call fcn.00413560
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00408d30
add esp, 0xc
mov byte [esp + 0xc24], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404193
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4041b9
push edx
lea ecx, [esp + 0x1c]
call fcn.0040a450
mov esi, dword [esp + 0x18]
mov ebx, esi
lea edi, [esp + 0x1fc]
call fcn.00417940
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0045a627
add esp, 8
test eax, eax
jl 0x40462b
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x40462b
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
push esi
mov word [edx + eax*2], cx
call fcn.00439ae5
add esp, 4
mov eax, edi
push eax
call ebp
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x616]
push edx
mov word [esp + 0x618], cx
call fcn.0045db90
mov ecx, dword [0x4857e4]
mov eax, dword [str.loginer]
mov edx, dword [0x4857e8]
add esp, 0xc
push 0x30
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov eax, dword [0x4857ec]
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.0045db90
add esp, 0xc
xor ebx, ebx
lea edi, [esp + 0x60c]
call fcn.00417940
lea edx, [esp + 0x4a]
push edx
mov esi, edi
call fcn.004177f0
add esp, 4
lea eax, [esp + 0x3c]
push 0x20
push eax
call fcn.0045a80b
lea ecx, [esp + 0x44]
push 0x2e
push ecx
call fcn.00459ccc
xor edx, edx
add esp, 0x10
mov word [eax], dx
lea eax, [esp + 0x3c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push ebx
xor esi, esi
call fcn.00407440
add esp, 4
push str.ver
lea ecx, [esp + 0x20]
call fcn.0040a630
mov esi, eax
push str.http:__client.5054399.com_uninstall.htm_tag
lea ecx, [esp + 0x24]
mov byte [esp + 0xc28], 3
call fcn.0040a630
mov edi, eax
mov byte [esp + 0xc24], 4
call fcn.004135d0
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00408c50
add esp, 0xc
mov byte [esp + 0xc24], 5
push esi
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00408b90
add esp, 0xc
mov esi, eax
mov bl, 6
mov byte [esp + 0xc24], bl
call fcn.00413480
push eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00408c50
add esp, 0xc
mov edi, eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x40e]
mov byte [esp + 0xc2c], 7
push edx
mov word [esp + 0x410], cx
call fcn.0045db90
add esp, 0xc
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0xc6]
push ecx
mov word [esp + 0xc8], ax
call fcn.0045db90
add esp, 0xc
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x86]
push eax
mov word [esp + 0x88], dx
call fcn.0045db90
add esp, 0xc
push str.UnInst
lea ecx, [esp + 0xc0]
push 0x20
push ecx
call fcn.00459b1f
add esp, 0xc
lea edx, [esp + 0x404]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x485264
lea eax, [esp + 0x408]
push 0x104
push eax
call fcn.00459b8e
add esp, 0xc
lea ecx, [esp + 0x404]
push ecx
push 0x20
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0xc8]
push 0x48538c
push eax
call fcn.00413560
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x7c]
push ecx
call fcn.0045a3d8
add esp, 4
mov esi, eax
inc esi
push esi
push 0x4858ec
lea edx, [esp + 0x84]
push 0x20
push edx
call fcn.00459cf8
add esp, 0x10
lea eax, [esp + 0x404]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0xc4]
push edx
call fcn.00413560
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [edi]
push esi
push eax
push str._scount_u
lea ecx, [esp + 0x820]
push 0x200
push ecx
call fcn.00459cf8
mov byte [esp + 0xc38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404510
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404538
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x28]
push eax
push 0x406470
push 0
lea ecx, [esp + 0x828]
push 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xf28]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0xf28]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x106]
push ecx
mov word [esp + 0x108], ax
call fcn.0045db90
add esp, 0xc
push 0x4a1ac0
push 0x485850
lea edx, [esp + 0x104]
push 0x80
push edx
call fcn.00459cf8
push 0
xor eax, eax
mov ecx, 0x4a1ac0
lea ebx, [esp + 0x110]
call fcn.00406880
mov dword [esp + 0xc38], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.004597c7
add esp, 0xc14
ret 4
push 0x80070057
call fcn.0040a7c0
int3