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

Disassembly:
push 0xffffffffffffffff
push 0x417470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [edi + 0x198], ebx
mov ecx, dword [edi + 0x170]
push 0x640000
push ebx
push 0x401
push ecx
call ebp
mov edx, dword [edi + 0x170]
push ebx
push ebx
push 0x402
push edx
call ebp
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x18]
mov edx, dword [esi]
mov dword [esp + 0x60], ebx
mov ebx, dword [eax]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov eax, dword [eax]
push ebx
push eax
push 0x837
mov ecx, edi
mov byte [esp + 0x6c], 1
call fcn.00412fa0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.00414462
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00414462
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x4128cf
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x10]
mov ebx, eax
jmp 0x4128d7
mov dword [esp + 0x3c], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
cmp eax, 3
mov dword [esp + 0x68], eax
jne 0x41297a
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
lea eax, [eax + eax*4]
xor edx, edx
push 0
lea eax, [eax + eax*4]
shl eax, 2
div ebx
mov dword [edi + 0x198], eax
mov edx, dword [edi + 0x170]
push eax
push 0x402
push edx
call ebp
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x198]
lea ecx, [esp + 0x30]
push eax
push str._d__
push ecx
mov dword [esp + 0x6c], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [edi + 0xd0]
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 0xffffffff
call fcn.00414462
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
cmp eax, 3
mov dword [esp + 0x68], eax
je 0x4128eb
cmp eax, 5
jne 0x41299a
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
xor eax, eax
mov dword [ecx], 0x8a5
mov dword [edx], 0x8fe
jmp 0x412f15
push 0x41f690
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x64], 3
call dword [eax + 0x18]
mov ebp, dword [eax]
mov edx, dword [esi]
lea eax, [esp + 0x3c]
mov bl, 4
push eax
mov ecx, esi
mov byte [esp + 0x64], bl
call dword [edx + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push ebp
push eax
push 0xe025
mov ecx, edi
mov byte [esp + 0x70], 5
call fcn.00413020
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60], bl
call fcn.00414462
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 3
call fcn.00414462
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
push 0xe034
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 6
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x2c]
lea ecx, [edi + 0x90]
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CString::CString
push str.
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 8
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea ebx, [edi + 0xd0]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xd
call sub.MFC42.DLL_CString::CString
push 0x41f264
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0xe
call sub.MFC42.DLL_CString::operator
push 0x41f264
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
push 0x41f264
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
push 0x41f264
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
push 0x41f264
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x3c], eax
call dword [edx + 0x50]
mov edx, eax
mov dword [esp + 0x30], edx
call ebp
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
sub eax, ebp
cmp eax, ecx
jae 0x412cc7
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x44]
mov ebp, eax
cmp ebp, 9
mov dword [esp + 0x68], ebp
jne 0x412ccb
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov ebp, dword [eax]
mov edx, dword [esi]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
mov byte [esp + 0x64], 0xf
call dword [edx + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push ebp
push eax
push 0xe025
mov ecx, edi
mov byte [esp + 0x70], 0x10
call fcn.00413020
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0xf
call fcn.00414462
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 0xe
call fcn.00414462
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00414486
push 0x41f264
lea ecx, [esp + 0x14]
call fcn.004147fe
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
call fcn.00414486
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00414486
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1c]
push edx
call fcn.00414486
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
call fcn.00414486
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.00414486
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x1c]
mov byte [esp + 0x60], 0x11
push edx
push eax
lea eax, [esp + 0x54]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x48]
push ecx
push eax
push edx
mov byte [esp + 0x6c], 0x12
call sub.MFC42.DLL_operator_1
mov byte [esp + 0x60], 0x13
lea ecx, [esp + 0x28]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0x14
call fcn.00414486
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 0x13
call fcn.00414462
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 0x12
call fcn.00414462
lea ecx, [esp + 0x4c]
mov byte [esp + 0x60], 0x11
call fcn.00414462
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 0xe
call fcn.00414462
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x50]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x3c]
cmp eax, ebp
jb 0x412b34
mov ebp, dword [esp + 0x68]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp ebp, 7
mov ebx, eax
jne 0x412d01
push ebx
call fcn.00402740
mov ecx, eax
call fcn.00402ac0
mov ecx, dword [esp + 0x6c]
push ebx
mov dword [ecx], eax
call fcn.00402740
mov ecx, eax
call fcn.00402af0
mov edx, dword [esp + 0x70]
mov dword [edx], eax
jmp 0x412d1e
cmp ebp, 8
jne 0x412db4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [eax], 0xe053
mov dword [ecx], 0xe054
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xd
call fcn.00414462
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0xc
call fcn.00414462
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0xb
call fcn.00414462
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0xa
call fcn.00414462
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 9
call fcn.00414462
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 8
call fcn.00414462
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 7
call fcn.00414462
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 6
call fcn.00414462
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 3
call fcn.00414462
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], 0xffffffff
call fcn.00414462
xor eax, eax
jmp 0x412f15
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0x64], 0x15
mov ebp, 1
call dword [edx + 0x18]
mov ebx, dword [eax]
mov edx, dword [esi]
lea eax, [esp + 0x50]
mov ecx, esi
push eax
mov byte [esp + 0x64], 0x16
call dword [edx + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push ebx
push eax
push 0x839
mov ecx, edi
mov byte [esp + 0x70], 0x17
call fcn.00413020
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 0x16
call fcn.00414462
lea ecx, [esp + 0x4c]
mov byte [esp + 0x60], 0x15
call fcn.00414462
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
lea ecx, [eax - 0xc]
cmp ecx, 3
ja case.default.0x412e2b
jmp dword [ecx*4 + 0x412f2c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
xor ebp, ebp
mov dword [eax], 0x8a7
mov dword [ecx], 0x902
jmp case.default.0x412e2b
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
xor ebp, ebp
mov dword [edx], 0xe004
mov dword [eax], 0x901
jmp case.default.0x412e2b
mov ecx, dword [esp + 0x70]
sub eax, 0xe
neg eax
sbb eax, eax
and al, 0xfd
add eax, 0x900
mov dword [ecx], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x60], 0xe
call fcn.00414462
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xd
call fcn.00414462
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0xc
call fcn.00414462
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0xb
call fcn.00414462
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0xa
call fcn.00414462
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 9
call fcn.00414462
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 8
call fcn.00414462
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 7
call fcn.00414462
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 6
call fcn.00414462
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 3
call fcn.00414462
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], 0xffffffff
call fcn.00414462
mov eax, ebp
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc