Function at 0x44c218
Capabilities:
Check for time delay via gettickcount
Check os version
Copy file
Get common file path
Open clipboard
Read .ini file
Shutdown system

Disassembly:
sub esp, 0xa64
push ebx
push ebp
push esi
xor ebx, ebx
push edi
xor esi, esi
cmp esi, 0xc
ja case.default.0x44c1c7
jmp dword [esi*4 + 0x44cd70]
push 0x11
call fcn.00411980
cdq
sub eax, edx
push 0xb
sar eax, 1
mov dword [0x654888], eax
call fcn.00411980
add esp, 8
mov dword [0x65488c], eax
jmp case.default.0x44c1c7
push 0x11
call fcn.00411980
cdq
sub eax, edx
push 0xe
sar eax, 1
mov dword [0x654898], eax
call fcn.00411980
add esp, 8
mov dword [0x65489c], eax
jmp case.default.0x44c1c7
push 4
push 0x505140
call fcn.004c9790
push 4
push 0x50513c
mov dword [0x6548c0], eax
call fcn.004c9790
add esp, 0x10
mov dword [0x6548c4], eax
jmp case.default.0x44c1c7
push 4
push 0x505138
call fcn.004c9790
push 4
push 0x505140
mov dword [0x6548c8], eax
call fcn.004c9790
add esp, 0x10
mov dword [0x6548cc], eax
jmp case.default.0x44c1c7
push 4
push 0x505134
call fcn.004c9790
push 4
push 0x505130
mov dword [0x6548d8], eax
call fcn.004c9790
add esp, 0x10
mov dword [0x6548dc], eax
jmp case.default.0x44c1c7
push 0xb
call fcn.00411980
push 0x11
mov dword [0x654890], eax
call fcn.00411980
add esp, 8
mov dword [0x654894], eax
jmp case.default.0x44c1c7
push 0xb
call fcn.00411980
cdq
sub eax, edx
push 0x11
sar eax, 1
mov dword [0x6548a0], eax
call fcn.00411980
cdq
sub eax, edx
add esp, 8
sar eax, 1
mov dword [0x6548a4], eax
jmp case.default.0x44c1c7
push 0x1d
call fcn.00411980
cdq
and edx, 3
push 0x15
add eax, edx
sar eax, 2
mov dword [0x6548a8], eax
call fcn.00411980
cdq
sub eax, edx
add esp, 8
sar eax, 1
mov dword [0x6548ac], eax
jmp case.default.0x44c1c7
push 4
push 0x50513c
call fcn.004c9790
push 4
push 0x50512c
mov dword [0x6548b8], eax
call fcn.004c9790
add esp, 0x10
mov dword [0x6548bc], eax
jmp case.default.0x44c1c7
push 4
push 0x50512c
call fcn.004c9790
push 4
push 0x505128
mov dword [0x6548b0], eax
call fcn.004c9790
add esp, 0x10
mov dword [0x6548b4], eax
jmp case.default.0x44c1c7
push 4
push 0x505130
call fcn.004c9790
push 4
push 0x505124
mov dword [0x6548d0], eax
call fcn.004c9790
add esp, 0x10
mov dword [0x6548d4], eax
jmp case.default.0x44c1c7
push 0x11
call fcn.00411980
cdq
sub eax, edx
push 0xd
sar eax, 1
mov dword [0x6548e0], eax
call fcn.00411980
add esp, 8
mov dword [0x6548e4], eax
jmp case.default.0x44c1c7
push 4
push 0x505120
call fcn.004c9790
push 4
push 0x50511c
mov dword [0x6548e8], eax
call fcn.004c9790
add esp, 0x10
mov dword [0x6548ec], eax
inc esi
cmp esi, 0xd
jl 0x44c1be
mov esi, dword [esp + 0xa78]
push 0x104
push 0x654fa4
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, str.INPAGE.EXE
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x654fa4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x654fa4
sub edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov word [0x655e8a], bx
mov byte [edx + ecx], bl
call sub.HINSTD.dll_Ordinal_5
mov ebp, 1
cmp eax, ebp
je 0x44c433
cmp eax, 2
jne 0x44c51a
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3dc]
push eax
push ecx
call sub.HINSTD.dll_Ordinal_4
test eax, eax
jne 0x44c51a
cmp dword [esp + 0x4f4], ebp
jne 0x44c4ac
cmp byte [esp + 0x3dc], 0x33
jne 0x44c46e
cmp byte [esp + 0x3de], 0x37
jge 0x44c51a
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 0x4e7030
push str.You_have_an_old_installation_of_the_HASP_driver._It_is_being_removed...
push ebx
call esi
push ebx
call sub.HINSTD.dll_Ordinal_3
push ebx
push 0x4e7030
push str.Windows_will_now_be_restarted_for_the_removed_driver_to_take_effect...
push ebx
call esi
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa64
ret
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 0x4e7030
push str.HASP_Driver_is_not_installed_on_your_system._Click_on_OK_to_proceed_with_the_installation...
push ebx
call edi
push ebx
push ebx
push 0x654fa4
push ebp
call sub.HINSTD.dll_Ordinal_2
test eax, eax
je 0x44c503
lea edx, [esp + 0x1d4]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call sub.HINSTD.dll_Ordinal_8
push ebx
lea eax, [esp + 0x1d8]
push str.HASP_Device_Driver_Error
push eax
push ebx
call edi
jmp 0x44c51a
push ebx
push 0x4e7030
push str.Windows_will_now_be_restarted_for_the_installed_driver_to_take_effect...
push ebx
call edi
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push ebx
push 0x400
push ebp
mov dword [0x655ff8], esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0x64
mov dword [0x651a50], eax
call dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ecx, 0x651a58
call fcn.0041a670
push 0x7f00
mov ecx, 0x6561a0
call fcn.00407360
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov dword [0x655ff8], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0xd
mov word [0x655bdc], ax
mov word [0x655c20], bx
mov word [0x655c2c], 0xffff
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x30]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
movzx dx, byte [esp + 0x47]
cmp word [0x502f98], bp
mov word [0x655c1e], dx
mov esi, ebp
jbe 0x44c5e8
mov edi, 0x50308e
push edi
push 0x655b00
call dword [edi]
xor eax, eax
add esp, 8
mov ax, word [0x502f98]
inc esi
add edi, 0xee
cmp esi, eax
jl 0x44c5ca
lea ecx, [esp + 0xd0]
push 0x104
push ecx
mov dword [0x655aac], ebx
mov dword [0x655b90], 0x4e7030
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or ecx, 0xffffffff
lea edi, [esp + 0xd0]
xor eax, eax
lea edx, [esp + 0x2d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.INPAGE.INI
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x2dc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.INPAGE2.INI
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [0x655b00]
push 0xc
mov ecx, 0x651a58
mov dword [0x655b74], 0x504f90
lea eax, [edx + edx]
mov word [0x655b02], ax
call fcn.0041a700
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 2
mov dword [0x655af8], eax
mov dword [0x655b78], ebp
mov word [0x655b80], bx
mov word [0x655ab8], bx
call esi
dec eax
push 3
mov word [0x655bba], ax
call esi
mov ecx, dword [0x655b74]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push 0xb
dec eax
push str.DragScrollInset
push str.windows
mov word [0x655bb8], ax
mov dword [0x655bd4], ebx
call ebp
mov edx, dword [0x655b74]
mov dword [0x655bee], eax
push edx
push 0x32
push str.DragScrollDelay
push str.windows
call ebp
push str.appGlobals.inpageIniName
push 0x32
push str.DragScrollInterval
push str.windows
mov dword [0x655bf2], eax
call ebp
mov dword [0x655bf6], eax
mov ax, word [0x655b8a]
sub ax, 3
mov dword [0x655c0e], ebx
neg ax
sbb eax, eax
mov dword [0x655c06], ebx
and eax, 0xfffe5250
mov dword [0x655c02], ebx
add eax, 0x1d4c0
mov dword [0x656164], ebx
mov dword [0x655e82], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x655e7e], eax
or ecx, 0xffffffff
mov edi, 0x654fa4
xor eax, eax
mov dword [0x655b68], ecx
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x44c7cd
mov al, 0x5c
cmp byte [ecx + 0x654fa4], al
je 0x44c7c7
dec ecx
jns 0x44c7ba
jmp 0x44c7cd
mov byte [ecx + 0x654fa5], bl
cmp word [0x655b00], 2
mov dword [0x655b64], 0x654fa4
mov word [0x655b82], bx
mov byte [0x655a60], bl
je 0x44c7fa
cmp dword [0x655aac], ebx
je 0x44cae2
call fcn.00454b30
mov esi, eax
mov dword [esp + 0x10], ebx
call fcn.00455ab0
mov edi, eax
cmp esi, edi
jae 0x44c825
mov dl, byte [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.0044c190
add esp, 8
inc esi
cmp esi, edi
jb 0x44c810
mov eax, dword [0x655b64]
push str.INPAGEU.DAT
lea ecx, [esp + 0x1d8]
push eax
push ecx
call fcn.00454a00
add esp, 0xc
lea edx, [esp + 0x1d4]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll__lopen]
mov edi, eax
cmp edi, 0xffffffff
je 0x44ca95
lea eax, [esp + 0x14]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, 2
jne 0x44ca95
mov ecx, dword [esp + 0x14]
push 0x45e0
push ecx
call fcn.00410f10
add esp, 8
mov dword [esp + 0x14], eax
mov esi, eax
and eax, 0xffff
push eax
and esi, 0xffff
push 0x655a60
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, esi
jne 0x44ca95
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebx
jle 0x44c8e4
mov dl, byte [esi + 0x655a60]
push 0x45e0
push edx
call fcn.0044cdb0
mov byte [esi + 0x655a60], al
mov eax, dword [esp + 0x1c]
mov ecx, eax
add esp, 8
inc esi
and ecx, 0xffff
cmp esi, ecx
jl 0x44c8b7
jmp 0x44c8e8
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll__lread]
and eax, 0xffff
push 2
push 0x655b8a
push edi
mov byte [eax + 0x655a60], bl
call esi
cmp eax, 2
jne 0x44ca95
push eax
push 0x655b82
push edi
call esi
cmp eax, 2
jne 0x44ca95
push eax
push 0x655be2
push edi
call esi
cmp eax, 2
jne 0x44ca95
mov dx, word [0x655b8a]
push 0x45e0
push edx
call fcn.00410f10
mov word [0x655b8a], ax
mov ax, word [0x655b82]
push 0x45e0
push eax
call fcn.00410f10
mov cx, word [0x655be2]
push 0x45e0
push ecx
mov word [0x655b82], ax
call fcn.00410f10
mov dx, word [0x655b82]
push 1
push edx
mov word [0x655be2], ax
call fcn.00412460
mov si, ax
add esp, 0x20
and esi, 0xffff
shl esi, 2
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [0x656178], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [0x655bd0], eax
je 0x44ca42
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, esi
jne 0x44ca42
mov ax, word [0x655b82]
push 1
push eax
xor esi, esi
call fcn.00412460
add esp, 8
test ax, ax
jbe 0x44ca49
mov ecx, dword [0x655bd0]
push 0x45e0
mov edx, dword [ecx + esi*4]
shr edx, 0x10
push edx
call fcn.00410f10
mov bx, ax
mov eax, dword [0x655bd0]
and ebx, 0xffff
push 0x45e0
mov cx, word [eax + esi*4]
push ecx
shl ebx, 0x10
call fcn.00410f10
mov edx, dword [0x655bd0]
and eax, 0xffff
or ebx, eax
push 1
mov dword [edx + esi*4], ebx
mov ax, word [0x655b82]
push eax
inc esi
call fcn.00412460
and eax, 0xffff
add esp, 0x18
cmp esi, eax
jl 0x44c9dc
xor ebx, ebx
jmp 0x44ca49
mov word [0x655b82], bx
mov ax, word [0x655b8a]
cmp ax, 1
je 0x44ca61
cmp ax, 2
je 0x44ca61
cmp ax, 3
jne 0x44ca95
push 0x2328
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x2328
push eax
push edi
mov dword [0x655bd4], eax
call dword [sym.imp.KERNEL32.dll__hread]
cmp eax, 0x2328
jge 0x44ca95
mov word [0x655b82], bx
cmp dword [0x503900], 0xa
jne 0x44cac0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x6c]
push ecx
push 0x504f34
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x78]
push eax
call fcn.00454a60
add esp, 0x10
push 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll__llseek]
mov ecx, dword [esp + 0x10]
push edi
lea edx, [eax + ecx + 0x35a31f00]
mov dword [0x655bd8], edx
call dword [sym.imp.KERNEL32.dll__lclose]
mov ecx, dword [0x655aac]
xor eax, eax
cmp ecx, ebx
sete al
push eax
call fcn.00406c10
mov ecx, dword [0x655b74]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
push 0x40
push 0x655a18
push 0x64b0f8
push str.InPage_User
push 0x4e7030
call esi
cmp byte [0x655a60], bl
jne 0x44cb44
mov edx, dword [0x655b74]
push edx
push 0x40
push 0x655a60
push 0x64b0f8
push str.InPage_Company
push 0x4e7030
call esi
mov eax, dword [esp + 0xa78]
push ebx
push 0x448a90
push ebx
push 0x14b5
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
mov eax, dword [0x6562c0]
cmp eax, ebx
mov dword [esp + 0x10], esi
jne 0x44cb7e
cmp dword [0x6562c4], ebx
jne 0x44cb7e
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x68c]
push ecx
call fcn.00448780
mov dx, word [0x655b8a]
add esp, 4
sub dx, 3
neg dx
sbb edx, edx
push 9
and edx, 0xfffe5250
push esi
add edx, 0x1d4c0
mov dword [0x655e82], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x20]
push 0x411
push ecx
lea edx, [esp + 0x694]
mov edi, eax
push 0xffffffffffffffff
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esp + 0x68c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [0x655af8]
push ecx
mov ecx, 0x651a58
call fcn.0041a8b0
mov word [eax], 1
mov word [eax + 6], bx
mov dword [eax + 2], 0xffffffff
mov dword [eax + 8], ebx
call fcn.00406ca0
mov edx, dword [esp + 0xa78]
push 0x19ca
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x656174], eax
mov eax, dword [0x655b74]
push eax
push 1
push str.Maximized
push str.Window
call ebp
mov ecx, dword [0x655b74]
push ecx
push Ordinal_2
push str.Across
push str.Window
call ebp
mov edx, dword [0x655b74]
push edx
push Ordinal_2
push str.Down
push str.Window
call ebp
mov eax, dword [0x655b74]
push eax
push Ordinal_2
push str.Width
push str.Window
call ebp
mov ecx, dword [0x655b74]
push ecx
push Ordinal_2
push str.Height
push str.Window
call ebp
cmp esi, ebx
jne 0x44ccfc
mov eax, dword [0x655e8a]
test ah, 4
je 0x44ccd4
push str.The_attached_dongel_is_not_Enabled_for_InPage_2.0.
jmp 0x44ccf4
mov al, byte [0x655e8a]
test al, 0x20
je 0x44cce4
push str.Number_of_executions_allowed_with_this_Demo_copy_of_InPage_are_exhausted._Cannot_Proceed.
jmp 0x44ccf4
test al, 0x80
je 0x44ccef
push str.Maximum_Number_of_users_allowed_are_already_using_InPage.
jmp 0x44ccf4
push str.Could_not_find_dongel._Please_attach_dongel_to_the_parallel_port_of_your_computer_or_on_the_LAN_Server._nFor_troubleshooting_dongel_related_problems_refer_to_the_Installation_guide.
call fcn.00454a60
add esp, 4
cmp word [0x655b00], 2
jne 0x44cd3e
cmp esi, ebx
jne 0x44cd3e
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, eax
add esi, 0x1f40
call edi
cmp eax, esi
jae 0x44cd26
call edi
cmp eax, esi
jb 0x44cd20
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa64
ret
cmp dword [0x655aac], ebx
je 0x44cd61
cmp dword [0x655b8c], ebx
jne 0x44cd61
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa64
ret