Function at 0x40c6c0
Capabilities:
Check for time delay via gettickcount
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45ce3e
mov eax, dword fs:[0]
push eax
sub esp, 0xc68
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0xc60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0xc7c]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x474f6c], ebx
je 0x40c73b
mov eax, dword [0x474f94]
mov esi, 8
cmp dword [0x474fa8], esi
jae 0x40c71c
mov eax, 0x474f94
push eax
push 0x46308c
push 0x208
lea eax, [esp + 0x668]
push 0x104
push eax
call fcn.004415ac
jmp 0x40c770
cmp dword [0x475100], 8
mov eax, dword [0x4750ec]
jae 0x40c74e
mov eax, 0x4750ec
push eax
push 0x46308c
push 0x208
lea ecx, [esp + 0x668]
push 0x104
push ecx
call fcn.004415ac
mov esi, 8
mov eax, dword [0x475060]
add esp, 0x14
cmp dword [0x475074], esi
jae 0x40c785
mov eax, 0x475060
push eax
push str._sprogram_filesTencentQTalkMiscTXSSOTXSSO
push 0x208
lea edx, [esp + 0x460]
push 0x104
push edx
call fcn.004415ac
mov eax, dword [0x475060]
add esp, 0x14
cmp dword [0x475074], esi
jae 0x40c7b7
mov eax, 0x475060
push eax
push str._sprogram_filesTencentQTalkMiscTXSSOInstTXSSO.exe
push 0x208
lea eax, [esp + 0x870]
push 0x104
push eax
call fcn.004415ac
add esp, 0x14
lea ecx, [esp + 0x454]
push ecx
push 0x463188
push 0x208
lea edx, [esp + 0xa78]
push 0x104
push edx
call fcn.004415ac
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x14
push 5
lea eax, [esp + 0x458]
push eax
lea ecx, [esp + 0xa74]
push ecx
lea edx, [esp + 0x870]
push edx
push str.open
push ebx
call ebp
xor ecx, ecx
cmp eax, 0x20
mov dword [esp + 0x34], ecx
lea edi, [ecx + 7]
jg 0x40c9a5
jmp 0x40c844
mov ecx, dword [esp + 0x34]
cmp ecx, 2
jae 0x40c9a5
push eax
add ecx, 1
push ecx
push 0x463198
lea eax, [esp + 0x60]
push 0x200
push eax
mov dword [esp + 0x48], ecx
call fcn.004414db
add esp, 0x14
lea ecx, [esp + 0x38]
mov word [esp + 0x452], bx
call fcn.0042bd40
mov dword [esp + 0xc84], ebx
lea eax, [esp + 0x54]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c8a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x58]
push ecx
lea esi, [esp + 0x20]
call fcn.00406f80
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0xc8c], 1
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x40c8ee
mov eax, dword [esp + 0x1c]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x50], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jae 0x40c909
lea edx, [esp + 0x3c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x40c94b
mov eax, edx
lea esi, [eax + 2]
jmp 0x40c920
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c920
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0xc84], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x40c96a
mov eax, dword [esp + 0x3c]
push eax
call fcn.004415cb
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
lea ecx, [esp + 0x458]
push ecx
lea edx, [esp + 0xa74]
push edx
lea eax, [esp + 0x870]
push eax
push str.open
push ebx
call ebp
cmp eax, 0x20
mov edi, 7
jle 0x40c840
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc8c]
lea ecx, [esp + 0x54]
push eax
push 0x4631e4
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x38]
mov word [esp + 0x452], bx
call fcn.0042bd40
mov dword [esp + 0xc84], 2
lea eax, [esp + 0x54]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ca00
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea esi, [esp + 0x20]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0xc8c], 3
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x40ca4e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x50], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jae 0x40ca69
lea edx, [esp + 0x3c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x40caaa
mov eax, edx
lea esi, [eax + 2]
jmp 0x40ca80
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ca80
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov esi, 8
mov dword [esp + 0xc84], 0xffffffff
cmp dword [esp + 0x50], esi
jb 0x40cacd
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [0x475074], esi
mov eax, dword [0x475060]
jae 0x40cadf
mov eax, 0x475060
push eax
push str._sTXSSOTXSSO
push 0x208
lea eax, [esp + 0x460]
push 0x104
push eax
call fcn.004415ac
mov eax, dword [0x4750ec]
add esp, 0x14
cmp dword [0x475100], esi
jae 0x40cb11
mov eax, 0x4750ec
push eax
push str._sMiscTXSSOTXSSO
push 0x208
lea ecx, [esp + 0x668]
push 0x104
push ecx
call fcn.004415ac
add esp, 0x14
cmp dword [esp + 0x34], 2
mov ebp, 7
jb 0x40cd3d
lea eax, [esp + 0x65c]
mov dword [esp + 0x34], 0x1388
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cb60
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x660]
push edx
lea esi, [esp + 0x40]
call fcn.00406f80
mov dword [esp + 0xc84], 4
lea eax, [esp + 0x454]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cba3
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x458]
push eax
lea esi, [esp + 0x20]
call fcn.00406f80
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
mov eax, esi
push eax
mov byte [esp + 0xc90], 5
call fcn.004250d0
add esp, 0xc
test eax, eax
mov edi, 8
sete byte [esp + 0x17]
cmp dword [esp + 0x30], edi
jb 0x40cc00
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004415cb
add esp, 4
mov dword [esp + 0xc84], 0xffffffff
cmp dword [esp + 0x50], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x40cc2b
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
cmp byte [esp + 0x17], bl
je 0x40cd3d
push 0x463268
lea eax, [esp + 0x58]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x38]
mov word [esp + 0x452], bx
call fcn.0042bd40
mov dword [esp + 0xc84], 6
lea eax, [esp + 0x54]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cc80
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x58]
push ecx
lea esi, [esp + 0x20]
call fcn.00406f80
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0xc8c], 7
call fcn.00406df0
cmp dword [esp + 0x30], edi
jb 0x40ccc9
mov eax, dword [esp + 0x1c]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x50], edi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jae 0x40cce4
lea edx, [esp + 0x3c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x40cd1e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ccf3
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0xc84], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x40cd3d
mov eax, dword [esp + 0x3c]
push eax
call fcn.004415cb
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc8c]
lea ecx, [esp + 0x54]
push eax
push 0x46329c
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x38]
mov word [esp + 0x452], bx
call fcn.0042bd40
mov edi, 8
mov dword [esp + 0xc84], edi
lea eax, [esp + 0x54]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cd93
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea esi, [esp + 0x20]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0xc8c], 9
call fcn.00406df0
cmp dword [esp + 0x30], edi
jb 0x40cddc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x50], edi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jae 0x40cdf7
lea edx, [esp + 0x3c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x40ce30
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ce06
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0xc84], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x40ce4f
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [0x474f6c], ebx
je 0x40ce6b
push 0x71ac
mov ecx, 1
call fcn.00419130
add esp, 4
jmp 0x40ce86
call fcn.00406c10
fld dword [0x468780]
mov eax, dword [eax + 0x40]
push eax
push ecx
fstp dword [esp]
call fcn.0040b680
add esp, 8
mov ecx, dword [esp + 0xc7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc60]
xor ecx, esp
call fcn.004414cc
add esp, 0xc74
ret