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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f678
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
push 1
mov ecx, dword [ebp - 0xa4]
call sub.mfc120.dll_Ordinal_14281
push 0
push 0
push 0x7ea
mov ecx, dword [ebp - 0xa4]
call fcn.0042b880
mov ecx, eax
call fcn.00414190
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x100]
call sub.mfc120.dll_Ordinal_484
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.mfc120.dll_Ordinal_484
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call sub.mfc120.dll_Ordinal_998
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.picshow.dll_GetTrueColorIndex]
add esp, 0x10
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
push edx
call dword [sym.imp.picshow.dll_DIBWidth]
add esp, 4
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.picshow.dll_DIBHeight]
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0xbc]
add edx, 2
mov eax, dword [ebp - 0xb8]
add eax, 2
imul edx, eax
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc0], eax
call fcn.00413c40
mov dword [ebp - 0xd4], eax
push 1
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [edx + 0xc0]
call eax
push 0xc0
call fcn.00413830
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xb0], 0
je 0x46b472
mov ecx, dword [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0xb0]
call dword [sym.imp.pblcdlg.dll_public:_void___thiscall_CDlgProgress::constructor_class_CWnd__]
mov edx, dword [ebp - 0xb0]
mov dword [edx], vtable.CDlgProgress.0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
jmp 0x46b47c
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xa8], edx
push 0
mov ecx, dword [ebp - 0xa8]
call sub.mfc120.dll_Ordinal_2706
push 5
mov ecx, dword [ebp - 0xa8]
call sub.mfc120.dll_Ordinal_14009
lea ecx, [ebp - 0xa0]
call dword [sym.imp.GrphCalc.dll_public:_void___thiscall_CDPoint::constructor_void_]
movsd xmm0, qword [0x4a6370]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x98]
movsd qword [ebp - 0xa0], xmm0
mov ecx, dword [ebp - 0xa4]
add ecx, 0xac
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax + 0xac]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xac], 0
jmp 0x46b515
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0x100]
call fcn.004928b0
cmp dword [ebp - 0xac], eax
jge 0x46b777
mov edx, dword [ebp - 0xac]
push edx
lea ecx, [ebp - 0x100]
call fcn.00492790
cmp dword [eax], 0xffffff
jne 0x46b548
jmp 0x46b506
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0x114]
call fcn.004176d0
movzx ecx, word [eax]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.picshow.dll_GetBmpData]
add esp, 0x14
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x138]
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x134]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x130]
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x12c]
push ecx
mov edx, dword [ebp - 0xb8]
add edx, 2
push edx
mov eax, dword [ebp - 0xbc]
add eax, 2
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xa4]
add edx, 0xac
push edx
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.datacllt.dll_void___cdecl_NewBmpTrace_class_CWnd___class_CRingArray___void___int__int__int__int__int__int_]
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
push ecx
push 0x4b1684
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
imul esi, dword [ebp - 0xac], 0x64
lea ecx, [ebp - 0x100]
call fcn.004928b0
mov ecx, eax
mov eax, esi
cdq
idiv ecx
push eax
push 0
push 0x590
mov ecx, dword [ebp - 0xa8]
call fcn.00414190
mov edx, dword [ebp - 0xa4]
movsd xmm0, qword [edx + 0x164]
xorpd xmm0, xmmword [0x4a6390]
sub esp, 8
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xa4]
sub esp, 8
movsd xmm0, qword [eax + 0x15c]
movsd qword [esp], xmm0
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0xac
call dword [sym.imp.datacllt.dll_public:_int___thiscall_CRingArray::Stretch_class_CDPoint___double__double_]
push 0
mov ecx, dword [ebp - 0xa4]
add ecx, 0x13c
call dword [sym.imp.GrphCalc.dll_public:_double___thiscall_CDRect::Height_void_]
sub esp, 8
fstp qword [esp]
sub esp, 8
movsd xmm0, qword [0x4a6370]
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0xa4]
add ecx, 0xac
call dword [sym.imp.datacllt.dll_public:_void___thiscall_CRingArray::MoveGraph_double__double__int_]
push 0
mov edx, dword [ebp - 0xa4]
sub esp, 8
movsd xmm0, qword [edx + 0x14c]
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xa4]
sub esp, 8
movsd xmm0, qword [eax + 0x13c]
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0xa4]
add ecx, 0xac
call dword [sym.imp.datacllt.dll_public:_void___thiscall_CRingArray::MoveGraph_double__double__int_]
mov ecx, dword [ebp - 0xa4]
add ecx, 0xac
push ecx
mov edx, dword [ebp - 0xac]
push edx
lea ecx, [ebp - 0x100]
call fcn.00492790
mov eax, dword [eax]
push eax
push 0x445
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx + 0x16c]
call fcn.00414190
mov ecx, dword [ebp - 0xa4]
add ecx, 0xac
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xac]
mov edx, dword [eax]
call edx
jmp 0x46b506
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0
je 0x46b7c8
push 1
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xd8], eax
jmp 0x46b7d2
mov dword [ebp - 0xd8], 0
call fcn.00413c40
mov dword [ebp - 0xcc], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [edx + 0xc0]
call eax
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 1
push 0x416
mov edx, dword [ebp - 0xa4]
mov ecx, dword [edx + 0x16c]
call fcn.00414190
mov ecx, dword [ebp - 0xa4]
call sub.mfc120.dll_Ordinal_11753
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call sub.mfc120.dll_Ordinal_1468
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.mfc120.dll_Ordinal_1126
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call sub.mfc120.dll_Ordinal_1126
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret