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

Disassembly:
push rbx
push rsi
sub rsp, 0x28
cmp byte [rdx + 0x38], 0
mov rbx, rdx
mov rsi, rcx
jne 0x14002ee0b
mov eax, dword [rdx + 0x1ac]
mov byte [rdx + 0x38], 1
add dword [rcx + 0x88], eax
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov dword [rdx + 0x1ac], r15d
cmp qword [rcx + 0xa0], rdx
jne 0x14002ea96
mov qword [rcx + 0xa0], r15
cmp qword [rcx + 0xa8], rbx
jne 0x14002eaa6
mov qword [rcx + 0xa8], r15
mov qword [rsp + 0x48], rdi
test r8b, r8b
jne 0x14002ed26
cmp byte [rdx + 0x198], r15b
je 0x14002ead2
mov rcx, qword [rcx + 0x10]
add rdx, 0x58
call fcn.14002d5a0
test al, al
je 0x14002ee24
cmp byte [rbx + 0x199], r15b
je 0x14002eaf0
mov rcx, qword [rsi + 0x20]
lea rdx, [rbx + 0x58]
call fcn.14002d5a0
test al, al
je 0x14002ee3d
cmp byte [rbx + 0x19a], r15b
je 0x14002eb14
mov rcx, qword [rsi + 0x90]
lea rdx, [rbx + 0x1260]
call fcn.14002d5a0
test al, al
je 0x14002ee56
mov rax, qword [rbx + 0xfa0]
mov ecx, dword [rax + 0x3c8]
cmp ecx, 0xffffff
je 0x14002eb31
mov rax, qword [rsi + 8]
mov qword [rax + rcx*8], r15
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
mov qword [rcx], r15
call fcn.1400607b0
mov rdx, qword [rsi + 0x40]
movsxd rax, dword [rbx + 0x70]
test rdx, rdx
je 0x14002eb6f
test eax, eax
js 0x14002eb6f
cmp eax, dword [rdx + 0x24]
jge 0x14002eb6f
mov rcx, rax
mov rax, qword [0x1400c7890]
shl rcx, 5
add rcx, qword [rdx + 0x28]
mov byte [rcx], r15b
mov qword [rcx + 0x10], rax
cmp byte [rbx + 0x1a8], r15b
je 0x14002ec3a
mov rax, qword [rbx + 0xd08]
test rax, rax
je 0x14002ec33
cmp dword [rax], 2
jne 0x14002ec33
mov rdi, qword [rbx + 0x6e8]
test rdi, rdi
je 0x14002ebb6
mov edx, dword [rdi + 4]
mov rcx, qword [rsi + 0x50]
call fcn.14002b1f0
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14002eba1
mov r10, qword [rbx + 0x6f0]
test r10, r10
je 0x14002ec33
movsxd rax, dword [r10 + 0x10]
mov r9, qword [rsi + 0x50]
test eax, eax
js 0x14002ec2a
cmp eax, 0x81
jge 0x14002eea1
inc dword [r9]
lea rcx, [r9 + rax*4]
mov eax, dword [rcx + 0x90]
sub eax, 1
mov dword [rcx + 0x90], eax
js 0x14002ee88
test eax, eax
jne 0x14002ec2a
mov r8d, r15d
lea rdx, [r9 + 0xc]
mov eax, 0x80
lea rcx, [r9 + 0x290]
nop dword [rax]
cmp dword [rcx], r15d
jle 0x14002ec1d
inc r8d
mov byte [rdx], al
inc rdx
sub rcx, 4
sub eax, 1
jns 0x14002ec10
mov dword [r9 + 8], r8d
mov r10, qword [r10 + 0x18]
test r10, r10
jne 0x14002ebc2
mov byte [rbx + 0x1a8], r15b
mov rdi, qword [rsi + 0x38]
mov qword [rsp + 0x50], r14
test rdi, rdi
je 0x14002ec71
mov rdx, qword [rbx + 0xdd0]
test rdx, rdx
je 0x14002ec6d
cmp byte [rbx + 0x180], r15b
je 0x14002ec6d
mov rax, qword [rdi]
add rdx, 0x150
mov rcx, rax
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rdi + 0x10], r15d
mov r14, qword [rsi + 0x30]
test r14, r14
je 0x14002ed21
mov qword [rsp + 0x40], rbp
mov ebp, r15d
cmp dword [r14 + 4], r15d
jle 0x14002ed1c
mov esi, dword [r14]
mov eax, dword [r14 + 8]
add esi, ebp
dec eax
and rsi, rax
shl rsi, 4
add rsi, qword [r14 + 0x10]
cmp qword [rsi + 8], rbx
jne 0x14002ed10
mov rdi, qword [rsi]
test rdi, rdi
je 0x14002ece1
dec dword [rdi + 0x18]
cmp dword [rdi + 0x18], r15d
jg 0x14002ece1
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14002eccc
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov rcx, rdi
mov qword [rdi + 0x10], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [0x1400cfe94], 4
mov qword [rsi], r15
mov qword [rsi + 8], r15
jb 0x14002ed10
mov ecx, 0x36000004
call fcn.14000e3d0
test al, al
je 0x14002ed10
lea rdx, str.MBUF:_dereferenced_queued_packet
mov ecx, 0x36000004
call fcn.14000e000
inc ebp
cmp ebp, dword [r14 + 4]
jl 0x14002ec90
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rbx + 0x1a0]
test rdi, rdi
je 0x14002ed43
mov rcx, rdi
call fcn.140003c30
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbx + 0xfa0]
mov qword [rbx + 0x1a0], r15
cmp dword [rax + 0x378], r15d
jne 0x14002ed62
mov rcx, rbx
call fcn.14002e790
lea rdi, [rbx + 0x1b0]
test rdi, rdi
je 0x14002ee6f
mov rax, qword [rdi + 0x968]
test rax, rax
je 0x14002eeba
mov dword [rax], reloc.WS2_32.dll_ntohs
mov rax, qword [rdi + 0x968]
mov ecx, dword [rax]
cmp ecx, 0xa
jne 0x14002eda0
mov rax, qword [rdi + 0x968]
mov ecx, dword [rax + 4]
mov rcx, rdi
call fcn.14001f630
lea rcx, [rdi + 0xbf8]
call fcn.140001010
mov rcx, rdi
call fcn.140001010
lea rcx, [rdi + 0x948]
call fcn.140001010
mov rcx, qword [rbx + 0x178]
call fcn.140028a70
mov byte [rbx + 0x74], r15b
dec dword [rbx + 0x3c]
mov qword [0x1400cfe80], r15
cmp dword [rbx + 0x3c], r15d
jg 0x14002edfa
lea rcx, [rbx + 0x28]
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
lea r8, str._mi__halt
mov edx, 0x262
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpnmulti.c
call fcn.14000e4c0
int3
lea r8, str.hash_remove_m__hash__mi__real_
mov edx, 0x27a
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpnmulti.c
call fcn.14000e4c0
int3
lea r8, str.hash_remove_m__iter__mi__real_
mov edx, 0x27e
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpnmulti.c
call fcn.14000e4c0
int3
lea r8, str.hash_remove_m__cid_hash__mi__context.c2.mda_context.cid_
mov edx, 0x283
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpnmulti.c
call fcn.14000e4c0
int3
lea r8, [0x14009ca48]
mov edx, 0x1236
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpninit.c
call fcn.14000e4c0
int3
lea r8, str.mh__net_len_refcount_netbits____0
mov edx, 0x25b
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpnmroute.c
call fcn.14000e4c0
int3
lea r8, str.netbits___MR_HELPER_NET_LEN
mov edx, 0x258
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpnmroute.c
call fcn.14000e4c0
int3
lea r8, str.c__sig
mov edx, 0x1237
lea rcx, str.C:Users_vagrant_buildopenvpn_srcopenvpninit.c
call fcn.14000e4c0
int3