Function at 0x40d6c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eea0
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x4be014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x8e4], esi
cmp byte [esi + 0x1218], 1
je 0x40d7b8
cmp dword [esi + 0x456], 0
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
je 0x40d761
push 0
call edi
sub eax, dword [esi + 0x456]
add esp, 4
cmp eax, 0xb4
jae 0x40d761
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4b2f4c
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x4c10fc]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
jmp 0x40d7ba
push 0
mov dword [esi + 0x456], 0
call edi
sub eax, dword [esi + 4]
add esp, 4
cmp eax, 0x2a300
jbe 0x40d7d7
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4b3634
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 1
mov ecx, dword [0x4c10fc]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x88c]
mov byte [esi + 0x1218], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004429bd
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
mov dword [esi + 0x50c], 0
mov dword [esi + 0x45a], 0
mov dword [esi + 0x386], 0
mov dword [esi + 0x38a], 0
mov dword [esi + 0x38e], 0
mov byte [esi + 0x5cb], 0
mov byte [esi + 0x4fb], 0
mov byte [esi + 0x540], 0
mov dword [esi + 0x54c], 0
movsd qword [esi + 0x59e], xmm0
mov dword [esi + 0x4cf], 0
mov byte [esi + 0x5af], 0
mov dword [esi + 0x586], 0
mov dword [esi + 0x41a], 0
mov dword [esi + 0x543], 0
mov byte [esi + 0x5ef], 0
mov byte [esi + 0x573], 1
mov dword [esi + 0x500], 0
mov word [esi + 0x554], 0x101
mov dword [esi + 0x4a2], 0
mov byte [esi + 0x5c9], 0
mov dword [esi + 0x3fa], 0
mov byte [esi + 0x5c3], 0
je 0x40d8bf
mov dword [esi + 0x45e], 0
mov dword [esi + 0x510], 0
cmp dword [esi + 0x514], 0
mov byte [esi + 0x56f], 1
je 0x40d8d9
mov dword [esi + 0x514], 0
mov ecx, dword [esi + 0x48a]
test ecx, ecx
je 0x40d8fa
call fcn.0041fe00
push 0x64
mov dword [esi + 0x48a], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4a6], eax
cmp dword [esi + 0x5b2], edi
je 0x40d920
mov ecx, esi
call fcn.0040cfe0
mov dword [esi + 0x5b2], edi
nop dword [eax]
cmp dword [0x4c1100], 0
je 0x40d7b8
lea eax, [esi + 0x24e]
xorps xmm0, xmm0
inc edi
movups xmmword [eax], xmm0
cmp dword [esi + 0x547], 2
mov dword [ebp - 0x88c], edi
jb 0x40d950
mov byte [esi + 0x54b], 0
movups xmmword [esi + 0x218], xmm0
push eax
push dword [ebp + 8]
mov dword [esi + 0x228], 0
mov ecx, esi
mov dword [esi + 0x24a], 0
mov byte [esi + 0x551], 0
call fcn.0040d260
test eax, eax
je 0x40d9ba
cmp dword [0x4c0e64], 0
lea edx, [esi + 0x218]
je 0x40d998
mov ecx, dword [esi + 0x254]
jmp 0x40d99e
mov ecx, dword [esi + 0x250]
call fcn.00416100
movzx eax, word [esi + 0x25c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esi + 0x24a], eax
lea ecx, [ebp - 0x890]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov eax, dword [ebp - 0x8e4]
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x124d]
sub edi, dword [esi + 0x1249]
mov edx, dword [eax + 0x1235]
mov ecx, dword [eax + 0x1229]
sub edx, dword [eax + 0x1231]
sub ecx, dword [eax + 0x1225]
mov esi, dword [esi + 0x1241]
sub esi, dword [eax + 0x123d]
mov eax, dword [eax + 0x121d]
sar edi, 4
mov dword [ebp - 0x8e8], edi
mov edi, dword [ebp - 0x8e4]
sar esi, 4
sar edx, 4
sar ecx, 4
sub eax, dword [edi + 0x1219]
mov edi, dword [ebp - 0x8e8]
push edi
push esi
push edx
push ecx
sar eax, 4
push eax
push dword [ebp - 0x88c]
lea eax, [ebp - 0x890]
push str._d_d__d__d__d__d
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov edi, dword [ebp + 8]
add esp, 0x20
mov ecx, dword [0x4c10fc]
push dword [ebp - 0x890]
push 0x10
push edi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
cmp dword [0x4c0f50], 0
jne 0x40db6e
cmp dword [0x4c10e0], 0
jne 0x40db6e
cmp dword [0x4c0e60], 0
jne 0x40db6e
cmp dword [0x4c0e4c], 0
je 0x40db35
cmp dword [0x4c0e48], 0
je 0x40daff
mov eax, dword [0x4c10fc]
push 0
push 0
push 0x1004
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x8e4]
cdq
push 3
sub eax, edx
mov dx, word [esi + 0x24a]
push str.yiyi
sar eax, 1
mov byte [esi + 0x5c3], 1
push str.yiyi
push 0x508
cmp edi, eax
jae 0x40dc4a
mov byte [esi + 0x551], 2
push 0x4be61c
jmp 0x40dc56
mov esi, dword [ebp - 0x8e4]
push 3
push str.yiyi
push str.yiyi
mov dx, word [esi + 0x24a]
push 0x508
mov byte [esi + 0x5c3], 1
mov byte [esi + 0x551], 2
push 0x4be61c
jmp 0x40dc56
cmp dword [0x4c0e48], 0
mov esi, dword [ebp - 0x8e4]
mov dx, word [esi + 0x24a]
jne 0x40dc32
push 2
push 0
push 0
push 0
push 0
mov byte [esi + 0x5c3], 0
mov byte [esi + 0x551], 0
push 0
jmp 0x40dc58
mov esi, dword [ebp - 0x8e4]
inc dword [0x4c0e5c]
cmp byte [esi + 0x5c2], 3
mov dx, word [esi + 0x24a]
jne 0x40dbc6
cmp dword [0x4c0e58], 0
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x551], 1
mov byte [esi + 0x5c3], 1
push 0x508
jne 0x40dbbc
push str.103.7.141.21
jmp 0x40dc56
push str.103.7.141.205
jmp 0x40dc56
mov eax, dword [0x4c0e54]
sub eax, dword [0x4c0e50]
shr eax, 1
cmp edi, eax
jae 0x40dc0a
cmp dword [0x4c0e58], 0
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x5c3], 1
mov byte [esi + 0x551], 2
push 0x508
jne 0x40daf5
push str.103.7.141.20
jmp 0x40dc56
cmp dword [0x4c0e58], 0
jne 0x40dc32
push 3
push str.yiyi
push str.yiyi
push 0x508
mov byte [esi + 0x5c3], 1
push str.103.7.141.19
jmp 0x40dc4f
push 3
push str.yiyi
push str.yiyi
push 0x508
mov byte [esi + 0x5c3], 1
push str.103.7.141.207
mov byte [esi + 0x551], 3
push 2
push ecx
lea ecx, [esi + 0x218]
call fcn.0041fd60
mov dword [esi + 0x48a], eax
test eax, eax
jne 0x40dc74
inc dword [esi + 0x547]
lea ecx, [ebp - 0x888]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x888]
push dword [esi + 0x547]
push 0x4b3688
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov ecx, dword [0x4c10fc]
add esp, 0xc
push dword [ebp - 0x888]
push 0x11
push edi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x888]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x890]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [esi + 0x48a], 0
mov edi, dword [ebp - 0x88c]
je 0x40d920
inc dword [esi + 0x482]
lea eax, [ebp - 0x484]
push 0x400
push 0
push eax
mov dword [esi + 0x547], 0
mov dword [ebp - 0x890], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x890]
lea eax, [esi + 0x110]
push ecx
lea ecx, [ebp - 0x484]
push ecx
push eax
push 0x10
lea eax, [esi + 0x5f8]
mov ecx, esi
push eax
call fcn.00402710
mov esi, dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
lea ecx, [ebp - 0x8b8]
xorps xmm0, xmm0
mov dword [ebp - 0x8a8], 0
movups xmmword [ebp - 0x8b8], xmm0
call esi
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push eax
call edi
mov eax, dword [ebp - 0x8e4]
push dword [eax + 8]
call edi
push 4
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401e10
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call edi
push 4
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401e10
add esp, 4
push 0x4c1e
call edi
push 4
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401e10
push 0x58
mov dword [ebp - 0x84], 0x31313131
mov dword [ebp - 0x80], 0x31
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0x800
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x110000
mov dword [ebp - 0x58], 0x2c0000
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x16000000
mov dword [ebp - 0x4c], 0x4660000
mov dword [ebp - 0x48], 0x32f69734
mov dword [ebp - 0x44], 0x19570000
mov dword [ebp - 0x40], 0xed060900
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x95ed400b
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x8b8]
call fcn.00401e50
mov edi, dword [sym.imp.WS2_32.dll_htons]
add esp, 0xc
push dword [ebp - 0x890]
call edi
movzx eax, ax
lea edx, [ebp - 0x888]
push 2
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x888], eax
call fcn.00401e10
push dword [ebp - 0x890]
lea edx, [ebp - 0x484]
push 4
lea ecx, [ebp - 0x8b8]
call fcn.00401e50
add esp, 0xc
push 0xe0
call edi
movzx eax, ax
lea edx, [ebp - 0x888]
push 2
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x888], eax
call fcn.00401e10
mov edi, dword [ebp - 0x8e4]
lea ecx, [ebp - 0x8b8]
push 0xe0
push 4
lea edx, [edi + 0x266]
call fcn.00401e50
push 8
push 4
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x1c], 0x200
call fcn.00401e50
add esp, 0x14
mov dword [ebp - 0x8bc], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x8cc]
movups xmmword [ebp - 0x8cc], xmm0
call esi
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
push 0xc
push 4
lea ecx, [ebp - 0x8cc]
mov dword [ebp - 0x2c], 0x6400
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xffff0400
call fcn.00401e50
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
imul eax, esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
push 2
lea edx, [edi + 0x5eb]
mov word [edi + 0x5eb], ax
lea ecx, [ebp - 0x8cc]
call fcn.00401e10
mov eax, dword [ebp - 0x8b0]
add esp, 4
add eax, 2
push eax
call esi
movzx eax, ax
lea edx, [ebp - 0x888]
push 2
lea ecx, [ebp - 0x8cc]
mov dword [ebp - 0x888], eax
call fcn.00401e10
push dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8b4]
lea ecx, [ebp - 0x8cc]
push 4
call fcn.00401e50
mov edi, dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
lea ecx, [ebp - 0x8a4]
add esp, 0xc
mov dword [ebp - 0x894], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x8a4], xmm0
call edi
push 0x4c1e
mov byte [ebp - 4], 6
call esi
movzx eax, ax
lea edx, [ebp - 0x8e8]
push 2
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 0x8e8], eax
call fcn.00401e10
push 6
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffff
lea ecx, [ebp - 0x8a4]
mov word [ebp - 0x14], 0x200
call fcn.00401e50
mov eax, dword [ebp - 0x8e4]
add esp, 0xc
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_htonl]
push 4
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8a4]
call fcn.00401e10
mov esi, dword [sym.imp.mfc140u.dll_CByteArray::SetAtGrow]
lea ecx, [ebp - 0x8a4]
add esp, 4
push 1
push dword [ebp - 0x89c]
call esi
push 0x78
push dword [ebp - 0x89c]
lea ecx, [ebp - 0x8a4]
call esi
mov esi, dword [ebp - 0x8e4]
lea ecx, [ebp - 0x8a4]
push 0x78
push 4
lea edx, [esi + 0x120]
call fcn.00401e50
push 0x400
lea eax, [ebp - 0x884]
mov dword [ebp - 0x88c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x88c]
mov ecx, esi
push eax
lea eax, [ebp - 0x884]
push eax
lea eax, [esi + 0x110]
push eax
push dword [ebp - 0x8c4]
push dword [ebp - 0x8c8]
call fcn.00402710
push dword [ebp - 0x88c]
lea edx, [ebp - 0x884]
push 4
lea ecx, [ebp - 0x8a4]
call fcn.00401e50
xorps xmm0, xmm0
mov dword [ebp - 0x8d0], 0
add esp, 8
lea ecx, [ebp - 0x8e0]
movups xmmword [ebp - 0x8e0], xmm0
call edi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x89c]
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 4
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8e8], eax
lea ecx, [ebp - 0x8e0]
call fcn.00401e10
push dword [ebp - 0x89c]
mov edx, dword [ebp - 0x8a0]
lea ecx, [ebp - 0x8e0]
push 4
call fcn.00401e50
mov ecx, dword [esi + 0x48a]
add esp, 0xc
xor edi, edi
test ecx, ecx
je 0x40e1db
mov edx, dword [ebp - 0x8dc]
sub esp, 0xc
push dword [ebp - 0x8d8]
call fcn.0041fde0
mov edi, eax
neg edi
push 0x32
sbb edi, edi
inc edi
mov dword [esi + 0x45a], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [reloc.mfc140u.dll_CByteArray::CByteArray]
lea ecx, [ebp - 0x8e0]
call esi
lea ecx, [ebp - 0x8a4]
call esi
lea ecx, [ebp - 0x8cc]
call esi
lea ecx, [ebp - 0x8b8]
call esi
mov eax, edi
jmp 0x40d7ba