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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2770
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x4c3014]
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 + 0x121d], 1
je 0x40df68
cmp dword [esi + 0x456], 0
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
je 0x40df11
push 0
call edi
sub eax, dword [esi + 0x456]
add esp, 4
cmp eax, 0xb4
jae 0x40df11
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4b6f48
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x4c613c]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
jmp 0x40df6a
push 0
mov dword [esi + 0x456], 0
call edi
sub eax, dword [esi + 4]
add esp, 4
cmp eax, 0x2a300
jbe 0x40df87
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4b76b8
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 1
mov ecx, dword [0x4c613c]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x88c]
mov byte [esi + 0x121d], 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.0044627d
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 + 0x5d0], 0
mov byte [esi + 0x4fb], 0
mov byte [esi + 0x540], 0
mov dword [esi + 0x54c], 0
movsd qword [esi + 0x59f], xmm0
mov dword [esi + 0x4cf], 0
mov byte [esi + 0x5b0], 0
mov dword [esi + 0x587], 0
mov dword [esi + 0x41a], 0
mov dword [esi + 0x543], 0
mov byte [esi + 0x5f4], 0
mov byte [esi + 0x574], 1
mov dword [esi + 0x500], 0
mov word [esi + 0x555], 0x101
mov dword [esi + 0x4a2], 0
mov byte [esi + 0x5ce], 0
mov dword [esi + 0x3fa], 0
mov byte [esi + 0x5c8], 0
je 0x40e06f
mov dword [esi + 0x45e], 0
mov dword [esi + 0x510], 0
cmp dword [esi + 0x514], 0
je 0x40e082
mov dword [esi + 0x514], 0
mov ecx, dword [esi + 0x48a]
test ecx, ecx
je 0x40e0a3
call fcn.004227b0
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 + 0x5b3], edi
je 0x40e0d0
mov ecx, esi
call fcn.0040d790
mov dword [esi + 0x5b3], edi
nop word [eax + eax]
cmp dword [0x4c6140], 0
je 0x40df68
lea eax, [esi + 0x24e]
xorps xmm0, xmm0
inc edi
movups xmmword [eax], xmm0
cmp dword [esi + 0x547], 2
mov dword [ebp - 0x88c], edi
jb 0x40e100
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 + 0x552], 0
call fcn.0040da10
test eax, eax
je 0x40e16a
cmp dword [0x4c5b9c], 0
lea edx, [esi + 0x218]
je 0x40e148
mov ecx, dword [esi + 0x254]
jmp 0x40e14e
mov ecx, dword [esi + 0x250]
call fcn.00418630
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 + 0x1252]
sub edi, dword [esi + 0x124e]
mov edx, dword [eax + 0x123a]
mov ecx, dword [eax + 0x122e]
sub edx, dword [eax + 0x1236]
sub ecx, dword [eax + 0x122a]
mov esi, dword [esi + 0x1246]
sub esi, dword [eax + 0x1242]
mov eax, dword [eax + 0x1222]
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 + 0x121e]
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 [0x4c613c]
push dword [ebp - 0x890]
push 0x10
push edi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
cmp dword [0x4c608c], 0
jne 0x40e31e
cmp dword [0x4c6120], 0
jne 0x40e31e
cmp dword [0x4c5b98], 0
jne 0x40e31e
cmp dword [0x4c5b84], 0
je 0x40e2e5
cmp dword [0x4c5b80], 0
je 0x40e2af
mov eax, dword [0x4c613c]
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 + 0x5c8], 1
push str.yiyi
push 0x508
cmp edi, eax
jae 0x40e3fa
mov byte [esi + 0x552], 2
push 0x4c361c
jmp 0x40e406
mov esi, dword [ebp - 0x8e4]
push 3
push str.yiyi
push str.yiyi
mov dx, word [esi + 0x24a]
push 0x508
mov byte [esi + 0x5c8], 1
mov byte [esi + 0x552], 2
push 0x4c361c
jmp 0x40e406
cmp dword [0x4c5b80], 0
mov esi, dword [ebp - 0x8e4]
mov dx, word [esi + 0x24a]
jne 0x40e3e2
push 2
push 0
push 0
push 0
push 0
mov byte [esi + 0x5c8], 0
mov byte [esi + 0x552], 0
push 0
jmp 0x40e408
mov esi, dword [ebp - 0x8e4]
inc dword [0x4c5b94]
cmp byte [esi + 0x5c7], 3
mov dx, word [esi + 0x24a]
jne 0x40e376
cmp dword [0x4c5b90], 0
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x552], 1
mov byte [esi + 0x5c8], 1
push 0x508
jne 0x40e36c
push str.103.7.141.21
jmp 0x40e406
push str.103.7.141.205
jmp 0x40e406
mov eax, dword [0x4c5b8c]
sub eax, dword [0x4c5b88]
shr eax, 1
cmp edi, eax
jae 0x40e3ba
cmp dword [0x4c5b90], 0
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x5c8], 1
mov byte [esi + 0x552], 2
push 0x508
jne 0x40e2a5
push str.103.7.141.20
jmp 0x40e406
cmp dword [0x4c5b90], 0
jne 0x40e3e2
push 3
push str.yiyi
push str.yiyi
push 0x508
mov byte [esi + 0x5c8], 1
push str.103.7.141.19
jmp 0x40e3ff
push 3
push str.yiyi
push str.yiyi
push 0x508
mov byte [esi + 0x5c8], 1
push str.103.7.141.207
mov byte [esi + 0x552], 3
push 2
push ecx
lea ecx, [esi + 0x218]
call fcn.00422710
mov dword [esi + 0x48a], eax
test eax, eax
jne 0x40e424
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 0x4b770c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov ecx, dword [0x4c613c]
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 0x40e0d0
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 + 0x5fd]
mov ecx, esi
push eax
call fcn.00402770
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.00401e60
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.00401e60
add esp, 4
push 0x4c5e
call edi
push 4
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401e60
add esp, 4
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
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call edi
push 0x58
push 4
lea edx, [ebp - 0x84]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401ea0
mov edi, dword [sym.imp.WS2_32.dll_htons]
add esp, 8
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.00401e60
push dword [ebp - 0x890]
lea edx, [ebp - 0x484]
push 4
lea ecx, [ebp - 0x8b8]
call fcn.00401ea0
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.00401e60
mov edi, dword [ebp - 0x8e4]
lea ecx, [ebp - 0x8b8]
push 0xe0
push 4
lea edx, [edi + 0x266]
call fcn.00401ea0
push 8
push 4
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x1c], 0x200
call fcn.00401ea0
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.00401ea0
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 + 0x5f0]
mov word [edi + 0x5f0], ax
lea ecx, [ebp - 0x8cc]
call fcn.00401e60
mov eax, dword [ebp - 0x8b0]
add esp, 4
add eax, 2
push eax
call esi
movzx eax, ax
push 2
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8cc]
call fcn.00401e60
push dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8b4]
lea ecx, [ebp - 0x8cc]
push 4
call fcn.00401ea0
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 0x4c5e
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.00401e60
push 6
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffff
lea ecx, [ebp - 0x8a4]
mov word [ebp - 0x14], 0x200
call fcn.00401ea0
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.00401e60
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.00401ea0
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.00402770
push dword [ebp - 0x88c]
lea edx, [ebp - 0x884]
push 4
lea ecx, [ebp - 0x8a4]
call fcn.00401ea0
add esp, 8
mov dword [ebp - 0x8d0], 0
xorps xmm0, xmm0
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.00401e60
push dword [ebp - 0x89c]
mov edx, dword [ebp - 0x8a0]
lea ecx, [ebp - 0x8e0]
push 4
call fcn.00401ea0
mov ecx, dword [esi + 0x48a]
add esp, 0xc
xor edi, edi
test ecx, ecx
je 0x40e99a
mov edx, dword [ebp - 0x8dc]
sub esp, 0xc
push dword [ebp - 0x8d8]
call fcn.00422790
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 0x40df6a