Function at 0x401cfe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ebcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
push 0x42815c
lea eax, [ebp + 8]
push eax
call fcn.00402230
and eax, 0xff
test eax, eax
je 0x401d58
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00419f09
mov eax, dword [ebp - 0x10]
jmp 0x401f0f
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 4], 0
je 0x401d69
mov ecx, dword [ebp - 0x1c]
call fcn.00401f1f
lea ecx, [ebp + 8]
call fcn.00401520
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
je 0x401ef6
push str.GetClientInfo
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], eax
push str.GetDeviceInfo
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
push str.GetMaxPen
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
push str.GetMaxPress
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], eax
push str.GetPenStatus
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x34], eax
push str.GetOtherInfo
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x24], eax
push str.InitClient
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
push str.InitDevice
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
push str.RegClientInfo
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x1c], eax
push str.SetDeviceInfo
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
push str.SetMaxPen
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x3c], eax
push str.SetMaxPress
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x30], eax
push str.SetOtherInfo
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], eax
push str.UnRegClientInfo
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x20], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00419f09
mov eax, dword [ebp - 0x14]
jmp 0x401f0f
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00419f09
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4