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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485b6c
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x4a1014]
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 + 0x6c6], 1
je 0x407457
cmp dword [esi + 0x3d2], 0
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
je 0x407401
push 0
call edi
sub eax, dword [esi + 0x3d2]
add esp, 4
cmp eax, 0xb4
jae 0x407401
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x498bdc
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x4a2b14]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
jmp 0x407459
push 0
mov dword [esi + 0x3d2], 0
call edi
sub eax, dword [esi]
add esp, 4
cmp eax, 0x2a300
jbe 0x407476
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x498f78
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 1
mov ecx, dword [0x4a2b14]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x88c]
mov byte [esi + 0x6c6], 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.0042996d
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x3d6], 0
xorps xmm0, xmm0
mov dword [esi + 0x342], 0
mov dword [esi + 0x346], 0
mov ecx, dword [esi + 0x6aa]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x34a], 0
mov byte [esi + 0x4b2], 0
mov byte [esi + 0x446], 0
mov byte [esi + 0x470], 0
movsd qword [esi + 0x49c], xmm0
mov dword [esi + 0x43e], 0
mov dword [esi + 0x488], 0
mov byte [esi + 0x47b], 0
mov dword [esi + 0x472], 0
mov byte [esi + 0x4d2], 0
mov dword [esi + 0x44c], 0
mov dword [esi + 0x416], 0
mov byte [esi + 0x4b0], 0
mov dword [esi + 0x39a], 0
mov byte [esi + 0x4ad], 0
call dword [sym.imp.mfc140u.dll_CByteArray::SetSize]
cmp dword [ebp + 0xc], 0
je 0x407540
mov dword [esi + 0x3da], 0
mov dword [esi + 0x458], 0
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x40755b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x45c], 0
mov ecx, dword [esi + 0x402]
test ecx, ecx
je 0x40757c
call fcn.0040e4a0
push 0x64
mov dword [esi + 0x402], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esi + 0x447], 0
mov dword [esi + 0x41a], eax
je 0x4075a1
mov ecx, esi
call fcn.00406d20
mov byte [esi + 0x447], 0
cmp dword [0x4a2b18], 0
je 0x407457
lea eax, [esi + 0x24a]
xorps xmm0, xmm0
inc edi
movups xmmword [eax], xmm0
cmp dword [esi + 0x476], 2
mov dword [ebp - 0x88c], edi
jb 0x4075d1
mov byte [esi + 0x47a], 0
lea edi, [esi + 0x214]
mov ecx, esi
movups xmmword [edi], xmm0
push eax
push dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [esi + 0x246], 0
mov byte [esi + 0x47c], 0
call fcn.00406ee0
test eax, eax
je 0x407636
cmp dword [0x4a2a3c], 0
mov edx, edi
je 0x407614
mov ecx, dword [esi + 0x250]
jmp 0x40761a
mov ecx, dword [esi + 0x24c]
call fcn.0040a390
movzx eax, word [esi + 0x258]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esi + 0x246], eax
lea ecx, [ebp - 0x890]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push edi
lea ecx, [ebp - 0x8e8]
mov dword [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8e4]
mov byte [ebp - 4], 3
mov edi, dword [esi + 0x6fb]
sub edi, dword [esi + 0x6f7]
mov edx, dword [eax + 0x6e3]
mov ecx, dword [eax + 0x6d7]
sub edx, dword [eax + 0x6df]
sub ecx, dword [eax + 0x6d3]
mov esi, dword [esi + 0x6ef]
sub esi, dword [eax + 0x6eb]
mov eax, dword [eax + 0x6cb]
sar edi, 4
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x8e4]
sar esi, 4
sar edx, 4
sar ecx, 4
sub eax, dword [edi + 0x6c7]
mov edi, dword [ebp - 0x1c]
push edi
push esi
mov esi, dword [ebp - 0x8e4]
push edx
push ecx
sar eax, 4
push eax
push dword [esi + 0x246]
mov eax, dword [ebp - 0x18]
push dword [eax]
movzx eax, byte [esi + 0x24a]
push eax
push dword [ebp - 0x88c]
lea eax, [ebp - 0x890]
push str._d_d__ws:_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__7]
add esp, 0x2c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8e8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x890]
mov edi, dword [ebp + 8]
mov ecx, dword [0x4a2b14]
push 0x10
push edi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
inc dword [0x4a2a38]
mov eax, dword [0x4a2a34]
test eax, eax
jne 0x4077d6
cmp byte [esi + 0x4ac], 3
jne 0x407774
cmp dword [0x4a1728], 0
mov dx, word [esi + 0x246]
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x47c], 1
mov byte [esi + 0x4ad], 1
push 0x508
jne 0x40788f
push str.61.136.166.20
jmp 0x407894
mov eax, dword [0x4a2a30]
sub eax, dword [0x4a2a2c]
shr eax, 1
cmp edi, eax
jae 0x407822
cmp dword [0x4a1728], 0
mov dx, word [esi + 0x246]
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x4ad], 1
mov byte [esi + 0x47c], 2
push 0x508
jne 0x4077c2
push str.103.7.141.206
jmp 0x407894
push 0x4a161c
jmp 0x407894
push 0x4a149c
jmp 0x407894
cmp eax, 1
jne 0x4077ef
cmp byte [esi + 0x4ac], 3
je 0x407737
test byte [ebp + 8], al
jne 0x407822
jmp 0x407789
cmp eax, 2
jne 0x407e4d
cmp byte [esi + 0x4ac], 3
je 0x407737
mov ecx, dword [ebp + 8]
test cl, 1
je 0x407789
mov eax, dword [0x4a2a30]
sub eax, dword [0x4a2a2c]
shr eax, 1
cmp ecx, eax
jae 0x40785c
cmp dword [0x4a1728], 0
mov dx, word [esi + 0x246]
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x4ad], 1
mov byte [esi + 0x47c], 3
push 0x508
jne 0x4077cc
push str.103.7.141.207
jmp 0x407894
cmp dword [0x4a1728], 0
mov dx, word [esi + 0x246]
push 3
push str.yiyi
push str.yiyi
mov byte [esi + 0x47c], 4
mov byte [esi + 0x4ad], 4
push 0x508
jne 0x40776a
push str.103.7.141.205
push 2
push ecx
lea ecx, [esi + 0x214]
call fcn.0040e400
mov dword [esi + 0x402], eax
cmp dword [esi + 0x402], 0
jne 0x4078b7
inc dword [esi + 0x476]
lea ecx, [ebp - 0x888]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x888]
push dword [esi + 0x476]
push 0x498fd0
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
mov ecx, dword [0x4a2b14]
add esp, 0xc
push dword [ebp - 0x888]
push 0x11
push dword [ebp + 8]
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 + 0x402], 0
mov edi, dword [ebp - 0x88c]
je 0x4075a1
inc dword [esi + 0x3fe]
lea eax, [ebp - 0x484]
push 0x400
push 0
push eax
mov dword [esi + 0x476], 0
mov dword [ebp - 0x890], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x890]
lea eax, [esi + 0x10c]
push ecx
lea ecx, [ebp - 0x484]
push ecx
push eax
push 0x10
lea eax, [esi + 0x4d8]
mov ecx, esi
push eax
call fcn.00402620
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], 5
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 + 4]
call edi
push 4
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401d60
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.00401d60
add esp, 4
push 0x4c1a
call edi
push 4
lea edx, [ebp - 0x888]
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401d60
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.00401da0
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.00401d60
push dword [ebp - 0x890]
lea edx, [ebp - 0x484]
push 4
lea ecx, [ebp - 0x8b8]
call fcn.00401da0
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.00401d60
mov edi, dword [ebp - 0x8e4]
lea ecx, [ebp - 0x8b8]
push 0xe0
push 4
lea edx, [edi + 0x262]
call fcn.00401da0
push 8
push 4
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x1c], 0x200
call fcn.00401da0
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], 6
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.00401da0
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 + 0x4ce]
mov word [edi + 0x4ce], ax
lea ecx, [ebp - 0x8cc]
call fcn.00401d60
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.00401d60
push dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8b4]
lea ecx, [ebp - 0x8cc]
push 4
call fcn.00401da0
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 0x4c1a
mov byte [ebp - 4], 7
call esi
movzx eax, ax
lea edx, [ebp - 0x8e8]
push 2
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 0x8e8], eax
call fcn.00401d60
push 6
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffff
lea ecx, [ebp - 0x8a4]
mov word [ebp - 0x14], 0x200
call fcn.00401da0
mov eax, dword [ebp - 0x8e4]
add esp, 0xc
push dword [eax + 4]
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.00401d60
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 + 0x11c]
call fcn.00401da0
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 + 0x10c]
push eax
push dword [ebp - 0x8c4]
push dword [ebp - 0x8c8]
call fcn.00402620
push dword [ebp - 0x88c]
lea edx, [ebp - 0x884]
push 4
lea ecx, [ebp - 0x8a4]
call fcn.00401da0
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], 8
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.00401d60
push dword [ebp - 0x89c]
mov edx, dword [ebp - 0x8a0]
lea ecx, [ebp - 0x8e0]
push 4
call fcn.00401da0
mov ecx, dword [esi + 0x402]
add esp, 0xc
xor edi, edi
test ecx, ecx
je 0x407e20
mov edx, dword [ebp - 0x8dc]
sub esp, 0xc
push dword [ebp - 0x8d8]
call fcn.0040e480
mov edi, eax
neg edi
push 0x32
sbb edi, edi
inc edi
mov dword [esi + 0x3d6], 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 0x407459
cmp eax, 3
jne 0x407e83
mov cl, byte [esi + 0x4ac]
cmp cl, al
je 0x407737
mov eax, dword [0x4a2a30]
sub eax, dword [0x4a2a2c]
shr eax, 1
cmp edi, eax
jb 0x407789
cmp cl, 4
jne 0x40785c
jmp 0x407822
cmp eax, 4
jne 0x4078a8
mov al, byte [esi + 0x4ac]
cmp al, 3
je 0x407737
cmp al, 4
jne 0x40785c
jmp 0x407789