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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48845c
mov eax, dword fs:[0]
push eax
sub esp, 0x908
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 edi, ecx
mov dword [ebp - 0x90c], edi
cmp byte [edi + 0x792], 1
je 0x407d17
cmp dword [edi + 0x3d6], 0
mov esi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
je 0x407cc1
push 0
call esi
sub eax, dword [edi + 0x3d6]
add esp, 4
cmp eax, 0xb4
jae 0x407cc1
lea ecx, [ebp - 0x8b0]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x49ac38
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x4a6048]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x8b0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
jmp 0x407d19
push 0
mov dword [edi + 0x3d6], 0
call esi
sub eax, dword [edi]
add esp, 4
cmp eax, 0x2a300
jbe 0x407d36
lea ecx, [ebp - 0x8b0]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x49afd4
push 0x12
push dword [ebp + 8]
mov dword [ebp - 4], 1
mov ecx, dword [0x4a6048]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x8b0]
mov byte [edi + 0x792], 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.0042c14d
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
mov dword [edi + 0x3da], 0
mov dword [edi + 0x346], 0
mov dword [edi + 0x34a], 0
mov dword [edi + 0x34e], 0
mov dword [edi + 0x506], 0
mov dword [edi + 0x44a], 0
mov dword [edi + 0x486], 0
movsd qword [edi + 0x4d2], xmm0
mov dword [edi + 0x442], 0
mov dword [edi + 0x4be], 0
mov dword [edi + 0x496], 0
mov dword [edi + 0x48e], 0
mov dword [edi + 0x550], 0
mov dword [edi + 0x462], 0
mov dword [edi + 0x41a], 0
mov dword [edi + 0x4fe], 0
mov dword [edi + 0x39e], 0
mov dword [edi + 0x4f2], 0
je 0x407e05
mov dword [edi + 0x3de], 0
mov dword [edi + 0x46e], 0
mov eax, dword [edi + 0x472]
test eax, eax
je 0x407e20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x472], 0
mov ecx, dword [edi + 0x406]
test ecx, ecx
je 0x407e41
call fcn.0040fd90
push 0x64
mov dword [edi + 0x406], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x908], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 0x44e], 0
mov esi, dword [ebp + 8]
mov dword [edi + 0x41e], eax
je 0x407e73
push esi
mov ecx, edi
call fcn.00407480
mov dword [edi + 0x44e], 0
cmp dword [0x4a604c], 0
je 0x407d17
inc dword [ebp - 0x908]
lea eax, [edi + 0x24a]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
cmp dword [edi + 0x452], 2
jb 0x407eac
mov dword [edi + 0x492], 0
lea esi, [edi + 0x214]
mov ecx, edi
movups xmmword [esi], xmm0
push eax
push dword [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [edi + 0x246], 0
mov dword [edi + 0x49a], 0
call fcn.00407720
test eax, eax
je 0x407f14
cmp dword [0x4a5f64], 0
mov edx, esi
je 0x407ef2
mov ecx, dword [edi + 0x254]
jmp 0x407ef8
mov ecx, dword [edi + 0x250]
call fcn.0040bb90
movzx eax, word [edi + 0x25c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [edi + 0x246], eax
lea ecx, [ebp - 0x8b0]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push esi
lea ecx, [ebp - 0x910]
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 - 0x18], eax
mov byte [ebp - 4], 3
mov eax, 0x66666667
mov ecx, dword [edi + 0x7c7]
sub ecx, dword [edi + 0x7c3]
imul ecx
mov ecx, dword [edi + 0x7bb]
sub ecx, dword [edi + 0x7b7]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x914], eax
mov eax, 0x66666667
imul ecx
mov ecx, dword [edi + 0x7af]
sub ecx, dword [edi + 0x7ab]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, 0x66666667
imul ecx
mov eax, dword [ebp - 0x90c]
push dword [ebp - 0x914]
sar edx, 3
push dword [ebp - 0x1c]
mov ecx, dword [eax + 0x7a3]
mov edi, edx
sub ecx, dword [eax + 0x79f]
mov eax, 0x66666667
shr edi, 0x1f
add edi, edx
imul ecx
mov eax, dword [ebp - 0x90c]
sar edx, 3
mov esi, edx
shr esi, 0x1f
mov ecx, dword [eax + 0x797]
add esi, edx
sub ecx, dword [eax + 0x793]
mov eax, 0x66666667
imul ecx
push edi
mov edi, dword [ebp - 0x90c]
sar edx, 3
push esi
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [edi + 0x246]
mov eax, dword [ebp - 0x18]
push dword [eax]
movzx eax, byte [edi + 0x24a]
push eax
mov eax, dword [ebp - 0x908]
push eax
lea eax, [ebp - 0x8b0]
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 - 0x910]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x8b0]
mov esi, dword [ebp + 8]
mov ecx, dword [0x4a6048]
push 0x10
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
inc dword [0x4a5f60]
cmp dword [edi + 0x4ee], 3
mov dx, word [edi + 0x246]
push 3
push str.yiyi
push str.yiyi
mov dword [edi + 0x4f2], 1
push 0x508
jne 0x40809c
cmp dword [0x4a5f5c], 0
mov dword [edi + 0x49a], 1
jne 0x408095
push str.111.180.196.81
jmp 0x4080ed
push str.103.7.141.205
jmp 0x4080ed
mov eax, dword [0x4a5f58]
sub eax, dword [0x4a5f54]
shr eax, 1
cmp esi, eax
jae 0x4080ce
cmp dword [0x4a5f5c], 0
mov dword [edi + 0x49a], 2
jne 0x4080c7
push str.103.7.141.206
jmp 0x4080ed
push 0x4a4b4c
jmp 0x4080ed
cmp dword [0x4a5f5c], 0
mov dword [edi + 0x49a], 3
jne 0x4080e8
push str.103.7.141.207
jmp 0x4080ed
push 0x4a449c
push 2
push ecx
lea ecx, [edi + 0x214]
call fcn.0040fcf0
mov dword [edi + 0x406], eax
test eax, eax
jne 0x40810b
inc dword [edi + 0x452]
lea ecx, [ebp - 0x8b4]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x8b4]
push dword [edi + 0x452]
push 0x49b02c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
mov ecx, dword [0x4a6048]
add esp, 0xc
push dword [ebp - 0x8b4]
push 0x11
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x8b4]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x8b0]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [edi + 0x406], 0
je 0x407e73
inc dword [edi + 0x402]
lea eax, [ebp - 0x484]
push 0x400
push 0
push eax
mov dword [edi + 0x452], 0
mov dword [ebp - 0x908], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x908]
lea eax, [edi + 0x10c]
push ecx
lea ecx, [ebp - 0x484]
push ecx
push eax
push 0x10
lea eax, [edi + 0x568]
mov ecx, edi
push eax
call fcn.00402830
xorps xmm0, xmm0
mov dword [ebp - 0x8b8], 0
lea ecx, [ebp - 0x8c8]
movups xmmword [ebp - 0x8c8], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
push 0
mov dword [ebp - 4], 5
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 3
push dword [edi + 4]
call esi
mov edx, eax
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
add esp, 8
push 0
push 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
add esp, 8
push 0
push 3
push 0x4c9e
call esi
mov edx, eax
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 8
mov dword [ebp - 0x84], 0x74736574
mov dword [ebp - 0x80], 0x707041
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], 0x3f0000
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x16000000
mov dword [ebp - 0x4c], 0xa8830000
mov dword [ebp - 0x48], 0x31f69734
mov dword [ebp - 0x44], 0xc9930000
mov dword [ebp - 0x40], 0xed060900
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x9f66d602
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call esi
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [edi + 0x4aa], 0
lea edx, [ebp - 0x84]
mov dword [ebp - 0x38], eax
mov ecx, 2
movzx eax, byte [ebp - 0x67]
cmovne eax, ecx
lea ecx, [ebp - 0x8c8]
push 0x58
push 4
mov byte [ebp - 0x67], al
call fcn.00401e80
add esp, 8
push 0
push 2
push dword [ebp - 0x908]
call dword [sym.imp.WS2_32.dll_htons]
movzx edx, ax
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
push dword [ebp - 0x908]
lea edx, [ebp - 0x484]
push 4
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
add esp, 0x10
push 0
push 2
push 0xe0
call dword [sym.imp.WS2_32.dll_htons]
movzx edx, ax
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
push 0xe0
push 4
lea edx, [edi + 0x266]
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
push 8
push 4
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x8c8]
mov dword [ebp - 0x1c], 0x200
call fcn.00401e80
add esp, 0x18
push dword [edi + 0x24c]
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 0x54c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x8ac]
movq qword [ebp - 0x88c], xmm0
push eax
movups xmmword [ebp - 0x8ac], xmm0
movups xmmword [ebp - 0x89c], xmm0
call esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
lea eax, [edi + 0x10c]
push eax
movzx eax, word [edi + 0x54c]
push eax
call esi
mov ecx, dword [edi + 4]
movzx edx, ax
call fcn.00417d10
add esp, 0xc
mov dword [ebp - 0x8b0], eax
test eax, eax
je 0x408487
lea ecx, [eax - 1]
cmp ecx, 0x62
ja 0x408487
push 0
push dword [ebp - 0x8c0]
lea ecx, [ebp - 0x8c8]
call dword [sym.imp.mfc140u.dll_CByteArray::SetAtGrow]
push 0
push 2
push dword [ebp - 0x8b0]
call esi
movzx edx, ax
lea ecx, [ebp - 0x8c8]
call fcn.00401e80
push dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8ac]
lea ecx, [ebp - 0x8c8]
push 4
call fcn.00401e80
add esp, 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x8e0], 0
lea ecx, [ebp - 0x8f0]
movups xmmword [ebp - 0x8f0], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2c]
push 0xc
push 4
lea ecx, [ebp - 0x8f0]
mov dword [ebp - 0x2c], 0x6400
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xffff0400
call fcn.00401e80
movsx edx, word [edi + 0x54c]
lea ecx, [ebp - 0x8f0]
push 0
push 2
call fcn.00401e80
mov eax, dword [ebp - 0x8c0]
add esp, 0x10
add eax, 2
push 0
push 2
push eax
call esi
movzx edx, ax
lea ecx, [ebp - 0x8f0]
call fcn.00401e80
push dword [ebp - 0x8c0]
mov edx, dword [ebp - 0x8c4]
lea ecx, [ebp - 0x8f0]
push 4
call fcn.00401e80
add esp, 0x10
mov dword [ebp - 0x8cc], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x8dc]
movups xmmword [ebp - 0x8dc], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
push 0
push 2
push 0x4c9e
mov byte [ebp - 4], 7
call esi
movzx edx, ax
lea ecx, [ebp - 0x8dc]
call fcn.00401e80
push 6
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffff
lea ecx, [ebp - 0x8dc]
mov word [ebp - 0x14], 0x200
call fcn.00401e80
mov esi, dword [sym.imp.WS2_32.dll_htonl]
add esp, 0x10
push 0
push 3
push dword [edi + 4]
call esi
mov edx, eax
lea ecx, [ebp - 0x8dc]
call fcn.00401e80
add esp, 8
lea ecx, [ebp - 0x8dc]
push 1
push dword [ebp - 0x8d4]
call dword [sym.imp.mfc140u.dll_CByteArray::SetAtGrow]
push 0x78
push dword [ebp - 0x8d4]
lea ecx, [ebp - 0x8dc]
call dword [sym.imp.mfc140u.dll_CByteArray::SetAtGrow]
push 0x78
push 4
lea edx, [edi + 0x11c]
lea ecx, [ebp - 0x8dc]
call fcn.00401e80
mov dword [ebp - 0x90c], 0
push 0x400
lea eax, [ebp - 0x884]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x90c]
mov ecx, edi
push eax
lea eax, [ebp - 0x884]
push eax
lea eax, [edi + 0x10c]
push eax
push dword [ebp - 0x8e8]
push dword [ebp - 0x8ec]
call fcn.00402830
push dword [ebp - 0x90c]
lea edx, [ebp - 0x884]
push 4
lea ecx, [ebp - 0x8dc]
call fcn.00401e80
add esp, 8
mov dword [ebp - 0x8f4], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x904]
movups xmmword [ebp - 0x904], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x8d4]
add eax, 4
push eax
call esi
push 4
lea edx, [ebp - 0x910]
mov dword [ebp - 0x910], eax
lea ecx, [ebp - 0x904]
call fcn.00401e40
push dword [ebp - 0x8d4]
mov edx, dword [ebp - 0x8d8]
lea ecx, [ebp - 0x904]
push 4
call fcn.00401e80
mov ecx, dword [edi + 0x406]
add esp, 0xc
mov dword [ebp - 0x8b0], 0
test ecx, ecx
je 0x4086ea
mov edx, dword [ebp - 0x900]
sub esp, 0xc
push dword [ebp - 0x8fc]
call fcn.0040fd70
neg eax
push 0x32
sbb eax, eax
inc eax
mov dword [ebp - 0x8b0], eax
mov dword [edi + 0x3da], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [reloc.mfc140u.dll_CByteArray::CByteArray]
lea ecx, [ebp - 0x904]
call esi
lea ecx, [ebp - 0x8dc]
call esi
lea ecx, [ebp - 0x8f0]
call esi
lea ecx, [ebp - 0x8c8]
call esi
mov eax, dword [ebp - 0x8b0]
jmp 0x407d19