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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487bfc
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
mov eax, dword [0x4a4014]
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 - 0x8e8], esi
cmp byte [esi + 0x77e], 1
je 0x407c97
cmp dword [esi + 0x3d2], 0
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
je 0x407c41
push 0
call edi
sub eax, dword [esi + 0x3d2]
add esp, 4
cmp eax, 0xb4
jae 0x407c41
lea ecx, [ebp - 0x888]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x49ac0c
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x4a5b14]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x888]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
jmp 0x407c99
push 0
mov dword [esi + 0x3d2], 0
call edi
sub eax, dword [esi]
add esp, 4
cmp eax, 0x2a300
jbe 0x407cb6
lea ecx, [ebp - 0x888]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x49afb4
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 1
mov ecx, dword [0x4a5b14]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x888]
mov byte [esi + 0x77e], 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.0042b8bd
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
mov dword [esi + 0x3d6], 0
mov dword [esi + 0x342], 0
mov dword [esi + 0x346], 0
mov dword [esi + 0x34a], 0
mov dword [esi + 0x4fe], 0
mov dword [esi + 0x446], 0
mov dword [esi + 0x47a], 0
movsd qword [esi + 0x4ca], xmm0
mov dword [esi + 0x43e], 0
mov dword [esi + 0x4b6], 0
mov dword [esi + 0x48e], 0
mov dword [esi + 0x482], 0
mov dword [esi + 0x548], 0
mov dword [esi + 0x456], 0
mov dword [esi + 0x416], 0
mov dword [esi + 0x4f6], 0
mov dword [esi + 0x39a], 0
mov dword [esi + 0x4ea], 0
je 0x407d85
mov dword [esi + 0x3da], 0
mov dword [esi + 0x462], 0
mov eax, dword [esi + 0x466]
test eax, eax
je 0x407da0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x466], 0
mov ecx, dword [esi + 0x402]
test ecx, ecx
je 0x407dc1
call fcn.0040fa80
push 0x64
mov dword [esi + 0x402], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x8e4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x44a], 0
mov edi, dword [ebp + 8]
mov dword [esi + 0x41a], eax
je 0x407df3
push edi
mov ecx, esi
call fcn.00407490
mov dword [esi + 0x44a], 0
cmp dword [0x4a5b18], 0
je 0x407c97
inc dword [ebp - 0x8e4]
lea eax, [esi + 0x24a]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
cmp dword [esi + 0x486], 2
jb 0x407e25
mov dword [esi + 0x48a], 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 dword [esi + 0x492], 0
call fcn.00407730
test eax, eax
je 0x407e8d
cmp dword [0x4a5a34], 0
mov edx, edi
je 0x407e6b
mov ecx, dword [esi + 0x250]
jmp 0x407e71
mov ecx, dword [esi + 0x24c]
call fcn.0040b8f0
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 - 0x8f0]
mov dword [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
mov dword [ebp - 0x8ec], eax
mov eax, dword [ebp - 0x8e8]
mov byte [ebp - 4], 3
mov edi, dword [esi + 0x7b3]
sub edi, dword [esi + 0x7af]
mov edx, dword [eax + 0x79b]
mov ecx, dword [eax + 0x78f]
sub edx, dword [eax + 0x797]
sub ecx, dword [eax + 0x78b]
mov esi, dword [esi + 0x7a7]
sub esi, dword [eax + 0x7a3]
mov eax, dword [eax + 0x783]
sar edi, 4
mov dword [ebp - 0x888], edi
mov edi, dword [ebp - 0x8e8]
sar esi, 4
sar edx, 4
sar ecx, 4
sub eax, dword [edi + 0x77f]
mov edi, dword [ebp - 0x888]
push edi
push esi
mov esi, dword [ebp - 0x8e8]
push edx
push ecx
sar eax, 4
push eax
push dword [esi + 0x246]
mov eax, dword [ebp - 0x8ec]
push dword [eax]
movzx eax, byte [esi + 0x24a]
push eax
mov eax, dword [ebp - 0x8e4]
push eax
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__9]
add esp, 0x2c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8f0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x890]
mov edi, dword [ebp + 8]
mov ecx, dword [0x4a5b14]
push 0x10
push edi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
inc dword [0x4a5a30]
cmp dword [esi + 0x4e6], 3
mov dx, word [esi + 0x246]
push 3
push str.yiyi
push str.yiyi
mov dword [esi + 0x4ea], 1
push 0x508
jne 0x407fd1
cmp dword [0x4a5a2c], 0
mov dword [esi + 0x492], 1
jne 0x407fca
push str.111.180.196.81
jmp 0x408022
push str.103.7.141.205
jmp 0x408022
mov eax, dword [0x4a5a28]
sub eax, dword [0x4a5a24]
shr eax, 1
cmp edi, eax
jae 0x408003
cmp dword [0x4a5a2c], 0
mov dword [esi + 0x492], 2
jne 0x407ffc
push str.103.7.141.206
jmp 0x408022
push 0x4a461c
jmp 0x408022
cmp dword [0x4a5a2c], 0
mov dword [esi + 0x492], 3
jne 0x40801d
push str.103.7.141.207
jmp 0x408022
push 0x4a449c
push 2
push ecx
lea ecx, [esi + 0x214]
call fcn.0040f9e0
mov dword [esi + 0x402], eax
test eax, eax
jne 0x408040
inc dword [esi + 0x486]
lea ecx, [ebp - 0x88c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x88c]
push dword [esi + 0x486]
push 0x49b00c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov ecx, dword [0x4a5b14]
add esp, 0xc
push dword [ebp - 0x88c]
push 0x11
push edi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x88c]
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
je 0x407df3
inc dword [esi + 0x3fe]
lea eax, [ebp - 0x484]
push 0x400
push 0
push eax
mov dword [esi + 0x486], 0
mov dword [ebp - 0x8ec], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x8ec]
lea eax, [esi + 0x10c]
push ecx
lea ecx, [ebp - 0x484]
push ecx
push eax
push 0x10
lea eax, [esi + 0x560]
mov ecx, esi
push eax
call fcn.004027a0
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 - 0x8e8]
push dword [eax + 4]
call edi
push 4
lea edx, [ebp - 0x8e4]
mov dword [ebp - 0x8e4], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401e20
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call edi
push 4
lea edx, [ebp - 0x8e4]
mov dword [ebp - 0x8e4], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401e20
add esp, 4
push 0x4c68
call edi
push 4
lea edx, [ebp - 0x8e4]
mov dword [ebp - 0x8e4], eax
lea ecx, [ebp - 0x8b8]
call fcn.00401e20
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.00401e60
mov edi, dword [sym.imp.WS2_32.dll_htons]
add esp, 8
push dword [ebp - 0x8ec]
call edi
movzx eax, ax
lea edx, [ebp - 0x8e4]
push 2
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x8e4], eax
call fcn.00401e20
push dword [ebp - 0x8ec]
lea edx, [ebp - 0x484]
push 4
lea ecx, [ebp - 0x8b8]
call fcn.00401e60
add esp, 0xc
push 0xe0
call edi
movzx eax, ax
lea edx, [ebp - 0x8e4]
push 2
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x8e4], eax
call fcn.00401e20
mov edi, dword [ebp - 0x8e8]
lea ecx, [ebp - 0x8b8]
push 0xe0
push 4
lea edx, [edi + 0x262]
call fcn.00401e60
push 8
push 4
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x8b8]
mov dword [ebp - 0x1c], 0x200
call fcn.00401e60
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.00401e60
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 + 0x544]
mov word [edi + 0x544], ax
lea ecx, [ebp - 0x8cc]
call fcn.00401e20
mov eax, dword [ebp - 0x8b0]
add esp, 4
add eax, 2
push eax
call esi
movzx eax, ax
push 2
lea edx, [ebp - 0x8e4]
mov dword [ebp - 0x8e4], eax
lea ecx, [ebp - 0x8cc]
call fcn.00401e20
push dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8b4]
lea ecx, [ebp - 0x8cc]
push 4
call fcn.00401e60
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 0x4c68
mov byte [ebp - 4], 7
call esi
movzx eax, ax
lea edx, [ebp - 0x8f0]
push 2
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 0x8f0], eax
call fcn.00401e20
push 6
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffff
lea ecx, [ebp - 0x8a4]
mov word [ebp - 0x14], 0x200
call fcn.00401e60
mov eax, dword [ebp - 0x8e8]
add esp, 0xc
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_htonl]
push 4
lea edx, [ebp - 0x8e4]
mov dword [ebp - 0x8e4], eax
lea ecx, [ebp - 0x8a4]
call fcn.00401e20
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 - 0x8e8]
lea ecx, [ebp - 0x8a4]
push 0x78
push 4
lea edx, [esi + 0x11c]
call fcn.00401e60
push 0x400
lea eax, [ebp - 0x884]
mov dword [ebp - 0x888], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x888]
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.004027a0
push dword [ebp - 0x888]
lea edx, [ebp - 0x884]
push 4
lea ecx, [ebp - 0x8a4]
call fcn.00401e60
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], 8
mov eax, dword [ebp - 0x89c]
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 4
lea edx, [ebp - 0x8f0]
mov dword [ebp - 0x8f0], eax
lea ecx, [ebp - 0x8e0]
call fcn.00401e20
push dword [ebp - 0x89c]
mov edx, dword [ebp - 0x8a0]
lea ecx, [ebp - 0x8e0]
push 4
call fcn.00401e60
mov ecx, dword [esi + 0x402]
add esp, 0xc
xor edi, edi
test ecx, ecx
je 0x4085b0
mov edx, dword [ebp - 0x8dc]
sub esp, 0xc
push dword [ebp - 0x8d8]
call fcn.0040fa60
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 0x407c99