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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e0dc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 1
push 0x80
call sub.mfc120.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x15c], eax
push 0x80
call sub.mfc120.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x158], ecx
cmp dword [ebp + 0xc], 0
jge 0x458beb
push 0xe004
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
jmp 0x458c04
mov edx, dword [ebp + 0xc]
push edx
push 0x4aeca8
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c8], esp
lea edx, [ebp - 0x168]
push edx
call dword [sym.imp.mfc120.dll_Ordinal_300]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x150]
push eax
lea ecx, [ebp - 0x14c]
call dword [sym.imp.pblcdlg.dll_public:_void___thiscall_CRegisterDlg::constructor_class_CWnd___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
push 4
lea edx, [ebp - 0x1ac]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120.dll_Ordinal_8204]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ac]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 8
lea edx, [ebp - 0x194]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120.dll_Ordinal_12734]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x178]
push ecx
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x194]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 4
lea edx, [ebp - 0x1bc]
push edx
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_8204]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1bc]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 4
lea edx, [ebp - 0x180]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120.dll_Ordinal_12734]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x154], 0
jmp 0x458d95
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
cmp dword [ebp - 0x154], eax
jge 0x458dcb
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1645]
movsx ecx, al
mov edx, dword [ebp - 0x164]
lea eax, [edx + ecx - 0x30]
mov dword [ebp - 0x164], eax
jmp 0x458d86
mov eax, dword [ebp - 0x164]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x164], edx
mov edx, dword [ebp - 0x164]
push edx
push 0x4aecac
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x158]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x198]
push eax
call fcn.00413a60
add esp, 0xc
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x190], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x190]
push edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x198]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0
push 0
push 0x460
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov dword [ebp - 0x1a0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.MSVCR120.dll_srand]
add esp, 4
mov eax, dword [ebp - 0x160]
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x160], edx
lea ecx, [ebp - 0x14c]
call sub.mfc120.dll_Ordinal_4041
mov dword [ebp - 0x174], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
push edx
call dword [sym.imp.MSVCR120.dll_srand]
add esp, 4
mov eax, dword [ebp - 0x160]
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x174], 2
jne 0x458fa2
mov dword [ebp - 0x154], 0
jmp 0x458efe
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 0xc
jge 0x458f2b
mov eax, dword [ebp - 0x154]
add eax, 1
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x30
mov eax, dword [ebp - 0x15c]
add eax, dword [ebp - 0x154]
mov byte [eax], dl
jmp 0x458eef
mov eax, dword [ebp - 0x1a0]
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x30
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp - 0x15c]
mov byte [eax + ecx], dl
mov ecx, dword [ebp - 0x15c]
add ecx, dword [ebp - 0x154]
mov byte [ecx], 0
mov dword [ebp - 0x154], 0
jmp 0x458f77
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 8
jge 0x458f91
mov eax, dword [ebp - 0x158]
add eax, dword [ebp - 0x154]
mov byte [eax], 0x38
jmp 0x458f68
mov ecx, dword [ebp - 0x158]
add ecx, dword [ebp - 0x154]
mov byte [ecx], 0x30
jmp 0x459009
call fcn.00413c40
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0x4aecb0
push 0x4aecb8
mov edx, dword [ebp - 0x170]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x170]
mov edx, dword [eax + 0x90]
call edx
mov eax, dword [ebp - 0x28]
push eax
push 0x4aecc0
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
push 0x4aecc4
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp - 0x160]
add eax, 0x454
push eax
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov edx, dword [ebp - 0x160]
add edx, 0x457
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
add edx, 0x2b10
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
push eax
call sub.mfc120.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
push edx
call sub.mfc120.dll_Ordinal_266
add esp, 4
cmp dword [ebp - 0x174], 2
jne 0x4592f1
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e3
idiv ecx
push edx
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x1d
idiv ecx
imul edx, edx, 0xc5
push edx
push 0x45a
mov ecx, dword [ebp - 0x150]
call fcn.00414190
jmp 0x459328
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x3e3
idiv ecx
push edx
call dword [sym.imp.MSVCR120.dll_rand]
cdq
mov ecx, 0x1d
idiv ecx
imul edx, edx, 0xc5
add edx, 0x11
push edx
push 0x45a
mov ecx, dword [ebp - 0x150]
call fcn.00414190
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call dword [sym.imp.pblcdlg.dll_public_virtual:_void___thiscall_CRegisterDlg::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret 0xc