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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488922
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4a4014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x3de]
mul ecx
mov edi, edx
shr edi, 6
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x41a]
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x34], eax
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x3fa]
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x20], eax
call esi
call esi
call esi
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x4da]
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x30], eax
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x422]
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x28], eax
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x45e]
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x2c], eax
call esi
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x48e]
mul ecx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x38], eax
call esi
mov eax, 0x88888889
mul edi
mov eax, 0x88888889
shr edx, 5
mul edx
mov eax, 0xaaaaaaab
shr edx, 5
mul edx
mov eax, edx
shr eax, 4
mov dword [ebp - 0x24], eax
mov esi, edi
mov eax, 0x91a2b3c5
mul edi
push dword [ebp - 0x20]
mov eax, edx
shr eax, 0xb
imul ecx, eax, 0xe10
mov dword [ebp - 0x1c], eax
mov eax, 0x88888889
sub esi, ecx
mul esi
mov esi, edx
mov edx, dword [ebp - 0x1c]
mov eax, edx
shr esi, 5
shl eax, 4
sub eax, edx
lea eax, [esi + eax*4]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [ebp - 0x14]
shl ecx, 2
sub edi, ecx
cmp dword [0x4a603c], 0
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x1c]
mov edi, dword [ebx + 0x4fe]
push esi
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push edx
push dword [ebp - 0x24]
je 0x40d6dd
push str._d:_d:_d:_d_d_25
jmp 0x40d6e2
push str._d:_d:_d:_d_d
push eax
call esi
mov ecx, dword [0x4a6048]
add esp, 0x1c
push dword [ebp - 0x14]
push 0x13
push dword [ebp + 8]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
push dword [ebx + 0x4f2]
lea eax, [ebp - 0x14]
push dword [ebx + 0x3fe]
push dword [ebx + 0x446]
push str._d_d_d
push eax
call esi
mov ecx, dword [0x4a6048]
add esp, 0x14
push dword [ebp - 0x14]
push 0xe
push dword [ebp + 8]
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
push dword [ebx + 0x486]
lea eax, [ebp - 0x14]
push dword [ebx + 0x49a]
push edi
push dword [ebx + 0x3ea]
push str._d_d_d_d
push eax
call esi
mov ebx, dword [ebp + 8]
add esp, 0x18
mov ecx, dword [0x4a6048]
push dword [ebp - 0x14]
push 0xf
push ebx
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
cmp edi, 2
jne 0x40d77e
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push 0x49b1e8
push eax
call esi
add esp, 0xc
jmp 0x40d7f1
cmp edi, 4
jne 0x40d796
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push str._b4
push eax
call esi
add esp, 0xc
jmp 0x40d7f1
cmp edi, 6
jne 0x40d7ae
push dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push 0x49b20c
push eax
call esi
add esp, 0xc
jmp 0x40d7f1
cmp edi, 7
jne 0x40d7c6
push dword [ebp - 0x34]
lea eax, [ebp - 0x18]
push 0x49b220
push eax
call esi
add esp, 0xc
jmp 0x40d7f1
cmp edi, 9
jne 0x40d7de
push dword [ebp - 0x38]
lea eax, [ebp - 0x18]
push 0x49b230
push eax
call esi
add esp, 0xc
jmp 0x40d7f1
cmp edi, 0xb
jne 0x40d7f1
lea eax, [ebp - 0x18]
push 0x49abb0
push eax
call esi
add esp, 8
push dword [ebp - 0x18]
mov ecx, dword [0x4a6048]
push 0x11
push ebx
call dword [sym.imp.mfc140u.dll_CListCtrl::SetItemText]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c14d
mov esp, ebp
pop ebp
ret 4