Function at 0x10003460
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x164
mov ebx, dword [ebp + 0xc]
test byte [0x100130f8], 8
jne 0x10003700
mov dword [esp + 4], str.AddPort
mov esi, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x10003658
test byte [0x100130f8], 8
jne 0x10003560
lea eax, [ebp - 0x13c]
mov dword [esp + 4], 0x10015600
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x100034f0
test byte [0x100130f8], 8
jne 0x100037e0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x10]
call sym._does_port_exist
test eax, eax
jne 0x10003a60
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10015114
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x13c]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x100130f8], 8
je 0x100034dc
jmp 0x100037e0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10003d50
mov eax, dword [ebp + 0x10]
shr eax, 0x10
je 0x10003bb0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001503b
sub esp, 8
test eax, eax
jne 0x1000397e
mov edi, dword [ebp + 0x10]
cmp word [edi], 0
je 0x10003dc1
mov ecx, edi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x100035b0
mov ebx, dword [ebp + 0x10]
mov eax, 0x224c
lea ecx, [ebp - 0x136]
lea esi, [ebp - 0x16]
mov word [ebp - 0x138], ax
mov dword [ebp - 0x144], ebx
jmp 0x10003615
cmp ax, 9
je 0x10003b30
cmp ax, 0xa
jne 0x10003ac2
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10003950
cmp ecx, esi
ja 0x10003950
mov edx, eax
add dword [ebp - 0x144], 2
mov eax, dword [ebp - 0x144]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10003b48
jbe 0x100035e0
cmp ax, 0x22
je 0x10003b18
cmp ax, 0x5c
jne 0x10003ab5
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10003600
mov dword [esp + 4], str.ConfigureLPTPortCommandOK
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x10003818
test byte [0x100130f8], 8
jne 0x10003be0
lea eax, [ebp - 0x13c]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
mov esi, eax
test eax, eax
jne 0x100034dc
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], str.TransmissionRetryTimeout
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x13c]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x100034dc
test ebx, ebx
je 0x10003bd0
mov eax, ebx
shr eax, 0x10
je 0x100038e0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001503b
sub esp, 8
test eax, eax
jne 0x100038f5
cmp word [ebx], 0
je 0x10003ea0
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10003740
mov ecx, 0x224c
mov dword [ebp + 0xc], ebx
mov esi, ebx
mov word [ebp - 0x138], cx
lea ecx, [ebp - 0x136]
jmp 0x100037a8
cmp ax, 9
je 0x10003a48
cmp ax, 0xa
jne 0x100039d6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10003b60
lea edi, [ebp - 0x16]
cmp ecx, edi
ja 0x10003b60
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x100039b8
jbe 0x10003770
cmp ax, 0x22
je 0x10003a30
cmp ax, 0x5c
jne 0x100039c9
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10003790
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.___lu_n
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov dword [esp + 4], str.DeletePort
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x10003ce8
test byte [0x100130f8], 8
jne 0x10003ec8
lea eax, [ebp - 0x13c]
mov dword [esp + 4], 0x10015600
mov esi, 2
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x100034dc
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [ebp - 0x13c]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x100130f8], 8
je 0x100034dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.___lu_with__lu_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100034dc
movzx eax, bx
mov dword [esp], 0x1001502e
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.__p___s___p___ld___p___ld___p__n
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], 0x100130f8
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], 3
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
jmp 0x1000347c
mov byte [ecx], 0x22
test eax, eax
jle 0x10003dda
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.InputData___ld_:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100034a7
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003790
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10003ba0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefInitializePrintMonitor]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefInitializePrintMonitor]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefInitializePrintMonitor]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefInitializePrintMonitor]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003790
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10003790
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003790
mov eax, dword [ebp - 0x13c]
mov esi, 0xb7
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x100130f8], 8
je 0x100034dc
mov dword [esp + 0x10], 0xb7
mov dword [esp + 0xc], str.___u_n
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100034dc
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10003cd8
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefInitializePrintMonitor]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefInitializePrintMonitor]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefInitializePrintMonitor]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefInitializePrintMonitor]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003600
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x10003600
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003600
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003600
mov byte [ecx], 0x22
mov ebx, dword [ebp + 0xc]
test eax, eax
jle 0x10003eb9
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x100038f5
mov byte [ecx], al
add ecx, 1
jmp 0x10003790
movzx eax, word [ebp + 0x10]
mov dword [esp], 0x1001502e
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x1000397e
mov edx, 0x10015034
jmp 0x100038f5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10003de8
mov eax, dword [ebp + 0x10]
shr eax, 0x10
je 0x100041a8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001503b
sub esp, 8
test eax, eax
jne 0x10003df0
mov edi, dword [ebp + 0x10]
cmp word [edi], 0
je 0x10004461
mov ecx, edi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10003c30
mov ebx, dword [ebp + 0x10]
mov eax, 0x224c
lea ecx, [ebp - 0x136]
lea edi, [ebp - 0x16]
mov word [ebp - 0x138], ax
mov dword [ebp - 0x144], ebx
jmp 0x10003c95
cmp ax, 9
je 0x100040b0
cmp ax, 0xa
jne 0x1000402f
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
cmp ecx, edi
ja 0x100040c8
test edx, edx
jle 0x100040c8
mov edx, eax
add dword [ebp - 0x144], 2
mov eax, dword [ebp - 0x144]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10004098
jbe 0x10003c60
cmp ax, 0x22
je 0x10004080
cmp ax, 0x5c
jne 0x10004022
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10003c80
mov byte [ecx], al
add ecx, 1
jmp 0x10003600
mov dword [esp + 4], str.GetDefaultCommConfig
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x10003d60
test byte [0x100130f8], 8
jne 0x100042b5
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov dword [eax], edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDefaultCommConfigW]
sub esp, 0xc
mov ebx, eax
test byte [0x100130f8], 8
jne 0x1000427b
test ebx, ebx
jne 0x10003dba
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
jmp 0x100034dc
mov edx, 0x10015034
jmp 0x1000397e
mov dword [esp + 4], str.GetTransmissionRetryTimeout
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x100043fd
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 3
mov dword [eax], 4
jbe 0x100041d8
mov eax, dword [ebp + 0x18]
mov dword [eax], 0x2d
lea eax, [ebp - 0x13c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
je 0x10003e24
xor esi, esi
jmp 0x100034dc
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x1000396b
mov edx, 0x10015034
lea esi, [esi]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.InputData___ld_:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000367d
lea eax, [ebp - 0x140]
lea ebx, [ebp - 0x138]
mov dword [ebp - 0x140], 0x1e
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.TransmissionRetryTimeout
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x10003e7e
cmp word [ebp - 0x138], 0
jne 0x100046db
mov eax, dword [ebp - 0x13c]
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x100034dc
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x10003b7e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10004482
mov eax, dword [ebp + 0x10]
shr eax, 0x10
je 0x100041e2
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001503b
sub esp, 8
test eax, eax
jne 0x10003fee
mov edi, dword [ebp + 0x10]
cmp word [edi], 0
je 0x1000448c
mov ecx, edi
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10003f18
mov ebx, dword [ebp + 0x10]
mov esi, 0x224c
lea ecx, [ebp - 0x136]
lea edi, [ebp - 0x16]
mov word [ebp - 0x138], si
mov dword [ebp - 0x144], ebx
jmp 0x10003f7d
cmp ax, 9
je 0x10004118
cmp ax, 0xa
jne 0x10004136
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
nop
lea esi, [esi]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x10003fc0
test edx, edx
jle 0x10003fc0
mov edx, eax
add dword [ebp - 0x144], 2
mov eax, dword [ebp - 0x144]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10004100
jbe 0x10003f48
cmp ax, 0x22
je 0x10004190
cmp ax, 0x5c
jne 0x10004129
mov esi, 0x5c5c
add ecx, 2
mov word [ecx - 2], si
jmp 0x10003f70
mov byte [ecx], 0x22
test eax, eax
jle 0x100044a5
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.InputData___ld_:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000383d
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x100041c8
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefInitializePrintMonitor]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefInitializePrintMonitor]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefInitializePrintMonitor]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefInitializePrintMonitor]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003c80
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x10003c80
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003c80
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003c80
mov byte [ecx], 0x22
test eax, eax
jle 0x1000447a
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x10003df0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003f70
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003f70
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x100043f3
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefInitializePrintMonitor]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefInitializePrintMonitor]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefInitializePrintMonitor]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefInitializePrintMonitor]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003f70
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003f70
movzx eax, word [ebp + 0x10]
mov dword [esp], 0x1001502e
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x10003df0
mov byte [ecx], al
add ecx, 1
jmp 0x10003c80
mov esi, 0x7a
jmp 0x100034dc
movzx eax, word [ebp + 0x10]
mov dword [esp], 0x1001502e
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x10003fee
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x20
lea ebx, [eax + 0xc]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x1000421b
lea ebx, [eax + 2]
lea esi, [ebp - 0x138]
lea ecx, [ebp - 0x11a]
mov eax, esi
movzx edx, word [ebx]
test dx, dx
je 0x1000423f
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x10004229
mov word [eax], 0
cmp word [ebp - 0x138], 0
jne 0x100046fe
mov eax, dword [ebp + 0x14]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_SetDefaultCommConfigW]
sub esp, 0xc
mov ebx, eax
test byte [0x100130f8], 8
je 0x10003d3a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.got__lu_with__lu_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003d3a
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1000461a
mov eax, dword [ebp + 0x10]
shr eax, 0x10
je 0x100045f5
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1001503b
sub esp, 8
test eax, eax
jne 0x100043bf
mov edi, dword [ebp + 0x10]
cmp word [edi], 0
je 0x10004624
mov ecx, edi
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x10004300
mov ebx, 0x224c
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x136]
lea edi, [ebp - 0x16]
mov word [ebp - 0x138], bx
jmp 0x1000435d
cmp ax, 9
je 0x100044c0
cmp ax, 0xa
jne 0x100044de
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
cmp ecx, edi
ja 0x10004391
test edx, edx
jle 0x10004391
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x100044ad
jbe 0x10004330
cmp ax, 0x22
je 0x10004530
cmp ax, 0x5c
jne 0x100044d1
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10004350
mov byte [ecx], 0x22
test eax, eax
jle 0x1000463a
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.InputData___ld_:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003d09
mov byte [ecx], al
add ecx, 1
jmp 0x10003f70
mov dword [esp + 4], 0x1001536c
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x10004541
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x17
mov dword [eax], 0x18
jbe 0x100041d8
mov edi, dword [ebp + 0x18]
mov eax, dword [str.localui.dll]
xor esi, esi
mov dword [edi], eax
mov eax, dword [0x10015384]
mov dword [edi + 4], eax
mov eax, dword [0x10015388]
mov dword [edi + 8], eax
mov eax, dword [0x1001538c]
mov dword [edi + 0xc], eax
mov eax, dword [0x10015390]
mov dword [edi + 0x10], eax
mov eax, dword [0x10015394]
mov dword [edi + 0x14], eax
jmp 0x100034dc
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x100040e3
mov edx, 0x10015034
jmp 0x10003fee
mov edi, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], di
lea eax, [ecx + 1]
jmp 0x10003fdb
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10004350
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10004350
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x10004610
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefInitializePrintMonitor]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefInitializePrintMonitor]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefInitializePrintMonitor]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefInitializePrintMonitor]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10004350
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10004350
mov dword [esp + 4], str.PortIsValid
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x10004642
test byte [0x100130f8], 8
jne 0x1000469f
mov eax, dword [ebp + 0x10]
mov edx, 1
call sym._get_type_from_name
mov ebx, eax
test byte [0x100130f8], 8
je 0x10003d3a
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.detected_as__lu_n
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test ebx, ebx
jne 0x10003dba
test byte [0x100130f8], 8
je 0x10003d3e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.___lu_n
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10003d3e
movzx eax, word [ebp + 0x10]
mov dword [esp], 0x1001502e
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x100043bf
mov byte [ecx], al
add ecx, 1
jmp 0x10004350
mov edx, 0x10015034
jmp 0x100043bf
mov word [ebp - 0x138], 0x224c
lea ecx, [ebp - 0x136]
mov byte [ebp - 0x136], 0x22
lea eax, [ecx + 1]
jmp 0x100043ac
mov dword [esp + 4], str.SetDefaultCommConfig
mov dword [esp], ebx
call esi
push edx
push edx
test eax, eax
je 0x100041fd
mov esi, 0x57
test byte [0x100130f8], 1
je 0x100034dc
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.command_not_supported:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 4], 0x100130f8
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x100034dc
mov eax, dword [ebp + 0x10]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.InputData___ld_:__s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], str.localmon_XcvDataPort
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x100130f8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10004566
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov edi, dword [ebp + 0x18]
mov dword [edi], eax
jmp 0x10003e7e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
mov word [ebp + eax*2 - 0x13a], 0
jmp 0x10004252