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

Disassembly:
mov eax, dword [0x1014bac8]
mov edx, dword [esp + 0x18]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
test eax, 0x100000
je 0x100afa56
mov ecx, dword [0x1014bb1c]
test ecx, ecx
je 0x100afa51
push edx
push str.Adding_an_address__from:_d__to_the_peer:
call ecx
mov eax, dword [0x1014bac8]
add esp, 8
test eax, 0x100000
mov ebx, dword [esp + 0x14]
je 0x100afa65
push ebx
call fcn.100a8f50
add esp, 4
mov esi, dword [edi + 0x1c4]
test esi, esi
je 0x100afa87
nop
lea eax, [esi + 0x74]
push eax
push ebx
call fcn.100a5af0
add esp, 8
test eax, eax
jne 0x100afab4
mov esi, dword [esi]
test esi, esi
jne 0x100afa70
movzx eax, word [ebx]
push ebp
mov ebp, 1
sub eax, 2
je 0x100afb9e
sub eax, 0x15
je 0x100afad4
sub eax, 0x64
jne 0x100afaac
cmp dword [ebx + 4], eax
jne 0x100afc0c
pop ebp
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
mov ax, word [esi + 0x1a8]
mov ecx, 0x200
and ax, cx
or ax, 1
pop edi
mov word [esi + 0x1a8], ax
xor eax, eax
pop esi
pop ebx
ret
lea esi, [ebx + 8]
push esi
call fcn.10086ab0
add esp, 4
test al, al
jne 0x100afaac
cmp dword [esp + 0x24], 0
je 0x100afb4a
push dword [edi + 0x2b8]
push ebx
call fcn.100b53e0
add esp, 8
test eax, eax
je 0x100afb0d
mov dword [edi + 0x4c9], 0x1000101
jmp 0x100afc0c
push esi
call fcn.10086a70
add esp, 4
test al, al
je 0x100afb2d
mov byte [edi + 0x4ca], 1
mov byte [edi + 0x4cc], 1
jmp 0x100afc0c
push esi
call fcn.10086a90
add esp, 4
test al, al
je 0x100afc0c
mov byte [edi + 0x4cc], 1
jmp 0x100afc0c
push esi
call fcn.10093b80
add esp, 4
test al, al
je 0x100afb67
cmp byte [edi + 0x4c9], 0
jne 0x100afb67
xor ebp, ebp
jmp 0x100afc0c
push esi
call fcn.10086a70
add esp, 4
test al, al
je 0x100afb84
cmp byte [edi + 0x4cb], 0
jne 0x100afb84
xor ebp, ebp
jmp 0x100afc0c
push esi
call fcn.10086a90
add esp, 4
test al, al
je 0x100afc0c
cmp byte [edi + 0x4cc], 0
jne 0x100afc0c
xor ebp, ebp
jmp 0x100afc0c
cmp dword [ebx + 4], 0
je 0x100afaac
cmp dword [esp + 0x24], 0
xorps xmm0, xmm0
movq qword [ebx + 8], xmm0
mov al, byte [ebx + 4]
je 0x100afbe2
cmp al, 0xa
je 0x100afbd9
cmp al, 0xac
jne 0x100afbcf
mov al, byte [ebx + 5]
cmp al, 0x10
jb 0x100afc0c
cmp al, 0x20
jbe 0x100afbd9
jmp 0x100afc0c
cmp al, 0xc0
jne 0x100afc0c
cmp byte [ebx + 5], 0xa8
jne 0x100afc0c
mov byte [edi + 0x4ca], 1
jmp 0x100afc0c
cmp al, 0xa
je 0x100afc01
cmp al, 0xac
jne 0x100afbf7
mov al, byte [ebx + 5]
cmp al, 0x10
jb 0x100afc0c
cmp al, 0x20
jbe 0x100afc01
jmp 0x100afc0c
cmp al, 0xc0
jne 0x100afc0c
cmp byte [ebx + 5], 0xa8
jne 0x100afc0c
xor eax, eax
cmp byte [edi + 0x4ca], al
cmove ebp, eax
push dword [0x1014b5c0]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x18], eax
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x100afaac
mov ecx, 1
mov eax, 0x1014b634
lock xadd dword [eax], ecx
push 0x1c8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0x194]
push eax
call fcn.100c0d10
movzx eax, word [ebx]
add esp, 0x10
sub eax, 2
je 0x100afc92
sub eax, 0x15
je 0x100afc73
sub eax, 0x64
jne 0x100afca4
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ecx
jmp 0x100afc99
movups xmm0, xmmword [ebx]
movups xmmword [esi + 0x74], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [esi + 0x84], xmm0
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x8c], eax
jmp 0x100afc99
movups xmm0, xmmword [ebx]
movups xmmword [esi + 0x74], xmm0
mov ax, word [edi + 0x580]
mov word [esi + 0x76], ax
push 0
push dword [edi + 0x2b8]
push ebx
call fcn.100a5fe0
add esp, 0xc
test eax, eax
je 0x100afcdf
cmp dword [esp + 0x24], 0
mov byte [esi + 0x1b9], 1
jne 0x100afcce
cmp dword [esp + 0x28], 8
jne 0x100afce6
mov dword [edi + 0x4c9], 0x1000101
mov ebp, 1
jmp 0x100afce6
mov byte [esi + 0x1b9], 0
movzx eax, word [edi + 0x48c]
test ebp, ebp
mov ebp, dword [esp + 0x28]
mov word [esi + 0x1aa], ax
movzx eax, word [edi + 0x48e]
mov word [esi + 0x1ac], ax
jne 0x100afd11
mov eax, 0x81
jmp 0x100afd20
mov eax, 1
cmp ebp, 8
je 0x100afd20
mov eax, 0x201
mov word [esi + 0x1a8], ax
mov byte [esi + 0x1c1], 1
mov dword [esi + 0xc0], 0
mov byte [esi + 0x1be], 0
inc dword [edi + 0x39c]
movzx ecx, word [esi + 0x1a8]
mov dword [esi + 0x150], 1
mov eax, dword [edi + 0x2f4]
dec eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov ax, word [esp + 0x20]
mov word [esi + 0x1b0], ax
mov al, byte [edi + 0x4b8]
mov byte [esi + 0x190], al
mov eax, dword [edi + 0x368]
mov dword [esi + 0x18c], eax
mov eax, dword [edi + 0x4f0]
and eax, 4
or eax, 0
je 0x100afda3
or ecx, 4
movzx ecx, cx
jmp 0x100afda9
and ecx, 0xfffb
mov word [esi + 0x1a8], cx
mov eax, dword [edi + 0x4f0]
and eax, 1
or eax, 0
je 0x100afdc6
or ecx, 2
movzx ecx, cx
jmp 0x100afdcc
and ecx, 0xfffd
mov word [esi + 0x1a8], cx
mov eax, dword [edi + 0x3b0]
mov dword [esi + 0x1a4], eax
lea eax, [esi + 0xc4]
push eax
call fcn.10093890
lea eax, [esi + 8]
push eax
call fcn.10093890
lea eax, [esi + 0x3c]
push eax
call fcn.10093890
mov eax, dword [esi + 0x70]
add esp, 0xc
test eax, eax
je 0x100afe0c
inc dword [eax + 0xc]
jmp 0x100afe3d
push 0x14
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x70], eax
test eax, eax
je 0x100afe3d
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [esi + 0x70]
mov dword [eax + 0xc], 1
mov eax, dword [esi + 0x70]
mov dword [eax + 8], 0x5dc
mov ecx, dword [esi + 0x94]
mov eax, ecx
mov byte [esi + 0x1b7], 0
test ecx, ecx
jne 0x100afed9
mov eax, dword [edi + 0x474]
test eax, eax
je 0x100afea3
movzx edx, word [esi + 0x74]
mov ecx, eax
mov dword [esi + 0x94], eax
sub edx, 2
je 0x100afe83
sub edx, 0x15
je 0x100afe7e
sub edx, 0x64
jne 0x100afe8e
add eax, 0xc
jmp 0x100afe86
add eax, 0x34
jmp 0x100afe86
add eax, 0x20
mov dword [esi + 0x94], eax
mov ecx, eax
cmp word [esi + 0x1b0], 0
je 0x100afeee
add eax, 8
mov dword [esi + 0x94], eax
jmp 0x100afed7
movzx edx, word [ebx]
xor eax, eax
sub edx, 2
je 0x100afec8
sub edx, 0x15
je 0x100afeb7
sub edx, 0x64
jne 0x100afed9
mov dword [esi + 0x94], 0x500
mov eax, 0x500
jmp 0x100afed7
mov dword [esi + 0x94], 0x5dc
mov eax, 0x5dc
mov ecx, eax
cmp word [esi + 0x1b0], 0
je 0x100afeee
add eax, 0xfffffff8
mov dword [esi + 0x94], eax
mov ecx, eax
cmp ebp, 1
jne 0x100aff01
mov dword [edi + 0x2e8], eax
mov ecx, dword [esi + 0x94]
jmp 0x100aff07
mov eax, dword [edi + 0x2e8]
cmp eax, ecx
jbe 0x100aff15
push ecx
push edi
call fcn.1008bd40
add esp, 8
mov eax, dword [edi + 0x248]
test eax, eax
je 0x100aff26
push esi
push edi
call eax
add esp, 8
mov eax, dword [esp + 0x1c]
mov word [esi + 0x1ba], 0x101
test eax, eax
je 0x100aff39
mov dword [eax], esi
mov edx, dword [esi + 0x70]
lea ebp, [edi + 0x1c4]
mov ecx, dword [ebp]
test edx, edx
je 0x100affaf
test ecx, ecx
jne 0x100aff5d
mov dword [esi], ecx
mov dword [edi + 0x1c8], esi
mov dword [ebp], esi
mov dword [esi + 4], ebp
jmp 0x100affcc
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x100aff70
mov ebp, dword [edx]
cmp ebp, dword [eax]
je 0x100aff80
lea ebp, [edi + 0x1c4]
mov dword [esi], ecx
mov eax, dword [ebp]
mov dword [eax + 4], esi
mov dword [ebp], esi
mov dword [esi + 4], ebp
jmp 0x100affcc
mov eax, dword [ecx]
test eax, eax
je 0x100affa9
nop word [eax + eax]
mov edx, dword [eax + 0x70]
test edx, edx
je 0x100b0048
mov ebx, dword [eax]
cmp dword [edx], ebp
jne 0x100b001f
mov ecx, eax
mov eax, ebx
test eax, eax
jne 0x100aff90
lea ebp, [edi + 0x1c4]
mov dword [esi], 0
mov eax, dword [edi + 0x1c8]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x1c8]
mov dword [eax], esi
mov dword [edi + 0x1c8], esi
mov ecx, dword [edi + 0x224]
test ecx, ecx
je 0x100afff2
cmp dword [ecx + 0x70], 0
mov eax, ecx
jne 0x100afffa
cmp dword [esi + 0x70], 0
je 0x100afffa
mov ecx, 0x200
test word [esi + 0x1a8], cx
jne 0x100afffa
mov eax, esi
mov dword [edi + 0x224], esi
cmp dword [ebp], eax
je 0x100b00ab
test eax, eax
je 0x100b00ab
mov edx, dword [eax]
mov ecx, dword [eax + 4]
test edx, edx
je 0x100b0063
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x224]
jmp 0x100b0069
mov dword [esi], ebx
test ebx, ebx
je 0x100b0035
mov dword [ebx + 4], esi
lea ebp, [edi + 0x1c4]
mov dword [eax], esi
mov dword [esi + 4], eax
jmp 0x100affcc
mov dword [edi + 0x1c8], esi
lea ebp, [edi + 0x1c4]
mov dword [eax], esi
mov dword [esi + 4], eax
jmp 0x100affcc
mov eax, dword [ecx + 4]
lea ebp, [edi + 0x1c4]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov eax, dword [ecx + 4]
mov dword [eax], esi
mov dword [ecx + 4], esi
jmp 0x100affcc
mov dword [edi + 0x1c8], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [edi + 0x224]
mov eax, dword [ebp]
mov dword [ecx], eax
mov ecx, dword [edi + 0x224]
cmp dword [ecx], 0
je 0x100b009f
mov eax, dword [ebp]
mov dword [eax + 4], ecx
xor eax, eax
mov ecx, dword [edi + 0x224]
mov dword [ebp], ecx
mov dword [ecx + 4], ebp
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [edi + 0x1c8], ecx
mov dword [ebp], ecx
mov dword [ecx + 4], ebp
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret