Function at 0x48bd50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
push 0x2c
push str.ID_d_n
call fcn.00477b80
push 0x31
call fcn.004907ee
push 0x31
mov esi, eax
push 0
push esi
call fcn.004a1210
add esp, 0x18
push str.AUTOPRINT
call fcn.0046ccd0
push str.ENCODER
mov ebp, eax
call fcn.0046ccd0
push str.PRINTDIR
mov ebx, eax
call fcn.0046ccd0
push str.INKSAVER
mov dword [esp + 0x14], eax
call fcn.0046ccd0
push str.INKTYPE
mov dword [esp + 0x18], eax
call fcn.0046ccd0
push str.PRINTORIENT
mov dword [esp + 0x1c], eax
call fcn.0046ccd0
push str.PRINTER_NAME
mov dword [esp + 0x20], eax
call fcn.0046ccd0
push str.PRINTHEAD
mov dword [esp + 0x24], eax
call fcn.0046ccd0
push str.OPENOFFSET
mov dword [esp + 0x28], eax
call fcn.0046ccd0
push str.CLOSEOFFSET
mov dword [esp + 0x2c], eax
call fcn.0046ccd0
push str.OPENTIME
mov dword [esp + 0x30], eax
call fcn.0046ccd0
push str.SPITTIME
mov dword [esp + 0x34], eax
call fcn.0046ccd0
push str.TICKLETIME
mov dword [esp + 0x38], eax
call fcn.0046ccd0
push str.COMMS_CONNECTED
mov dword [esp + 0x3c], eax
call fcn.0046ccd0
mov edi, eax
test edi, edi
je 0x48be55
push edi
call fcn.0049e31d
push edi
mov dword [esp + 0x44], eax
call fcn.0049081d
add esp, 8
cmp dword [esp + 0x3c], 0
jne 0x48beb0
mov eax, 0xffff
mov word [esi + 0xc], ax
mov ecx, eax
xor eax, eax
mov word [esi + 0xa], cx
mov cl, 0xff
movzx edx, ax
mov byte [esi + 0x30], 0
mov byte [esi + 9], cl
mov byte [esi + 3], cl
mov byte [esi + 7], cl
mov byte [esi + 8], cl
mov byte [esi + 4], cl
mov byte [esi + 1], cl
mov byte [esi + 5], cl
mov byte [esi + 6], cl
mov byte [esi + 2], cl
mov eax, edx
shl edx, 0x10
or eax, edx
mov dword [esi + 0xe], eax
mov dword [esi + 0x12], eax
mov dword [esi + 0x16], eax
mov dword [esi + 0x1a], eax
mov dword [esi + 0x1e], eax
mov dword [esi + 0x22], eax
mov dword [esi + 0x26], eax
mov dword [esi + 0x2a], eax
mov byte [esi], cl
jmp 0x48bfd1
push str.COMMS_PRINTTYPE
mov byte [esi + 0x30], 1
call fcn.0046ccd0
mov edi, eax
test edi, edi
je 0x48beea
push edi
call fcn.0049e31d
push edi
mov dword [esp + 0x44], eax
call fcn.0049081d
add esp, 8
cmp dword [esp + 0x3c], 2
jne 0x48beea
xor eax, eax
xor ecx, ecx
mov byte [esi + 9], al
mov byte [esi + 3], al
jmp 0x48bf35
cmp byte [esi + 3], 2
jne 0x48bf2b
mov edx, dword [esp + 0x2c]
push edx
call fcn.0049e31d
mov word [esi + 0xc], ax
mov eax, dword [esp + 0x2c]
push eax
call fcn.0049e31d
mov ecx, dword [esp + 0x38]
push ecx
mov word [esi + 0xa], ax
call fcn.0049e31d
mov edx, dword [esp + 0x30]
push edx
mov byte [esi + 9], al
call fcn.0049e31d
add esp, 0x10
mov byte [esi + 3], al
jmp 0x48bf3d
xor eax, eax
xor ecx, ecx
mov byte [esi + 9], cl
mov byte [esi + 3], cl
mov word [esi + 0xa], cx
mov word [esi + 0xc], ax
mov edx, dword [esp + 0x18]
push edx
call fcn.0049e31d
add esp, 4
mov byte [esi + 2], al
cmp al, 1
jne 0x48bf7e
mov eax, dword [esp + 0x34]
push eax
call fcn.0049e31d
mov ecx, dword [esp + 0x3c]
push ecx
mov byte [esi + 7], al
call fcn.0049e31d
add esp, 8
cmp byte [esi + 7], 0xf1
mov byte [esi + 8], al
jne 0x48bf78
mov byte [esi + 7], 0
cmp al, 0xf1
jne 0x48bf86
jmp 0x48bf82
mov byte [esi + 7], 0
mov byte [esi + 8], 0
push ebp
call fcn.0049e31d
mov edx, dword [esp + 0x14]
push edx
mov byte [esi + 4], al
call fcn.0049e31d
push ebx
mov byte [esi + 1], al
call fcn.0049e31d
mov byte [esi + 5], al
mov eax, dword [esp + 0x20]
push eax
call fcn.0049e31d
mov ecx, dword [esp + 0x30]
push 0x10
push ecx
lea edx, [esi + 0xe]
push edx
mov byte [esi + 6], al
call fcn.0049f415
mov eax, dword [esp + 0x38]
push eax
call fcn.0049e31d
add esp, 0x20
mov byte [esi], al
push ebp
call fcn.0049081d
push ebx
call fcn.0049081d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0049081d
mov edx, dword [esp + 0x20]
push edx
call fcn.0049081d
mov eax, dword [esp + 0x28]
push eax
call fcn.0049081d
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0049081d
mov edx, dword [esp + 0x38]
push edx
call fcn.0049081d
mov eax, dword [esp + 0x40]
push eax
call fcn.0049081d
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0049081d
mov edx, dword [esp + 0x50]
push edx
call fcn.0049081d
mov eax, dword [esp + 0x58]
push eax
call fcn.0049081d
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0049081d
mov edx, dword [esp + 0x68]
push edx
call fcn.0049081d
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add esp, 0x34
push esi
push eax
push ecx
mov edx, 0x31
mov al, 0x2c
call fcn.0048fcb0
push esi
mov edi, eax
call fcn.0049081d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8