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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443fce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x88]
add eax, 0x19ec
push eax
lea ecx, [ebp - 0x14]
call fcn.00438b50
mov dword [ebp - 4], 0
movsx ecx, word [ebp + 0xc]
cmp ecx, 0x181e
jl 0x437da2
mov word [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x68]
jmp 0x438122
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a10
call fcn.004280e0
test eax, eax
jne 0x437eb2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x7d0
jae 0x437eb2
mov edx, dword [ebp - 0x88]
cmp dword [edx + 0x1a48], 0
je 0x437dfe
call dword [sym.imp.USER32.dll_WaitMessage]
lea eax, [ebp - 0x44]
push eax
call fcn.00437cb4
add esp, 4
mov dword [ebp - 0x28], eax
jmp 0x437e15
push 0
push 0
push 0
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 0
je 0x437ead
cmp dword [ebp - 0x40], 0x12
jne 0x437e4b
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov word [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x6c]
jmp 0x438122
cmp dword [ebp - 0x40], 0x112
jne 0x437e99
mov edx, dword [ebp - 0x3c]
and edx, 0xfff0
cmp edx, 0xf060
jne 0x437e99
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov word [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x70]
jmp 0x438122
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x437dab
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a10
call fcn.004280e0
test eax, eax
jne 0x437ee5
mov word [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x74]
jmp 0x438122
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a10
call fcn.00428140
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a10
call sub.MFC42.DLL_CMapWordToPtr::GetNextAssoc
mov ax, word [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a10
call sub.MFC42.DLL_CMapWordToPtr::RemoveKey
mov cx, word [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x88]
add ecx, 0x1a2c
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov dword [eax], 0
movsx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
imul ecx, ecx, 0x181e
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x1a00]
add eax, ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
mov edx, dword [ebp - 0x88]
xor eax, eax
mov ax, word [edx + 0x19dc]
shl eax, 0x10
or ecx, eax
push ecx
movsx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [0x45c114]
push edx
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x1a0c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
jne 0x4380e6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x7d0
jae 0x4380e6
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x1a0c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x438019
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x88]
call dword [edx + 0xcc]
mov word [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x78]
jmp 0x438122
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x1a48], 0
je 0x438039
lea ecx, [ebp - 0x64]
push ecx
call fcn.00437cb4
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x43804e
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4380e1
cmp dword [ebp - 0x60], 0x12
jne 0x438084
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov word [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x7c]
jmp 0x438122
cmp dword [ebp - 0x60], 0x112
jne 0x4380cd
mov eax, dword [ebp - 0x5c]
and eax, 0xfff0
cmp eax, 0xf060
jne 0x4380cd
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov word [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x80]
jmp 0x438122
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x437f77
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x19dc]
add edx, 1
mov eax, dword [ebp - 0x88]
mov dword [eax + 0x19dc], edx
mov cx, word [ebp + 0xc]
mov word [ebp - 0x84], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438ba0
mov ax, word [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8