Function at 0x4060d0
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486728
mov eax, dword fs:[0]
push eax
mov eax, 0x1498
call fcn.00485ed0
mov eax, dword [0x4a2014]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test eax, eax
je 0x40611d
mov ecx, dword [0x4a3b14]
push eax
push 0x15
push esi
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
cmp byte [edi + 0x77e], 1
jne 0x40623a
cmp dword [0x4a3b08], 0
je 0x40621b
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov byte [ebp - 0x88c], 0
lea eax, [ebp - 0x410]
mov dword [ebp - 0x873], 0
xorps xmm0, xmm0
mov byte [ebp - 0x86f], 0
movups xmmword [ebp - 0x88b], xmm0
push 0
push 0
push eax
push 0
movq qword [ebp - 0x87b], xmm0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push 0x498ba8
push eax
call fcn.0040cb00
push dword [edi + 4]
lea eax, [ebp - 0x88c]
push 0x498a6c
push eax
call fcn.0040cb20
add esp, 0x18
mov dword [edi + 0x3ae], 2
lea eax, [ebp - 0x810]
mov dword [edi + 0x4e2], 0
push eax
push 0x498f84
lea eax, [ebp - 0x88c]
push eax
push 0x498c68
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x498f88
mov ecx, esi
call fcn.004131f0
add esp, 4
test eax, eax
jne 0x40621b
mov dword [edi + 0x554], 0xe
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.0042a51d
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x3d2], 0
mov eax, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
je 0x40629c
push 0
call eax
sub eax, dword [edi + 0x3d2]
add esp, 4
cmp eax, 0xb4
jae 0x406297
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x498bec
mov dword [ebp - 4], 0
mov ecx, dword [0x4a3b14]
mov eax, dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
push 0x12
push esi
call eax
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
jmp 0x40621d
mov eax, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push 0
call eax
sub eax, dword [edi]
add esp, 4
cmp eax, 0x2a300
jbe 0x406312
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x498f94
mov dword [ebp - 4], 1
mov ecx, dword [0x4a3b14]
mov eax, dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
push 0x12
push esi
call eax
cmp dword [0x4a3b08], 0
mov byte [edi + 0x77e], 1
je 0x406301
push 0x498f94
mov ecx, esi
call fcn.004131f0
add esp, 4
test eax, eax
jne 0x406301
mov dword [edi + 0x554], 0xe
lea ecx, [ebp - 0x814]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x40621b
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x890]
mov dword [ebp - 0x840], edx
lea ecx, [ebp - 0x844]
push eax
call fcn.0040cdc0
test eax, eax
je 0x406348
mov eax, dword [eax + 0x10]
inc eax
cmp eax, 8
je 0x40636f
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x844]
call fcn.0040cdc0
test eax, eax
je 0x40621b
mov eax, dword [eax + 0x10]
inc eax
cmp eax, 9
jne 0x40621b
push 0x30
lea eax, [edi + 0x352]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x4c6], 0
mov dword [edi + 0x47a], 0
mov dword [edi + 0x4ba], 0
mov dword [edi + 0x41a], 0
mov dword [edi + 0x43e], 0
mov dword [edi + 0x4b6], 0
mov dword [edi + 0x482], 0
mov dword [edi + 0x548], 0
mov dword [edi + 0x4d6], 0
mov dword [edi + 0x39a], 0
mov dword [edi + 0x3a2], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x3de], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x3e2], eax
mov dword [edi + 0x45e], 0
mov dword [edi + 0x456], 0
mov dword [edi + 0x4da], 0
mov dword [edi + 0x4a2], 0
mov dword [edi + 0x4de], 0
mov dword [edi + 0x442], 0
mov dword [edi + 0x3a6], 0
mov word [edi + 0x536], 0
mov dword [edi + 0x41e], 0
mov dword [edi + 0x526], 1
mov dword [edi + 0x52a], 0
mov dword [edi + 0x516], 0
mov dword [edi + 0x506], 6
mov dword [edi + 0x51a], 0
mov dword [edi + 0x512], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x3f2], eax
mov dword [edi + 0x452], 0
mov dword [edi + 0x550], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [edi + 0x3e6]
mov dword [edi + 0x3f6], eax
xor eax, eax
mov dword [edi + 0x53c], eax
mov dword [edi + 0x3ea], eax
mov dword [edi + 0x3fe], eax
mov dword [edi + 0x4f2], eax
mov word [edi + 0x546], ax
mov dword [edi + 0x412], eax
mov dword [edi + 0x416], eax
mov dword [edi + 0x41e], eax
mov dword [edi + 0x4f6], eax
mov dword [edi + 0x50e], eax
mov eax, dword [edi + 0x466]
mov dword [edi + 0x3fa], 0
mov dword [edi + 0x54c], 1
test eax, eax
je 0x40653d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x466], 0
mov ecx, dword [edi + 0x402]
test ecx, ecx
je 0x406556
call fcn.0040ebb0
mov dword [edi + 0x402], 0
mov ecx, dword [edi + 0x406]
test ecx, ecx
je 0x40656f
call fcn.0040ebb0
mov dword [edi + 0x406], 0
mov eax, dword [edi + 0x762]
cmp dword [eax + 8], 0
je 0x406583
push esi
mov ecx, edi
call fcn.00402e90
cmp dword [edi + 0x766], 0
jne 0x406597
call fcn.00401ee0
mov dword [edi + 0x766], eax
mov eax, dword [edi + 0x766]
test eax, eax
je 0x40621b
push 0x186a0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x4ee]
add esp, 0xc
mov dword [edi + 0x3fe], 0
cmp eax, 1
ja 0x4065de
push 2
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, 0x4a3aa4
jmp 0x40660d
cmp eax, 2
jne 0x4065f6
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, 0x4a3a70
jmp 0x40660d
cmp eax, 3
jne 0x40661d
push 2
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, 0x4a3a3c
mov edx, 0x2713
call fcn.0040eb10
mov dword [edi + 0x402], eax
cmp dword [edi + 0x402], 0
je 0x40621b
inc dword [edi + 0x3fe]
lea ecx, [ebp - 0x83c]
xorps xmm0, xmm0
mov dword [ebp - 0x82c], 0
movups xmmword [ebp - 0x83c], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
mov dword [ebp - 4], 2
push dword [edi + 4]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
push 4
lea edx, [ebp - 0x894]
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x83c]
call fcn.00401de0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call esi
push 4
lea edx, [ebp - 0x894]
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x83c]
call fcn.00401de0
add esp, 4
push 0x4c25
call esi
push 4
lea edx, [ebp - 0x894]
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x83c]
call fcn.00401de0
push 4
lea edx, [ebp - 0x894]
lea ecx, [ebp - 0x83c]
call fcn.00401de0
add esp, 8
cmp dword [edi + 0x4ee], 1
ja 0x4066eb
mov byte [0x4a256c], 1
jmp 0x4066f6
mov al, byte [edi + 0x4ee]
mov byte [0x4a256c], al
push 0xb4
mov edx, 0x4a2568
lea ecx, [ebp - 0x83c]
call fcn.00401de0
add esp, 4
mov dword [ebp - 0x848], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x858]
movups xmmword [ebp - 0x858], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x8a4]
push 0xe
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x8a4], 0x5a00
mov dword [ebp - 0x8a0], 0
mov dword [ebp - 0x89c], 0xffff0700
mov word [ebp - 0x898], 0x1000
call fcn.00401de0
mov eax, dword [ebp - 0x834]
add esp, 4
mov esi, dword [sym.imp.WS2_32.dll_htons]
add eax, 2
push eax
call esi
movzx eax, ax
lea edx, [ebp - 0x894]
push 2
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x894], eax
call fcn.00401de0
push dword [ebp - 0x834]
mov edx, dword [ebp - 0x838]
lea ecx, [ebp - 0x858]
call fcn.00401de0
add esp, 8
mov dword [ebp - 0x814], 0
lea eax, [ebp - 0x814]
mov ecx, edi
push eax
lea eax, [ebp - 0x14a4]
push eax
lea eax, [edi + 0x10c]
push eax
push dword [ebp - 0x850]
push dword [ebp - 0x854]
call fcn.00402760
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x828]
movups xmmword [ebp - 0x828], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
push 0x4c25
mov byte [ebp - 4], 4
call esi
movzx eax, ax
lea edx, [ebp - 0x894]
push 2
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x894], eax
call fcn.00401de0
mov esi, dword [sym.imp.mfc140u.dll_CByteArray::SetAtGrow]
lea ecx, [ebp - 0x828]
add esp, 4
push 0xff
push dword [ebp - 0x820]
call esi
push 0xff
push dword [ebp - 0x820]
lea ecx, [ebp - 0x828]
call esi
push 0
push dword [ebp - 0x820]
lea ecx, [ebp - 0x828]
call esi
push 0
push dword [ebp - 0x820]
lea ecx, [ebp - 0x828]
call esi
push 0
push dword [ebp - 0x820]
lea ecx, [ebp - 0x828]
call esi
push 1
push dword [ebp - 0x820]
lea ecx, [ebp - 0x828]
call esi
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_htonl]
push 4
lea edx, [ebp - 0x894]
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x828]
call fcn.00401de0
add esp, 4
lea ecx, [ebp - 0x828]
push 1
push dword [ebp - 0x820]
call esi
push 0x78
push dword [ebp - 0x820]
lea ecx, [ebp - 0x828]
call esi
push 0x78
lea edx, [edi + 0x11c]
lea ecx, [ebp - 0x828]
call fcn.00401de0
push dword [ebp - 0x814]
lea edx, [ebp - 0x14a4]
lea ecx, [ebp - 0x828]
call fcn.00401de0
push 0xc00
lea eax, [ebp - 0x14a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov dword [ebp - 0x85c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x86c]
movups xmmword [ebp - 0x86c], xmm0
call dword [sym.imp.mfc140u.dll_CByteArray::CByteArray]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x820]
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push 4
lea edx, [ebp - 0x894]
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x86c]
call fcn.00401de0
push dword [ebp - 0x820]
mov edx, dword [ebp - 0x824]
lea ecx, [ebp - 0x86c]
call fcn.00401de0
mov ecx, dword [edi + 0x402]
add esp, 8
mov dword [ebp - 0x894], 0
test ecx, ecx
je 0x4069be
mov edx, dword [ebp - 0x868]
sub esp, 0xc
push dword [ebp - 0x864]
call fcn.0040eb90
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x894], eax
mov esi, dword [reloc.mfc140u.dll_CByteArray::CByteArray]
lea ecx, [ebp - 0x86c]
call esi
lea ecx, [ebp - 0x828]
call esi
lea ecx, [ebp - 0x858]
call esi
lea ecx, [ebp - 0x83c]
call esi
mov eax, dword [ebp - 0x894]
jmp 0x40621d