Function at 0x40e720
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push ebx
sub esp, 0x234
mov ebx, dword [0x428f40]
test ebx, ebx
je 0x40e742
mov ebx, 1
add esp, 0x234
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp], str.Winpplb.dll
call sub.KERNEL32.dll_LoadLibraryA
sub esp, 4
test eax, eax
mov dword [0x428f44], eax
je 0x40eaa0
mov dword [esp], str._STATUS_:_Loading_DLL_file_succeeded...
call sub.msvcrt.dll_puts
mov eax, dword [0x428f44]
mov dword [esp + 4], str.B_Get_DLL_Version
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a968], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_GetUSBBufferLen
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a9a0], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_EnumUSB
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a998], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_GetUSBDeviceInfo
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a984], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_CreateUSBPort
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a98c], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_CreatePrn
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a964], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Set_DebugDialog
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a980], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Set_Labwidth
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a97c], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Set_Labgap
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a974], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Select_Option
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a960], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Set_Darkness
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a970], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Bar2d_QR
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a994], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Prn_Text
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a96c], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Draw_Line
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a988], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Print_Out
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a990], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_Prn_Barcode
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42a978], eax
mov eax, dword [0x428f44]
sub esp, 8
mov dword [esp + 4], str.B_ClosePrn
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [0x42a99c], eax
mov dword [esp], str._STATUS_:_Loading_DLL_methods...
call sub.msvcrt.dll_puts
mov eax, dword [0x42a968]
test eax, eax
je 0x40eb61
mov eax, dword [0x42a9a0]
test eax, eax
je 0x40eb72
mov eax, dword [0x42a998]
test eax, eax
je 0x40eb83
mov eax, dword [0x42a984]
test eax, eax
je 0x40eb94
mov esi, dword [0x42a98c]
test esi, esi
je 0x40eba5
mov ecx, dword [0x42a964]
test ecx, ecx
je 0x40ebc0
mov edx, dword [0x42a980]
test edx, edx
je 0x40ebd1
mov eax, dword [0x42a97c]
test eax, eax
je 0x40ebe2
mov eax, dword [0x42a974]
test eax, eax
je 0x40ebf3
mov eax, dword [0x42a960]
test eax, eax
je 0x40ec04
mov eax, dword [0x42a970]
test eax, eax
je 0x40ec15
mov eax, dword [0x42a994]
test eax, eax
je 0x40ec26
mov eax, dword [0x42a96c]
test eax, eax
je 0x40ea88
mov esi, dword [0x42a988]
test esi, esi
je 0x40ec37
mov ecx, dword [0x42a990]
test ecx, ecx
je 0x40ec48
mov edx, dword [0x42a978]
test edx, edx
je 0x40ec59
mov eax, dword [0x42a99c]
test eax, eax
je 0x40eb50
mov dword [esp], str._STATUS_:_Loading_DLL_methods_succeeded.
mov ebx, 1
call sub.msvcrt.dll_puts
mov dword [0x428f40], 1
mov dword [esp], 0
call dword [0x42a968]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.Lib_version:__s_n
call sub.msvcrt.dll_printf
add esp, 0x234
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp], str._ERROR_:_PrinterPrintText_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
call sub.KERNEL32.dll_GetLastError
mov esi, eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], 0x1300
call sub.KERNEL32.dll_FormatMessageA
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
lea esi, [esp + 0x30]
mov dword [esp + 0xc], str.Winpplb.dll
mov dword [esp + 8], str.PRINT_Library_file_not_found:__s__Error_message___u_:__s
mov dword [esp + 4], 0x200
mov dword [esp], esi
mov dword [esp + 0x14], eax
call fcn.00414600
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x422985
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.KERNEL32.dll_LocalFree
sub esp, 4
jmp 0x40e737
mov dword [esp], str._ERROR_:_ClosePrinterArgox_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_GetPrinterDllVersion_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_GetPrinterUsbBufferLength_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_PrinterEnumUSB_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_GetPrinterUSBDeviceInfo_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_CreatePrinterUSBPort_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_CreatePrinter_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_SetPrinterDebugDialog_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_SetPrinterLabelWidth_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_SetPrinterLabelGap_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_SelectPrinterOption_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_SetPrinterDarkness_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_PrinterPrintQr_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_PrinterDrawLine_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_PrinterPrintOut_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737
mov dword [esp], str._ERROR_:_PrinterPrintBarcode_ERROR...
call sub.msvcrt.dll_puts
jmp 0x40e737