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

Disassembly:
sub esp, 0xac
mov eax, dword [0x10143964]
xor eax, esp
mov dword [esp + 0xa8], eax
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc8]
push ebx
mov ebx, dword [esp + 0xdc]
push ebp
mov ebp, dword [esp + 0xc8]
push esi
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], ebx
push edi
mov edi, dword [esp + 0xc4]
test esi, esi
je 0x1009a2b6
test byte [esi + 0x1a8], 0x80
jne 0x1009a34c
test edi, edi
je 0x1009a2c2
mov ebx, dword [edi + 0x2b8]
jmp 0x1009a2c8
mov ebx, dword [edx + 0x2b4]
mov dword [esp + 0x30], ebx
test eax, eax
je 0x1009a2f5
test edi, edi
je 0x1009a2f5
push dword [esp + 0xdc]
push edi
push eax
push dword [esp + 0xe0]
push ebp
call fcn.100c3e20
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov edx, dword [esp + 0x1c]
test esi, esi
je 0x1009a301
mov bl, byte [esi + 0x190]
jmp 0x1009a313
test edi, edi
je 0x1009a30d
mov bl, byte [edi + 0x4b8]
jmp 0x1009a313
mov bl, byte [edx + 0x204]
movzx ecx, word [ecx]
mov eax, ecx
sub eax, 2
je 0x1009aac3
sub eax, 0x15
je 0x1009a4a9
sub eax, 0x64
je 0x1009a35f
test byte [0x1014bac8], 0x10
je 0x1009a34c
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x1009a34c
push ecx
push str.Unknown_protocol__TSNH__type__d_n
call eax
add esp, 8
push ebp
call fcn.10092e80
add esp, 4
mov eax, 0xe
jmp 0x1009b012
push 1
push 1
push 1
push 1
push 0xc
call fcn.100aec90
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1009aaf6
mov eax, dword [esi + 0x10]
test al, 2
je 0x1009a38b
add dword [esi + 8], 0xc0
jmp 0x1009a396
test al, 1
jne 0x1009a396
add dword [esi + 8], 0xdc
push esi
mov dword [esi + 0xc], 0xc
mov dword [esi], ebp
call fcn.100a5880
mov ebp, dword [esi + 8]
add esp, 4
mov cx, word [esp + 0xec]
mov edx, eax
mov dword [esp + 0x20], edx
mov word [ebp], cx
mov cx, word [esp + 0xf0]
mov word [ebp + 2], cx
mov ecx, dword [esp + 0xf4]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], 0
cmp dword [0x1014bb20], 0
jne 0x1009a3fc
push 0
push esi
call fcn.100c0b10
mov edx, dword [esp + 0x28]
add esp, 8
mov dword [ebp + 8], eax
mov ecx, 0x1014b7e0
jmp 0x1009a401
mov ecx, 0x1014b7e4
mov eax, 1
lock xadd dword [ecx], eax
test bl, bl
jne 0x1009a415
mov eax, dword [esp + 0x1c]
mov bl, byte [eax + 0x64]
and bl, 0xfc
cmp dword [esp + 0xe4], 0
mov byte [esp + 0x18], bl
je 0x1009a43f
test edi, edi
je 0x1009a437
cmp byte [edi + 0x4bb], 1
jne 0x1009a437
mov al, 2
jmp 0x1009a439
xor al, al
or bl, al
mov byte [esp + 0x18], bl
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1009a493
mov ebx, dword [esp + 0x20]
push edi
push ebx
push 0
push esi
call fcn.10092aa0
push dword [esp + 0xf0]
mov eax, dword [esp + 0x24]
push dword [esp + 0x2c]
push ebx
push edi
push dword [eax + 4]
call dword [0x1014bb18]
push edi
mov dword [esp + 0x50], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x28
push esi
call fcn.10092e80
add esp, 4
jmp 0x1009b00e
push esi
mov dword [esp + 0x2c], 0xc
call fcn.10092e80
add esp, 4
jmp 0x1009b00e
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
test esi, esi
je 0x1009a4c5
mov eax, dword [esi + 0x18c]
jmp 0x1009a4d7
test edi, edi
je 0x1009a4d1
mov eax, dword [edi + 0x368]
jmp 0x1009a4d7
mov eax, dword [edx + 0x200]
test eax, eax
jne 0x1009a4e4
push dword [edx + 0x1c]
call dword [sym.imp.WS2_32.dll_ntohl]
mov cx, word [esp + 0xf8]
and eax, 0xfffff
mov dword [esp + 0x34], eax
xor eax, eax
test cx, cx
mov word [esp + 0x24], cx
push 1
setne al
push 1
push 1
push 1
lea eax, [eax*8 + 0x34]
push eax
mov dword [esp + 0x28], eax
call fcn.100aec90
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1009aaf6
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x14]
test al, 2
je 0x1009a53e
mov eax, 0xcc
jmp 0x1009a547
test al, 1
jne 0x1009a54f
mov eax, 0xe8
sub eax, edx
and eax, 0xfffffffc
add dword [ecx + 8], eax
push ecx
mov dword [ecx + 0xc], edx
mov dword [ecx], ebp
call fcn.100a5880
mov ebp, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x20], ecx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x80], xmm0
test esi, esi
jne 0x1009a5e6
xorps xmm0, xmm0
mov dword [esp + 0x8c], esi
movlpd qword [esp + 0xac], xmm0
lea ecx, [esp + 0x8c]
movups xmm0, xmmword [eax]
mov dword [esp + 0xb4], esi
mov dword [esp + 0x10], ecx
movups xmmword [esp + 0x90], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], eax
jmp 0x1009a5ed
lea eax, [esi + 0x70]
mov dword [esp + 0x10], eax
test bl, bl
jne 0x1009a603
mov eax, dword [esp + 0x1c]
push dword [eax + 0x1c]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, eax
shr ebx, 0x14
and bl, 0xfc
cmp dword [esp + 0xe4], 0
je 0x1009a625
test edi, edi
je 0x1009a621
cmp byte [edi + 0x4bb], 1
jne 0x1009a621
mov al, 2
jmp 0x1009a623
xor al, al
or bl, al
movzx eax, bl
or eax, 0x600
shl eax, 0x14
or eax, dword [esp + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x14]
mov edx, 0x84
cmp word [esp + 0x24], 0
mov dword [ecx], eax
mov eax, 0x11
cmove eax, edx
mov byte [ecx + 6], al
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov word [ecx + 4], ax
mov eax, 0x17
movups xmm0, xmmword [esp + 0x78]
movups xmmword [ecx + 0x18], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], 0
mov word [esp + 0x40], ax
test esi, esi
je 0x1009a7fd
test edx, edx
jne 0x1009a7fd
mov eax, dword [esi + 0x90]
test eax, eax
je 0x1009a6f8
test byte [eax + 0x3c], 0xa
je 0x1009a6f8
push eax
call fcn.100b3b00
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x90], 0
mov byte [esi + 0x1b7], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x1009a6fc
mov eax, dword [ecx + 0xc]
lea edx, [eax - 1]
mov dword [ecx + 0xc], edx
cmp eax, 1
jg 0x1009a6f0
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebx], 0
jmp 0x1009a6fc
mov ebx, dword [esp + 0x10]
cmp byte [esi + 0x1b7], 0
jne 0x1009a727
push dword [esp + 0x30]
push 0
push esi
push ebx
push edi
push dword [esp + 0x30]
call fcn.100a43a0
add esp, 0x18
mov dword [esi + 0x90], eax
mov byte [esi + 0x1b7], 1
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x1009a775
test byte [0x1014bac8], 0x40
je 0x1009a74d
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x1009a74d
push str.V6:No_route_to_host_n
call eax
add esp, 4
mov byte [esi + 0x1b7], 0
push dword [esp + 0x100]
push esi
push edi
call fcn.10097b60
push ebp
call fcn.10092e80
add esp, 0x10
mov eax, 0x6e
jmp 0x1009b012
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp dword [ebx], 0
mov eax, dword [esp + 0x1c]
mov ax, word [eax + 0x3a]
mov word [esp + 0x42], ax
je 0x1009a754
cmp word [esp + 0x24], 0
movups xmm0, xmmword [esp + 0x48]
movups xmmword [ecx + 8], xmm0
je 0x1009a899
movzx eax, word [0x1014baac]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push eax
call ebx
test ax, ax
je 0x1009a754
movzx eax, word [0x1014baac]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x28], ax
mov ax, word [esp + 0x24]
mov word [ecx + 0x2a], ax
mov eax, dword [esp + 0x18]
add eax, 0xffffffd8
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x2c], ax
lea ebx, [ecx + 0x30]
xor eax, eax
mov word [ecx + 0x2e], ax
jmp 0x1009a89c
mov eax, dword [esp + 0xfc]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x1009a83f
push dword [esp + 0x30]
push edx
push esi
push ebx
push edi
push dword [esp + 0x30]
call fcn.100a43a0
add esp, 0x18
test eax, eax
je 0x1009a754
movups xmm0, xmmword [eax + 0x20]
push eax
movups xmmword [esp + 0x4c], xmm0
call fcn.100b3b00
add esp, 4
jmp 0x1009a782
movups xmm0, xmmword [eax + 8]
mov eax, dword [ebx]
movups xmmword [esp + 0x48], xmm0
test eax, eax
je 0x1009a856
inc dword [eax + 0xc]
jmp 0x1009a786
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
test ecx, ecx
je 0x1009a77e
mov ebx, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [eax]
mov dword [eax + 0xc], 1
mov eax, dword [ebx]
mov dword [eax + 8], 0x5dc
jmp 0x1009a782
lea ebx, [ecx + 0x28]
mov ax, word [esp + 0xec]
mov word [ebx], ax
mov ax, word [esp + 0xf0]
mov word [ebx + 2], ax
mov eax, dword [esp + 0xf4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
movups xmm0, xmmword [ecx + 0x18]
mov byte [ecx + 7], 0x80
mov eax, dword [0x1014bb1c]
movups xmmword [esp + 0x78], xmm0
movups xmm0, xmmword [ecx + 8]
mov ecx, dword [0x1014bac8]
movups xmmword [esp + 0x48], xmm0
test cl, 0x40
je 0x1009a969
test eax, eax
je 0x1009a903
push str.Calling_ipv6_output_routine_from_low_level_n
call eax
mov eax, dword [0x1014bb1c]
add esp, 4
mov ecx, dword [0x1014bac8]
test cl, 0x40
je 0x1009a969
test eax, eax
je 0x1009a921
push str.src:
call eax
mov eax, dword [0x1014bb1c]
add esp, 4
mov ecx, dword [0x1014bac8]
test cl, 0x40
je 0x1009a969
lea eax, [esp + 0x40]
push eax
call fcn.100a8f50
mov ecx, dword [0x1014bac8]
add esp, 4
mov eax, dword [0x1014bb1c]
test cl, 0x40
je 0x1009a969
test eax, eax
je 0x1009a957
push str.dst:
call eax
mov ecx, dword [0x1014bac8]
add esp, 4
test cl, 0x40
je 0x1009a969
lea eax, [esp + 0x70]
push eax
call fcn.100a8f50
add esp, 4
test esi, esi
je 0x1009a986
mov ecx, dword [esi + 0x8c]
lea eax, [esi + 0x74]
mov dword [esp + 0x20], eax
movzx eax, word [eax + 2]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
cmp word [esp + 0x24], 0
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x20], eax
je 0x1009a999
push 0x30
jmp 0x1009a9b8
cmp dword [0x1014b9dc], 0
je 0x1009a9b6
test edi, edi
je 0x1009a9b6
cmp byte [edi + 0x4c9], 0
je 0x1009a9b6
mov ecx, 0x1014b7e4
jmp 0x1009a9c9
push 0x28
push ebp
call fcn.100c0b10
mov ecx, 0x1014b7e0
mov dword [ebx + 8], eax
add esp, 8
mov ebx, 1
mov eax, ebx
lock xadd dword [ecx], eax
push dword [esp + 0x30]
lea eax, [esp + 0x2c]
push edi
push dword [esp + 0x18]
push ebp
push eax
call fcn.10084610
add esp, 0x14
test esi, esi
je 0x1009aa02
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov word [eax + 2], cx
test byte [0x1014bac8], 0x40
je 0x1009aa22
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x1009aa22
push dword [esp + 0x28]
push str.return_from_send_is__d_n
call eax
add esp, 8
mov eax, ebx
mov ecx, 0x1014b7b4
lock xadd dword [ecx], eax
mov eax, ebx
mov ecx, 0x1014b760
lock xadd dword [ecx], eax
cmp dword [esp + 0x28], 0
je 0x1009aa48
mov eax, 0x1014b7d8
lock xadd dword [eax], ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx]
test esi, esi
jne 0x1009aa7d
test ecx, ecx
je 0x1009b00e
mov eax, dword [ecx + 0xc]
lea edx, [eax - 1]
mov dword [ecx + 0xc], edx
cmp eax, 1
jg 0x1009aa72
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebx], 0
jmp 0x1009b00e
test ecx, ecx
jne 0x1009aab7
mov eax, dword [esi + 0x90]
test eax, eax
je 0x1009aaa6
cmp byte [esi + 0x1b7], cl
je 0x1009aaa6
push eax
call fcn.100b3b00
add esp, 4
mov dword [esi + 0x90], 0
mov byte [esi + 0x1b7], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x1009b00e
cmp dword [esi + 0x90], 0
jmp 0x1009af9a
xor eax, eax
cmp word [esp + 0xf8], ax
push 1
setne al
push 1
push 1
push 1
lea eax, [eax*8 + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.100aec90
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1009ab09
push ebp
call fcn.10092e80
add esp, 4
mov eax, 0xc
jmp 0x1009b012
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x18]
test al, 2
je 0x1009ab1b
mov eax, 0xcc
jmp 0x1009ab24
test al, 1
jne 0x1009ab2c
mov eax, 0xe8
sub eax, edx
and eax, 0xfffffffc
add dword [ecx + 8], eax
push ecx
mov dword [ecx + 0xc], edx
mov dword [ecx], ebp
call fcn.100a5880
mov dword [esp + 0x24], eax
add esp, 4
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 8]
mov dword [esp + 0x34], ebp
mov byte [ebp], 0x45
test bl, bl
jne 0x1009ab58
mov eax, dword [esp + 0x1c]
mov bl, byte [eax + 0x64]
and bl, 0xfc
cmp dword [esp + 0xe4], 0
je 0x1009ab7a
test edi, edi
je 0x1009ab76
cmp byte [edi + 0x4bb], 1
jne 0x1009ab76
mov al, 2
jmp 0x1009ab78
xor al, al
or bl, al
cmp dword [esp + 0xe0], 0
mov eax, dword [sym.imp.WS2_32.dll_htons]
mov dword [esp + 0x24], eax
je 0x1009aba4
cmp word [esp + 0xf8], 0
jne 0x1009aba4
push 0x4000
call eax
movzx eax, ax
jmp 0x1009aba6
xor eax, eax
mov word [ebp + 6], ax
movzx ecx, word [0x1014a960]
push ecx
lea eax, [ecx + 1]
mov word [0x1014a960], ax
call dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ecx, 0x84
cmp word [esp + 0xf8], 0
mov word [ebp + 4], ax
mov al, byte [edx + 0x25]
mov byte [ebp + 8], al
mov eax, dword [esp + 0x20]
movzx eax, ax
mov word [ebp + 2], ax
mov eax, 0x11
mov byte [ebp + 1], bl
cmove eax, ecx
mov ebx, dword [esp + 0x34]
mov byte [ebx + 9], al
lea ecx, [ebx + 0x10]
xor eax, eax
mov dword [esp + 0x18], ecx
mov word [ebx + 0xa], ax
test esi, esi
jne 0x1009ac62
mov dword [esp + 0x5c], eax
lea ebp, [esp + 0x5c]
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 4]
movups xmmword [esp + 0x60], xmm0
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xfc]
test eax, eax
jne 0x1009ad35
push dword [esp + 0x30]
push ecx
push esi
push ebp
push edi
push edx
call fcn.100a43a0
add esp, 0x18
test eax, eax
je 0x1009ad02
mov ecx, dword [eax + 0x1c]
push eax
mov dword [ebx + 0xc], ecx
call fcn.100b3b00
add esp, 4
jmp 0x1009ad7a
mov eax, dword [esp + 0x10]
lea ebp, [esi + 0x70]
mov eax, dword [eax + 4]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x1009ac26
mov eax, dword [esi + 0x90]
test eax, eax
je 0x1009acca
test byte [eax + 0x3c], 0xa
je 0x1009acca
push eax
call fcn.100b3b00
mov dword [esi + 0x90], 0
add esp, 4
mov byte [esi + 0x1b7], 0
mov ecx, dword [ebp]
test ecx, ecx
je 0x1009acc6
mov eax, dword [ecx + 0xc]
lea edx, [eax - 1]
mov dword [ecx + 0xc], edx
cmp eax, 1
jg 0x1009acbf
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp], 0
mov edx, dword [esp + 0x1c]
cmp byte [esi + 0x1b7], 0
jne 0x1009acf2
push dword [esp + 0x30]
push 0
push esi
push ebp
push edi
push edx
call fcn.100a43a0
add esp, 0x18
mov dword [esi + 0x90], eax
mov byte [esi + 0x1b7], 1
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x1009ad26
mov byte [esi + 0x1b7], al
push dword [esp + 0x100]
push esi
push edi
call fcn.10097b60
push dword [esp + 0x20]
call fcn.10092e80
add esp, 0x10
mov eax, 0x6e
jmp 0x1009b012
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x18], eax
jmp 0x1009ad7a
mov eax, dword [eax + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp]
test eax, eax
je 0x1009ad47
inc dword [eax + 0xc]
jmp 0x1009ad7a
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x1009ad7a
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [ebp]
mov dword [eax + 0xc], 1
mov eax, dword [ebp]
mov dword [eax + 8], 0x5dc
cmp word [esp + 0xf8], 0
je 0x1009add4
movzx eax, word [0x1014baac]
push eax
call dword [esp + 0x28]
test ax, ax
je 0x1009ad02
movzx eax, word [0x1014baac]
push eax
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov word [ebx + 0x14], ax
mov ax, word [esp + 0xf8]
mov word [ebx + 0x16], ax
movzx eax, cx
add eax, 0xffffffec
push eax
call dword [esp + 0x28]
mov word [ebx + 0x18], ax
lea ecx, [ebx + 0x1c]
xor eax, eax
mov word [ebx + 0x1a], ax
jmp 0x1009add7
lea ecx, [ebx + 0x14]
mov ax, word [esp + 0xec]
mov word [ecx], ax
mov ax, word [esp + 0xf0]
mov word [ecx + 2], ax
mov eax, dword [esp + 0xf4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
cmp dword [ebp], 0
mov dword [esp + 0x2c], ecx
je 0x1009ad02
lea eax, [esp + 0x5c]
cmp ebp, eax
je 0x1009ae25
movups xmm0, xmmword [ebp]
movups xmmword [esp + 0x5c], xmm0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [0x1014bac8]
mov edx, dword [sym.imp.WS2_32.dll_ntohl]
mov eax, dword [0x1014bb1c]
test cl, 0x40
je 0x1009aea5
test eax, eax
je 0x1009ae64
push dword [ebx + 0xc]
call edx
push eax
push str.Calling_ipv4_output_routine_from_low_level_src_addr:_x_n
call dword [0x1014bb1c]
mov eax, dword [0x1014bb1c]
add esp, 8
mov ecx, dword [0x1014bac8]
mov edx, dword [sym.imp.WS2_32.dll_ntohl]
test cl, 0x40
je 0x1009aea5
test eax, eax
je 0x1009ae8f
mov eax, dword [esp + 0x18]
push dword [eax]
call edx
push eax
push str.Destination_is__x_n
call dword [0x1014bb1c]
mov eax, dword [0x1014bb1c]
add esp, 8
mov ecx, dword [0x1014bac8]
test cl, 0x40
je 0x1009aea5
test eax, eax
je 0x1009aea5
push dword [ebp]
push str.RTP_route_is__p_through_n
call eax
add esp, 8
cmp word [esp + 0xf8], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x20], ecx
je 0x1009aebf
push 0x1c
jmp 0x1009aede
cmp dword [0x1014b9dc], 0
je 0x1009aedc
test edi, edi
je 0x1009aedc
cmp byte [edi + 0x4c9], 0
je 0x1009aedc
mov ecx, 0x1014b7e4
jmp 0x1009aef3
push 0x14
push eax
call fcn.100c0b10
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [ecx + 8], eax
mov ecx, 0x1014b7e0
mov ebx, 1
mov eax, ebx
lock xadd dword [ecx], eax
push dword [esp + 0x30]
lea eax, [esp + 0x2c]
push edi
push ebp
push dword [esp + 0x20]
push eax
call fcn.100847f0
add esp, 0x14
mov eax, ebx
mov ecx, 0x1014b7b4
lock xadd dword [ecx], eax
mov eax, ebx
mov ecx, 0x1014b760
lock xadd dword [ecx], eax
cmp dword [esp + 0x28], 0
je 0x1009af3b
mov eax, 0x1014b7d8
lock xadd dword [eax], ebx
test byte [0x1014bac8], 0x40
je 0x1009af5b
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x1009af5b
push dword [esp + 0x28]
push str.IP_output_returns__d_n
call eax
add esp, 8
mov ecx, dword [ebp]
test esi, esi
jne 0x1009af8e
test ecx, ecx
je 0x1009b00e
mov eax, dword [ecx + 0xc]
lea edx, [eax - 1]
mov dword [ecx + 0xc], edx
cmp eax, 1
jg 0x1009af82
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp], 0
jmp 0x1009b00e
mov eax, dword [esi + 0x90]
test ecx, ecx
je 0x1009afe7
test eax, eax
je 0x1009b00e
test byte [esi + 0x1a8], 2
jne 0x1009b00e
mov eax, dword [ecx + 8]
test eax, eax
je 0x1009b00e
cmp word [esi + 0x1b0], 0
lea ebx, [eax - 8]
cmove ebx, eax
cmp ebx, dword [esi + 0x94]
jae 0x1009b00e
test edi, edi
je 0x1009afdf
cmp dword [edi + 0x2e8], ebx
jbe 0x1009afdf
push ebx
lea eax, [edi + 0x30]
push eax
push dword [esp + 0x24]
call fcn.100a7e80
add esp, 0xc
mov dword [esi + 0x94], ebx
jmp 0x1009b00e
test eax, eax
je 0x1009b007
cmp byte [esi + 0x1b7], 0
je 0x1009b007
push eax
call fcn.100b3b00
add esp, 4
mov dword [esi + 0x90], 0
mov byte [esi + 0x1b7], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f06e3
add esp, 0xac
ret