Function at 0x418380
Capabilities:
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4337d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x43e460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
xor edx, edx
mov esi, ecx
mov dword [ebp - 0xf0], edx
mov byte [ebp - 0xf1], dl
cmp ebx, 4
jb case.0x4183df.2
mov dword [eax], edx
mov eax, dword [edi]
dec eax
cmp eax, 0xbf
ja case.0x4183df.2
movzx eax, byte [eax + 0x4196f4]
jmp dword [eax*4 + 0x4196c4]
cmp ebx, 8
jb case.0x4183df.2
mov ecx, dword [edi + 4]
push ecx
push str.LME_requested_to_disconnect_with_reason_code_0x_08x_n
call fcn.0041c077
add esp, 8
jmp 0x418416
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 0x20
jae 0x41843b
mov ecx, esi
push 2
call fcn.00407c30
mov ecx, esi
call fcn.00416c80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041be05
mov esp, ebp
pop ebp
ret 0xc
add edi, 4
push str.auth_amt.intel.com
mov ecx, edi
call fcn.00401990
test eax, eax
je 0x418473
push str.pfwd_amt.intel.com
mov ecx, edi
call fcn.00401990
test eax, eax
je 0x418473
push 7
push str.Requesting_to_disconnect_from_LME_with_reason_code_0x_08x_n
call fcn.0041c077
add esp, 8
push 7
mov ecx, esi
jmp 0x418411
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd8], esp
push edi
call fcn.00401f50
mov ecx, esi
call fcn.00408340
cmp dword [edi + 0x14], 0x10
jb 0x418495
mov eax, dword [edi]
jmp 0x418497
mov eax, edi
push eax
push str.Accepting_service:__s_n
call fcn.0041c077
add esp, 8
push str.pfwd_amt.intel.com
mov ecx, edi
call fcn.00401990
test eax, eax
jne 0x41841d
lea ecx, [esi + 0x124]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], eax
call fcn.004199f0
lea ecx, [ebp - 0xec]
mov dword [esi + 0x110], 1
call section..text
jmp 0x41841d
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 0x5c
jb 0x41840d
push str.Sending_Userauth_success_message_n
call fcn.0041c077
add esp, 4
mov ecx, esi
call fcn.00407ca0
jmp 0x41841d
cmp ebx, 0x10
jb case.0x4183df.2
lea ecx, [esi + 0x124]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], edx
call fcn.004199f0
mov eax, dword [esi + 0x10c]
sub eax, 0
mov dword [ebp - 4], 0
je 0x418579
dec eax
je 0x4185a8
dec eax
je 0x418579
push 0xb
mov ecx, esi
call fcn.00407c30
mov ecx, esi
call fcn.00416c80
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
mov edx, dword [0x43e0d4]
mov ecx, dword [0x43e0d8]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x43e0dc]
mov dword [eax + 4], ecx
mov ecx, dword [0x43e0e0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esi
call fcn.00407d10
mov ecx, dword [edi + 4]
mov eax, dword [0x43e0c8]
sub eax, ecx
jne 0x4185bc
mov eax, dword [0x43e0cc]
sub eax, dword [edi + 8]
test eax, eax
jle 0x4185f9
mov edx, dword [edi + 8]
push edx
push ecx
push str.Version__d._d_is_not_supported._n
call fcn.0041c077
add esp, 0xc
push 8
mov ecx, esi
call fcn.00407c30
mov ecx, esi
call fcn.00416c80
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
mov edx, dword [0x43e0d8]
mov eax, edx
sub eax, ecx
jne 0x41860d
mov eax, dword [0x43e0dc]
sub eax, dword [edi + 8]
test eax, eax
jle 0x418622
mov dword [esi + 0x118], ecx
mov eax, dword [edi + 8]
mov dword [esi + 0x11c], eax
jmp 0x418634
mov dword [esi + 0x118], edx
mov ecx, dword [0x43e0dc]
mov dword [esi + 0x11c], ecx
lea ecx, [ebp - 0x11c]
mov dword [esi + 0x10c], 2
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 8
jb 0x41840d
mov edx, dword [edi + 4]
push edx
push str.Global_Request_type_0x_02x_n
call fcn.0041c077
mov eax, dword [edi + 4]
xor edx, edx
add esp, 8
sub eax, edx
je 0x4189a4
dec eax
je 0x418784
dec eax
jne 0x41840d
cmp ebx, 0x30
jb 0x41840d
cmp dword [edi + 0x1c], 0x10
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
lea eax, [edi + 8]
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], 2
mov dword [ebp - 0x108], 0x11
jb 0x4186fc
mov eax, dword [eax]
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x418728
push str.Unable_to_send_UDP_data._n
call fcn.0041c077
add esp, 4
jmp 0x41841d
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x418716
mov edx, dword [edi + 0x24]
push 0
push 2
push edx
push eax
mov ecx, esi
call fcn.004136f0
mov esi, eax
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp esi, 0xffffffff
je 0x418716
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
push 0
push ecx
push edx
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [edi + 0x28]
push ecx
push eax
push str.Sent_UDP_data:__d_bytes_of__d._n
call fcn.0041c077
push esi
call fcn.0040bb00
add esp, 0x10
jmp 0x41841d
cmp ebx, 0x28
jb 0x41840d
lea ecx, [esi + 0xdc]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], edx
call fcn.004199f0
push str.__________FW_request_to_CLOSE_tunnel_n
mov dword [ebp - 4], 0x10
call fcn.0041c077
add esp, 4
lea ebx, [edi + 0x24]
push ebx
lea edx, [ebp - 0xd8]
push edx
lea ecx, [esi + 0xbc]
mov dword [ebp - 0xe0], ebx
call fcn.0040f070
mov eax, dword [esi + 0xc0]
cmp dword [ebp - 0xd8], eax
jne 0x41881c
add edi, 8
cmp dword [edi + 0x14], 0x10
jb 0x4187ed
mov edi, dword [edi]
mov eax, dword [ebx]
push eax
push edi
push str.Previous_request_on_address__s_and_port__d_doesnt_exist._n
call fcn.0041c077
add esp, 0xc
mov ecx, esi
call fcn.00407f40
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
sub esp, 0x1c
lea ebx, [edi + 8]
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.00401f50
mov ecx, esi
call fcn.0040e440
test al, al
je 0x418891
call fcn.00403c30
mov ecx, eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], 0
call fcn.004199f0
cmp dword [ebx + 0x14], 0x10
mov byte [ebp - 4], 0x11
jb 0x418865
mov eax, dword [ebx]
jmp 0x418867
mov eax, ebx
push eax
push str.__________FW_request_to_CLOSE_remote_tunnel____s_n
call fcn.0041c077
add esp, 8
call fcn.00403c30
lea ecx, [eax + 0x14]
call fcn.004063c0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x10
call section..text
mov eax, dword [ebp - 0xd8]
mov edi, dword [eax + 0x10]
cmp edi, dword [eax + 0x14]
je 0x41890d
nop
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [edi]
call fcn.0040fc60
or dword [ebp - 0xf0], 2
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00401960
test eax, eax
jne 0x4188d0
mov edx, dword [edi]
mov byte [ebp - 0xd9], 1
cmp dword [edx + 0x38], eax
jne 0x4188d7
mov byte [ebp - 0xd9], 0
test byte [ebp - 0xf0], 2
mov dword [ebp - 4], 0x10
je 0x4188f6
and dword [ebp - 0xf0], 0xfffffffd
lea ecx, [ebp - 0x48]
call fcn.004086e0
cmp byte [ebp - 0xd9], 0
jne 0x41894a
mov eax, dword [ebp - 0xd8]
add edi, 4
cmp edi, dword [eax + 0x14]
jne 0x4188a0
cmp dword [ebx + 0x14], 0x10
jb 0x418915
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx]
push edx
push ebx
push str.Previous_request_on_address__s_and_port__d_doesnt_exist._n
call fcn.0041c077
add esp, 0xc
mov ecx, esi
call fcn.00407f40
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
mov eax, dword [edi]
mov dword [eax + 0x38], 0
mov edi, dword [edi]
cmp dword [edi + 0x3c], 0
jne 0x418963
push edi
mov ecx, esi
call fcn.00415470
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.00401f50
mov ecx, esi
call fcn.0040e440
test al, al
je 0x418986
mov ecx, esi
call fcn.0040ffa0
mov ecx, esi
call fcn.00407ed0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
cmp ebx, 0x28
jb 0x41840d
sub esp, 0x1c
lea ebx, [edi + 8]
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
mov dword [ebp - 0xd8], ebx
call fcn.00401f50
mov ecx, esi
call fcn.0040e440
test al, al
je 0x4189f4
cmp dword [ebx + 0x14], 0x10
jb 0x4189da
mov ebx, dword [ebx]
push ebx
push str.__________FW_request_to_open_remote_tunnel___s_n
call fcn.0041c077
add esp, 8
mov dword [ebp - 0xe0], 0x411730
jmp 0x4189fe
mov dword [ebp - 0xe0], 0x417920
lea ecx, [esi + 0xdc]
xor ebx, ebx
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], ebx
call fcn.004199f0
mov dword [ebp - 4], 1
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], ebx
add edi, 0x24
push edi
lea eax, [ebp - 0xe4]
lea ecx, [esi + 0xbc]
push eax
mov byte [ebp - 4], 2
call fcn.0040f070
mov eax, dword [esi + 0xc0]
cmp dword [ebp - 0xe4], eax
je 0x418d87
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
sar ecx, 2
test ecx, ecx
je 0x418b19
mov ebx, eax
mov edx, dword [ebx + 0x10]
mov eax, dword [edx]
add eax, 0x24
push eax
lea ecx, [ebp - 0x104]
call fcn.004105e0
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebp - 0xe4]
cmp ebx, dword [ecx + 0x14]
je 0x418b13
mov ecx, dword [ebx]
cmp dword [ecx + 0x38], 0
je 0x418acf
lea edx, [ebp - 0x9c]
push edx
call fcn.0040fc60
mov ecx, dword [ebp - 0xd8]
or dword [ebp - 0xf0], 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00401960
mov byte [ebp - 0xd9], 1
test eax, eax
je 0x418ad6
mov byte [ebp - 0xd9], 0
test byte [ebp - 0xf0], 1
mov dword [ebp - 4], 2
je 0x418af8
and dword [ebp - 0xf0], 0xfffffffe
lea ecx, [ebp - 0x9c]
call fcn.004086e0
cmp byte [ebp - 0xd9], 0
jne 0x418c78
mov edx, dword [ebp - 0xe4]
add ebx, 4
cmp ebx, dword [edx + 0x14]
jne 0x418a97
mov ebx, dword [ebp - 0x100]
sub ebx, dword [ebp - 0x104]
test ebx, 0xfffffffc
jne 0x418dcd
mov eax, dword [edi]
push 1
lea edx, [ebp - 0xe4]
push edx
push eax
push 0
lea ecx, [ebp - 0x134]
push ecx
mov ecx, esi
call fcn.00413130
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 8
call fcn.00411c50
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 2
call fcn.004069b0
mov edx, dword [ebp - 0x100]
sub edx, dword [ebp - 0x104]
test edx, 0xfffffffc
je 0x418b87
cmp dword [ebp - 0xe4], 0
je 0x418dcd
push 1
push 3
lea ecx, [ebp - 0x1dc]
call fcn.00412a40
mov eax, dword [edi]
push 0x4349b4
push eax
lea ecx, [ebp - 0x1cc]
push str.LMS_Service_cannot_listen_at_port
push ecx
mov byte [ebp - 4], 9
call fcn.0040f390
add esp, 8
mov ecx, eax
call fcn.004103f0
push eax
call fcn.0040f390
add esp, 8
lea ebx, [esi + 0x16c]
push edi
mov ecx, ebx
call fcn.004129c0
cmp byte [eax], 0
jne 0x418c26
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x1dc]
call fcn.00412b70
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x418bf7
mov eax, dword [eax]
mov ecx, dword [esi + 0x160]
push 2
push eax
mov eax, dword [esi + 0x164]
push eax
call ecx
add esp, 0xc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 9
call fcn.004086e0
push edi
mov ecx, ebx
call fcn.004129c0
mov byte [eax], 1
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x1dc]
call fcn.00412b70
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x418c41
mov eax, dword [eax]
push eax
push 0x440100
call fcn.0040f390
add esp, 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.004086e0
mov ecx, esi
call fcn.00407e60
lea ecx, [ebp - 0x1dc]
mov bl, 1
mov byte [ebp - 4], 2
call fcn.0040e420
jmp 0x418f62
push 1
push 3
lea ecx, [ebp - 0x1dc]
call fcn.00412a40
mov eax, dword [edi]
mov ecx, dword [ebp - 0xd8]
push 0x4349b4
push eax
push 0x43631c
push ecx
lea edx, [ebp - 0x1cc]
push str.LMS_already_accepted_a_request_at
push edx
mov byte [ebp - 4], 4
call fcn.0040f390
add esp, 8
push eax
call fcn.0040f650
add esp, 8
push eax
call fcn.0040f390
add esp, 8
mov ecx, eax
call fcn.004103f0
push eax
call fcn.0040f390
add esp, 8
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00412b70
mov edi, 0x10
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], edi
jb 0x418cf7
mov eax, dword [eax]
mov ecx, dword [esi + 0x164]
mov edx, dword [esi + 0x160]
push 2
push eax
push ecx
call edx
add esp, 0xc
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.004086e0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00412b70
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], edi
jb 0x418d35
mov eax, dword [eax]
push eax
push 0x440100
call fcn.0040f390
add esp, 8
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004086e0
mov ecx, esi
call fcn.00407e60
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 2
call fcn.0040e420
lea ecx, [ebp - 0x104]
call fcn.004069b0
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x124]
push ecx
push edi
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 7
call fcn.00416290
mov ecx, eax
call fcn.004105e0
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 2
call fcn.004069b0
jmp 0x418b19
cmp dword [ebp - 0xe0], 0x417920
mov eax, str.local
je 0x418de3
mov eax, str.remote
push eax
mov eax, dword [edi]
push eax
push str.Listening_at_port__d_at__s_interface._n
call fcn.0041c077
add esp, 0xc
lea ecx, [esi + 0x16c]
push edi
call fcn.004129c0
cmp byte [eax], 1
jne 0x418e8f
push 1
push 3
lea ecx, [ebp - 0x1dc]
call fcn.00412a40
mov ecx, dword [edi]
push 0x4349b4
push ecx
lea edx, [ebp - 0x1cc]
push str.Listening_at_port
push edx
mov byte [ebp - 4], 0xc
call fcn.0040f390
add esp, 8
mov ecx, eax
call fcn.004103f0
push eax
call fcn.0040f390
add esp, 8
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00412b70
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x418e63
mov eax, dword [eax]
mov ecx, dword [esi + 0x164]
mov edx, dword [esi + 0x160]
push 4
push eax
push ecx
call edx
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.004086e0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 2
call fcn.0040e420
push 0x40
call fcn.0041be14
add esp, 4
mov dword [ebp - 0xe4], eax
mov ebx, dword [ebp - 0xe0]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x418f01
cmp ebx, 0x417920
sete al
movzx ecx, al
push ecx
push ebx
sub esp, 0x10
lea edx, [ebp - 0x104]
mov ecx, esp
mov dword [ebp - 0xf0], esp
push edx
call fcn.00411b80
mov eax, dword [edi]
mov edx, dword [ebp - 0xd8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x118], esp
push edx
mov byte [ebp - 4], 0xf
call fcn.00401f50
mov ecx, dword [ebp - 0xe4]
mov byte [ebp - 4], 0xe
call fcn.00412720
jmp 0x418f03
xor eax, eax
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
push eax
push edi
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 2
call fcn.00416290
mov ecx, eax
call fcn.00410710
mov ecx, dword [edi]
push ecx
mov ecx, esi
call fcn.00407de0
mov eax, dword [ebp - 0xe4]
xor edx, edx
cmp ebx, 0x417920
sete dl
push edi
lea ecx, [esi + 0x16c]
inc edx
mov dword [eax + 0x38], edx
call fcn.004129c0
mov ecx, esi
mov byte [eax], 0
call fcn.0040bc30
mov bl, byte [ebp - 0xf1]
lea ecx, [ebp - 0x104]
call fcn.004069b0
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call section..text
cmp bl, 1
je 0x41840d
mov ecx, dword [esi + 0x170]
mov eax, dword [ecx]
mov dword [ebp - 0xe4], eax
cmp eax, ecx
je 0x418fc3
lea ebx, [ebx]
cmp byte [eax + 0x10], 1
je 0x41841d
lea ecx, [ebp - 0xe4]
call fcn.0040c300
mov eax, dword [ebp - 0xe4]
cmp eax, dword [esi + 0x170]
jne 0x418fa0
test bl, bl
jne 0x41841d
cmp dword [ebp - 0xe0], 0x417920
jne 0x41900c
mov ebx, dword [ebp - 0xd8]
cmp dword [ebx + 0x14], 0x10
jb 0x418fe7
mov eax, dword [ebx]
jmp 0x418fe9
mov eax, ebx
mov ecx, dword [edi]
push str.local
push eax
push ecx
push str.Listening_at_port__d_addr:_s_at__s_interface._n
call fcn.0041c077
add esp, 0x10
push ebx
mov ecx, esi
call fcn.00411750
jmp 0x41841d
push str.__________remote_tunnel_created___going_to_check_remote_support_n
call fcn.0041c077
add esp, 4
push 1
mov ecx, esi
call fcn.00418260
jmp 0x41841d
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 0x30
jb 0x41840d
cmp dword [edi + 0x24], 0x10
lea ebx, [edi + 0x10]
jb 0x41904b
mov eax, dword [ebx]
jmp 0x41904d
mov eax, ebx
mov edx, dword [edi + 0x2c]
push edx
push eax
mov eax, dword [edi + 8]
push eax
push str.Got_channel_request_from_AMT.__Recipient_channel__d_for_address__s__port__d._n
call fcn.0041c077
xor eax, eax
add esp, 0x10
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 6
jb 0x4190bf
mov eax, dword [ebx]
jmp 0x4190c1
mov eax, ebx
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x114]
push edx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x419104
cmp dword [ebx + 0x14], 0x10
jb 0x4190e4
mov ebx, dword [ebx]
push ebx
push str.Unable_to_open_direct_channel_to_address__s._n
call fcn.0041c077
mov eax, dword [edi + 8]
add esp, 8
push 2
push eax
mov ecx, esi
call fcn.00408070
jmp 0x41841d
cmp dword [ebp - 0xd8], 0
jne 0x419135
cmp dword [ebx + 0x14], 0x10
jb 0x419115
mov ebx, dword [ebx]
push ebx
push str.Unable_to_open_direct_channel_to_address__s._n
call fcn.0041c077
mov ecx, dword [edi + 8]
add esp, 8
push 2
push ecx
mov ecx, esi
call fcn.00408070
jmp 0x41841d
cmp dword [edi + 0x2c], 0
jne 0x419145
mov ecx, esi
call fcn.00411a20
mov dword [edi + 0x2c], eax
mov edx, dword [edi + 0x2c]
mov eax, dword [ebp - 0xd8]
push 0
push 1
push edx
push eax
mov ecx, esi
call fcn.004136f0
mov ecx, dword [ebp - 0xd8]
push ecx
mov dword [ebp - 0xe0], eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 0xe0], 0xffffffff
jne 0x41919f
cmp dword [ebx + 0x14], 0x10
jb 0x41917f
mov ebx, dword [ebx]
push ebx
push str.Unable_to_open_direct_channel_to_address__s._n
call fcn.0041c077
mov edx, dword [edi + 8]
add esp, 8
push 2
push edx
mov ecx, esi
call fcn.00408070
jmp 0x41841d
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xe4]
push eax
push 0x8004667e
push ecx
mov dword [ebp - 0xe4], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0x1c
call fcn.0041be14
add esp, 4
test eax, eax
je 0x4191f4
mov ecx, dword [ebp - 0xe0]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0xfff
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov ebx, eax
jmp 0x4191f6
xor ebx, ebx
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov edx, dword [edi + 8]
lea ecx, [esi + 0xe0]
mov dword [ebx], edx
mov dword [ebx + 0x14], 1
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], 0
call fcn.004199f0
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [esi + 0xcc]
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xe0], eax
call fcn.00412940
mov dword [eax], ebx
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
push eax
push ebx
mov ecx, esi
call fcn.00407fb0
mov ecx, esi
call fcn.0040bc30
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 0x10
jb 0x41840d
lea ecx, [esi + 0xe0]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], 0
call fcn.004199f0
lea ebx, [edi + 4]
push ebx
lea edx, [ebp - 0xd8]
push edx
lea ecx, [esi + 0xcc]
call fcn.0040f130
mov eax, dword [ebp - 0xd8]
cmp eax, dword [esi + 0xd0]
je 0x4192ff
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0x14], 1
mov edx, dword [eax + 0x10]
mov ecx, dword [edi + 8]
mov dword [edx], ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [edi + 0xc]
add dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [ebx]
push eax
push ecx
push edx
push str.channel__d__d_has_now_window_size___d_n
call fcn.0041c077
add esp, 0x10
mov ecx, esi
call fcn.0040bc30
lea ecx, [ebp - 0xec]
call section..text
jmp 0x41841d
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 0xc
jb 0x41840d
xor eax, eax
lea ecx, [esi + 0xe0]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], eax
call fcn.004199f0
lea eax, [edi + 4]
push eax
lea edx, [ebp - 0xe0]
lea ecx, [esi + 0xcc]
push edx
mov dword [ebp - 4], 0x14
call fcn.0040f130
mov ebx, dword [ebp - 0xe0]
cmp ebx, dword [esi + 0xd0]
je 0x4193d7
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
push eax
call fcn.0040bb00
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x18]
add esp, 4
test eax, eax
je 0x4193a7
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x41939b
dec ecx
mov dword [eax + 0x3c], ecx
cmp dword [eax + 0x3c], 0
jne 0x4193a7
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.0041b28a
add esp, 4
push ebx
lea edx, [ebp - 0x118]
push edx
lea ecx, [esi + 0xcc]
call fcn.0040e7f0
mov eax, dword [edi + 8]
push eax
push str.Channel_open_request_was_refused._Reason_code:_0x_02x_reason._n
call fcn.0041c077
add esp, 8
or ebx, 0xffffffff
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
call section..text
mov edi, dword [ebp - 0xd8]
test edi, edi
je 0x41841d
lea ecx, [esi + 0xdc]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], 0
call fcn.004199f0
mov dword [ebp - 4], 0x15
push edi
mov ecx, esi
call fcn.00415470
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xec]
call section..text
jmp 0x41841d
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 8
jb 0x41840d
xor eax, eax
lea ecx, [esi + 0xe0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], eax
call fcn.004199f0
add edi, 4
push edi
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [esi + 0xcc]
mov dword [ebp - 4], 0x16
call fcn.0040f130
mov eax, dword [esi + 0xd0]
cmp dword [ebp - 0xd8], eax
je 0x419523
mov edx, dword [ebp - 0xd8]
mov edi, dword [edx + 0x10]
mov eax, dword [edi + 0x14]
dec eax
je 0x4194b5
dec eax
jne 0x4194d7
mov eax, dword [edi + 4]
push eax
push str.Received_reply_by_AMT_on_closing_channel__d._n
jmp 0x4194cf
mov eax, dword [edi]
push eax
mov ecx, esi
mov dword [edi + 0x14], 3
call fcn.00408120
mov eax, dword [edi + 4]
push eax
push str.Channel__d_was_closed_by_AMT._n
call fcn.0041c077
add esp, 8
mov eax, dword [edi + 8]
push eax
call fcn.0040bb00
mov eax, dword [edi + 0x18]
add esp, 4
test eax, eax
je 0x419501
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4194f5
dec ecx
mov dword [eax + 0x3c], ecx
cmp dword [eax + 0x3c], 0
jne 0x419501
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [esi + 0xcc]
call fcn.0040e7f0
push edi
call fcn.0041b28a
add esp, 4
or ebx, 0xffffffff
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
call section..text
mov edi, dword [ebp - 0xe0]
test edi, edi
je 0x41841d
lea ecx, [esi + 0xdc]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], 0
call fcn.004199f0
mov dword [ebp - 4], 0x17
jmp 0x419418
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 0x10
jb 0x41840d
lea ecx, [esi + 0xe0]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], 0
call fcn.004199f0
lea eax, [edi + 4]
push eax
lea edx, [ebp - 0xd8]
push edx
lea ecx, [esi + 0xcc]
mov dword [ebp - 4], 0x18
call fcn.0040f130
mov ebx, dword [ebp - 0xd8]
cmp ebx, dword [esi + 0xd0]
je 0x419626
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x14]
cmp ecx, 1
je 0x4195d6
cmp ecx, 2
jne 0x419626
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 8]
cmp eax, ecx
jb 0x41925c
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
push 0
push ecx
mov ecx, dword [edi + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 8]
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
push ecx
push edx
push eax
push str.Sent__d_bytes_of__d_from_AMT_to_channel__d_with_socket__d._n
call fcn.0041c077
mov ebx, dword [ebx + 0x10]
mov eax, dword [edi + 8]
mov ebx, dword [ebx]
add esp, 0x14
push eax
push ebx
mov ecx, esi
call fcn.00408250
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
call section..text
jmp 0x41841d
push edi
call fcn.00417380
test al, al
je 0x41841d
cmp ebx, 0xc
jb 0x41840d
lea ecx, [esi + 0xe0]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], 0
call fcn.004199f0
lea ecx, [edi + 4]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea ecx, [esi + 0xcc]
call fcn.0040f130
mov eax, dword [ebp - 0xd8]
cmp eax, dword [esi + 0xd0]
je 0x419423
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x14], 0
je 0x419423
mov edi, dword [edi + 8]
add dword [eax + 0xc], edi
mov ecx, esi
call fcn.0040bc30
lea ecx, [ebp - 0xec]
call section..text
jmp 0x41841d