Function at 0x401da0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e786
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
push ebx
push esi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], 0
call fcn.00403740
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x19c]
push 1
push 0x459c94
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
call fcn.0040fbd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
push str.help
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x170], 0
call fcn.0040fbd0
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 0
xor eax, eax
movq qword [ebp - 0x144], xmm0
movups xmmword [ebp - 0x118], xmm0
mov byte [ebp - 0x13c], 0
movups xmmword [ebp - 0x100], xmm0
mov byte [ebp - 0x130], 0
movups xmmword [ebp - 0xe8], xmm0
mov byte [ebp - 0x12c], 0
movups xmmword [ebp - 0x164], xmm0
mov byte [ebp - 0x120], 0
movups xmmword [ebp - 0x154], xmm0
mov word [ebp - 0x11c], 0
mov byte [ebp - 0x11a], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov byte [ebp - 0xd0], al
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3f]
call fcn.0040df20
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0040e030
mov ecx, dword [ebp - 0x18]
push 0x17
push 0x459c98
add ecx, 0x9c
call fcn.0040e330
movzx eax, byte [0x45ad2c]
push ecx
push 6
push str.silent
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d270
push 0x2d
push str.Do_not_display_any_success_or_error_messages.
lea ecx, [eax + 0x9c]
call fcn.0040e330
push 6
push str.create
lea ecx, [ebp - 0x48]
call fcn.0040d120
mov esi, eax
push 0x1b
push str._portbridgeremote_bridge_
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x25
push str.Create_port__bridge_or_remote_bridge.
lea ecx, [esi + 0x9c]
call fcn.0040e330
push 6
push str.delete
lea ecx, [ebp - 0x48]
call fcn.0040d120
mov esi, eax
push 0x11
push str._N1__N2__N3...___
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x1f
push str.Delete_one_or_more_serial_ports
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 4
push str.coms
push eax
call fcn.0040cfc0
mov esi, eax
push 0x1d
push str._Local_bridge_creation_
lea ecx, [esi + 0xb4]
call fcn.0040e330
push 5
push str.N1_N2
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x40
push str.Set_port_numbers_for_first_and_second_ports_in_bridge._Optional.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
push ecx
push 9
push str.permanent
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d270
push 0x22
push str.Create_permanent_bridge._Optional.
lea ecx, [eax + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 3
push 0x4599a8
push eax
call fcn.0040cfc0
mov esi, eax
push 0x15
push str._Port_creation_
lea ecx, [esi + 0xb4]
call fcn.0040e330
push 1
push 0x459fa4
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x16
push 0x459fa8
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
push 4
push str.mode
push eax
lea ecx, [ebp - 0x48]
call fcn.0040cfc0
mov esi, eax
push 0x16
push str._listeningpipefiles_
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x12
push str.Specify_port_mode.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 8
push str.security
push eax
call fcn.0040cfc0
mov esi, eax
push 0x16
push str._Listening_port_
lea ecx, [esi + 0xb4]
call fcn.0040e330
push 2
push 0x45a080
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x53
push str.Specify_the_security_descriptor_for_Listening_port._Use_String_SD_syntax._Optional.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 0xb
push str.create_pipe
push eax
call fcn.0040cfc0
mov esi, eax
push 0xc
push str._Pipe_
lea ecx, [esi + 0xb4]
call fcn.0040e330
push 8
push str.pipename
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x62
push str.Specify_pipe_name_to_create_and_connect_to._Required_unless___connect_pipe_parameter_is_specified.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 0xc
push str.connect_pipe
push eax
call fcn.0040cfc0
mov esi, eax
push 8
push str.pipename
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x56
push str.Specify_pipe_name_to_connect_to._Required_unless___create_pipe_parameter_is_specified.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 0xa
push str.input_file
push eax
call fcn.0040cfc0
mov esi, eax
push 0x1a
push str._Input_output_files_
lea ecx, [esi + 0xb4]
call fcn.0040e330
push 8
push str.filename
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x1c
push str.Specify_the_input_file_name.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 0xb
push str.output_file
push eax
call fcn.0040cfc0
mov esi, eax
push 8
push str.filename
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x1d
push str.Specify_the_output_file_name.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 0xb
push str.remote_host
push eax
call fcn.0040cfc0
mov esi, eax
push 0x15
push str._Remote_bridge_
lea ecx, [esi + 0xb4]
call fcn.0040e330
push 8
push str.hostname
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x1f
push str.Remote_host_name_or_IP_address.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 0xb
push str.remote_port
push eax
call fcn.0040cfc0
mov esi, eax
push 1
push 0x459fa4
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x13
push str.Remote_port_number.
lea ecx, [esi + 0x9c]
call fcn.0040e330
push 3
push 0x4599a8
lea ecx, [ebp - 0x48]
call fcn.0040ce70
push 9
push str.permanent
lea ecx, [ebp - 0x48]
call fcn.0040ce70
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 5
push str.login
push eax
call fcn.0040cfc0
mov esi, eax
push 8
push str.username
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x5c
push str.Login_of_the_user_for_authentication_on_remote_computer._Optional_for_non_permanent_bridges.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 8
push str.password
push eax
call fcn.0040cfc0
mov esi, eax
push 8
push str.password
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x5c
push str.Password_for_the_user_authentication_on_remote_computer._Optional_for_non_permanent_bridges.
lea ecx, [esi + 0x9c]
call fcn.0040e330
movzx eax, byte [0x45ad2c]
lea ecx, [ebp - 0x48]
push 6
push str.domain
push eax
call fcn.0040cfc0
mov esi, eax
push 8
push str.hostname
lea ecx, [esi + 0x84]
call fcn.0040e330
push 0x40
push str.Domain_of_the_user_to_authenticate_on_remote_computer._Optional.
lea ecx, [esi + 0x9c]
call fcn.0040e330
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4a]
push eax
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov word [ebp - 0x4a], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
sub esp, 8
mov ecx, eax
mov edx, esp
lea esi, [ecx + 2]
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4023e3
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x48]
call fcn.0040cba0
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 6
mov edx, esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], str.silent
mov ecx, dword [esi + 0xe8]
and ecx, 0xfffffffe
push ecx
push eax
push ecx
lea eax, [ecx - 0xe8]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00410f70
add esp, 0x10
cmp dword [eax + 0x30], 0
jne 0x40244b
cmp byte [eax + 0x6c], 0
jne 0x40329f
mov al, byte [eax + 0x60]
jmp 0x402451
mov al, byte [eax + 0x82]
mov byte [ebp - 0x58], al
mov byte [ebp - 0x49], al
test al, al
jne 0x40246d
mov edx, str.HHD_Software_Virtual_Serial_Ports_Command_Line_Utility_n
mov ecx, 0x463c88
call fcn.004039a0
mov esi, dword [ebp - 0x44]
mov ecx, dword [esi + 0xe8]
lea eax, [ebp - 0x18]
and ecx, 0xfffffffe
mov dword [ebp - 0x14], 4
push dword [ebp - 0x14]
mov edx, esi
mov dword [ebp - 0x18], str.help
push ecx
push eax
push ecx
lea eax, [ecx - 0xe8]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00410f70
add esp, 0x10
cmp dword [eax + 0x30], 0
jne 0x4024b8
cmp byte [eax + 0x6c], 0
jne 0x40329f
mov al, byte [eax + 0x60]
jmp 0x4024be
mov al, byte [eax + 0x82]
test al, al
je 0x4025a3
lea ecx, [ebp - 0x50]
call fcn.004032e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402544
mov edx, dword [ebp - 0x24]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x402525
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push ecx
push esi
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x402597
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x402578
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push edx
push ecx
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 4
jmp 0x402fe9
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], 0
sub esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.004038f0
mov dword [ebp - 0x68], eax
test eax, eax
jns 0x4028fc
cmp byte [ebp - 0x49], 0
jne 0x402785
xor eax, eax
mov dword [ebp - 0x70], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 7
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0x80
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov word [ebp - 0x1a0], ax
mov byte [ebp - 4], 8
mov edi, 0x45adf0
nop dword [eax]
cmp edi, 0x45ae44
je 0x402715
mov edx, dword [edi + 8]
test dl, dl
jns 0x4026e4
lea ecx, [ebp - 0x1c0]
add ecx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x1c0]
mov esi, eax
cmp esi, ecx
mov esi, dword [ebp - 0x64]
je 0x40269a
nop
cmp byte [eax], 0
je 0x40270d
inc eax
cmp eax, ecx
jne 0x402690
mov ecx, dword [edi + 4]
shr edx, 0x11
and dl, 1
mov byte [ebp - 4], 9
mov eax, dword [0x45adec]
cmp eax, dword [edi]
jb 0x4032a4
sub eax, dword [edi]
sub ecx, dword [edi]
mov esi, dword [str.Error_accessing_Virtual_Serial_Ports_Library:_ub016x_n]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
lea eax, [esi + eax*2]
push eax
call fcn.0040f8a0
mov esi, dword [ebp - 0x64]
add esp, 8
add edi, 0x1c
jmp 0x402660
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x1a8], 0
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1a4], 0
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.00406fb0
add edi, 0x1c
jmp 0x402660
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x40272c
push eax
call fcn.0042be3e
add esp, 4
cmp dword [ebp - 0x6c], 7
lea edx, [ebp - 0x80]
push dword [ebp - 0x70]
cmova edx, dword [ebp - 0x80]
mov ecx, 0x463c88
call fcn.004097d0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x6c]
cmp ecx, 7
jbe 0x402785
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40277b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032a9
push ecx
push edx
call fcn.0042be04
add esp, 8
mov edi, dword [ebp - 0x68]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402799
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
js 0x4027a3
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402819
mov edx, dword [ebp - 0x24]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4027fa
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push ecx
push esi
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x40286c
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x40284d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push edx
push ecx
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
mov esi, dword [ecx + 0xe8]
and esi, 0xfffffffe
lea eax, [esi - 0xe8]
neg esi
sbb esi, esi
and esi, eax
je 0x4028db
mov ecx, dword [esi + 0xec]
lea eax, [ecx - 0xe8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x3f]
call fcn.00403940
mov ecx, dword [esi + 0xf0]
lea eax, [ecx - 0xe8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x3f]
call fcn.00403940
mov ecx, esi
call fcn.0040e030
push 0xf8
push esi
call fcn.0042be04
mov ecx, dword [ebp - 0x44]
add esp, 8
push 0xf8
push ecx
call fcn.0042be04
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x44]
mov edx, ecx
mov eax, dword [ebp - 0x54]
mov dword [0x464ac4], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x5c], eax
mov edi, dword [ecx + 0xe8]
and edi, 0xfffffffe
mov dword [ebp - 0x14], 6
push dword [ebp - 0x14]
mov dword [ebp - 0x18], str.create
push ecx
lea eax, [edi - 0xe8]
neg edi
sbb edi, edi
and edi, eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, edi
call fcn.00410f70
add esp, 0x10
cmp dword [eax + 0x30], 0
jne 0x40295d
cmp byte [eax + 0x6c], 0
jne 0x40329f
mov al, byte [eax + 0x60]
jmp 0x402963
mov al, byte [eax + 0x82]
mov edx, dword [ebp - 0x44]
test al, al
mov dword [ebp - 0x14], 6
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push ecx
push eax
push ecx
mov ecx, edi
je 0x402dc1
mov dword [ebp - 0x18], str.create
call fcn.00410f70
add esp, 0x10
cmp byte [eax + 0x82], 0
jne 0x4029ca
lea edi, [eax + 0x38]
test edi, edi
je 0x4032ae
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x4032ae
add eax, 4
push 0x462dac
push eax
call fcn.0042d08a
add esp, 8
test eax, eax
jne 0x4032ae
jmp 0x4029ef
cmp byte [eax + 0x81], 0
je 0x4029e2
cmp byte [eax + 0x6c], 2
jne 0x40329f
mov edi, dword [eax + 0x60]
jmp 0x4029ef
cmp byte [eax + 0x6c], 1
lea edi, [eax + 0x60]
jne 0x40329f
mov ecx, dword [edi]
mov dword [ebp - 0x4c], ecx
mov edx, dword [edi + 4]
mov edi, str.bridge
mov dword [ebp - 0x14], edx
cmp edx, 6
jne 0x402b47
mov eax, edx
mov dword [ebp - 0x50], eax
test eax, eax
je 0x402a41
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x14], eax
nop dword [eax + eax]
movzx ecx, word [edi + eax]
movzx eax, word [edi]
cmp cx, ax
jne 0x402b44
mov eax, dword [ebp - 0x50]
add edi, 2
dec eax
mov dword [ebp - 0x50], eax
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x402a20
push dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x48]
call fcn.00403c40
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402a65
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
js 0x402a6f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402ae5
mov edx, dword [ebp - 0x24]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x402ac6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push ecx
push esi
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x402b38
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b19
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push edx
push ecx
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xd
jmp 0x402873
mov ecx, dword [ebp - 0x4c]
mov edi, str.port
cmp edx, 4
jne 0x402c89
mov eax, edx
mov dword [ebp - 0x50], eax
test eax, eax
je 0x402b86
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x14], eax
movzx ecx, word [edi + eax]
movzx eax, word [edi]
cmp cx, ax
jne 0x402c89
mov eax, dword [ebp - 0x50]
add edi, 2
dec eax
mov dword [ebp - 0x50], eax
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x402b65
push dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x48]
call fcn.004043b0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402baa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
js 0x402bb4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402c2a
mov edx, dword [ebp - 0x24]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x402c0b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push ecx
push esi
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x402c7d
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c5e
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push edx
push ecx
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xf
jmp 0x402873
mov edi, str.remote_bridge
cmp edx, 0xd
jne 0x4032b3
test edx, edx
je 0x402cbe
mov eax, dword [ebp - 0x4c]
sub eax, edi
mov dword [ebp - 0x4c], eax
movzx ecx, word [edi + eax]
movzx eax, word [edi]
cmp cx, ax
jne 0x4032b3
mov eax, dword [ebp - 0x4c]
add edi, 2
sub edx, 1
jne 0x402ca3
push dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x48]
call fcn.00405430
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402ce2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
js 0x402cec
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402d62
mov edx, dword [ebp - 0x24]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x402d43
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push ecx
push esi
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x402db5
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d96
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push edx
push ecx
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0x11
jmp 0x402873
mov dword [ebp - 0x18], str.delete
call fcn.00410f70
add esp, 0x10
cmp dword [eax + 0x30], 0
jne 0x402de5
cmp byte [eax + 0x6c], 0
jne 0x40329f
mov al, byte [eax + 0x60]
jmp 0x402deb
mov al, byte [eax + 0x82]
test al, al
je 0x402ef6
push dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x48]
call fcn.00405e80
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402e17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
js 0x402e21
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402e97
mov edx, dword [ebp - 0x24]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x402e78
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push ecx
push esi
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x402eea
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ecb
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d4
push edx
push ecx
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0x13
jmp 0x402873
lea ecx, [ebp - 0x50]
call fcn.004032e0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402f0f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
js 0x402f19
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402f8f
mov edx, dword [ebp - 0x24]
push ecx
call fcn.0040beb0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x402f70
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d9
push ecx
push esi
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x402fe2
mov eax, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x402fc3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d9
push edx
push ecx
call fcn.0042be04
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x44]
mov esi, dword [ecx + 0xe8]
and esi, 0xfffffffe
lea eax, [esi - 0xe8]
neg esi
sbb esi, esi
and esi, eax
je 0x403051
mov ecx, dword [esi + 0xec]
lea eax, [ecx - 0xe8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x3f]
call fcn.00403940
mov ecx, dword [esi + 0xf0]
lea eax, [ecx - 0xe8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x3f]
call fcn.00403940
mov ecx, esi
call fcn.0040e030
push 0xf8
push esi
call fcn.0042be04
mov ecx, dword [ebp - 0x44]
add esp, 8
push 0xf8
push ecx
call fcn.0042be04
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00410f40
call fcn.00411140
call fcn.004307ea
call fcn.00410ea0
push str.Invalid_value_for__create_parameter.
lea ecx, [ebp - 0xcc]
call fcn.004036c0
push 0x46081c
lea eax, [ebp - 0xcc]
push eax
call fcn.0042d0e9
call fcn.004307ea
call fcn.004307ea
int3