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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x40
lea rbx, [rcx + 0x30f8]
mov rsi, rcx
mov rcx, rbx
call section..text
xor r14d, r14d
mov r11d, eax
test eax, eax
jne 0x140033f47
lea edi, [rax + 1]
cmp dword [rbx], r14d
jne 0x140033f4a
mov edi, r14d
mov eax, dword [rsi + 0xe8]
add eax, 0x3fffffff
mov dword [rsi + 0x10c], eax
test edi, edi
je 0x140033f67
mov eax, dword [rbx]
mov dword [rsi + 0x3aa0], eax
cmp qword [rsi + 0x3a88], r14
je 0x140033fc5
test r11d, r11d
je 0x140033fc5
cmp qword [rsi + 0x3aa8], r14
jne 0x140033ff5
movzx edx, word [0x1400506c0]
mov rcx, rsi
call fcn.140027d90
mov qword [rsi + 0x3aa8], rax
test rax, rax
jne 0x140033fb9
cmp dword [reloc.WS2_32.dll_accept], r14d
je 0x140033ff5
lea rdx, str.CheckNATMappings:_Failed_to_allocate_port_5350_UDP_multicast_socket_for_NAT_PMP_announcements
xor ecx, ecx
call fcn.140025be0
mov dword [reloc.WS2_32.dll_accept], r14d
jmp 0x140033ff5
mov dword [reloc.WS2_32.dll_accept], 1
jmp 0x140033ff5
mov rcx, qword [rsi + 0x3aa8]
test rcx, rcx
je 0x140033fdd
call fcn.140027f50
mov qword [rsi + 0x3aa8], r14
mov rcx, qword [rsi + 0x3ba0]
test rcx, rcx
je 0x140033ff5
call fcn.140027f50
mov qword [rsi + 0x3ba0], r14
mov eax, dword [rsi + 0xe8]
cmp qword [rsi + 0x3a88], r14
jne 0x140034014
add eax, 0x78000000
mov dword [rsi + 0x3a9c], eax
jmp 0x1400340c8
cmp eax, dword [rsi + 0x3a9c]
js 0x1400340b0
xor edx, edx
mov rcx, rsi
call fcn.14002f9c0
mov r11d, eax
test eax, eax
jne 0x14003407a
mov ecx, dword [0x140071c90]
mov r8d, dword [rsi + 0x3a98]
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp r8d, eax
jge 0x140034056
mov dword [rsi + 0x3a98], eax
jmp 0x14003407a
imul ecx, ecx, 0x384
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp r8d, eax
jge 0x140034074
lea eax, [r8 + r8]
mov dword [rsi + 0x3a98], eax
jmp 0x14003407a
mov dword [rsi + 0x3a98], ecx
cmp dword [0x14006badc], r14d
je 0x14003409e
mov r9d, dword [rsi + 0x3a98]
lea rdx, str.CheckNATMappings_retryGetAddr_sent_address_request_err__d_interval__d
mov r8d, r11d
mov ecx, 3
call fcn.140025be0
mov eax, dword [rsi + 0x3a98]
add eax, dword [rsi + 0xe8]
mov dword [rsi + 0x3a9c], eax
mov ecx, dword [rsi + 0x3a9c]
mov eax, dword [rsi + 0x10c]
sub eax, ecx
test eax, eax
jle 0x1400340c8
mov dword [rsi + 0x10c], ecx
cmp qword [rsi + 0x3a90], r14
je 0x1400340df
lea rdx, str.WARNING_m__CurrentNATTraversal_already_in_use
xor ecx, ecx
call fcn.140025be0
mov rax, qword [rsi + 0x3a88]
movsxd r13, edi
mov qword [rsi + 0x3a90], rax
test rax, rax
je 0x140034448
mov qword [rsp + 0x68], r12
lea r12, [rsi + 0x3aa0]
mov qword [rsp + 0x60], rbp
nop word [rax + rax]
mov rdi, qword [rsi + 0x3a90]
mov rax, qword [rdi]
mov qword [rsi + 0x3a90], rax
test r13, r13
je 0x140034133
mov dword [rdi + 8], r14d
mov dword [rdi + 0x14], r14d
jmp 0x1400341c0
cmp byte [rdi + 0x98], r14b
je 0x1400341c0
mov ecx, dword [rsi + 0xe8]
cmp ecx, dword [rdi + 0x10]
js 0x1400341ab
mov eax, dword [rdi + 8]
test eax, eax
je 0x14003416c
cmp eax, ecx
jns 0x14003416c
mov dword [rdi + 8], r14d
mov eax, dword [0x140071c90]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rdi + 0xc], eax
mov rdx, rdi
mov rcx, rsi
call fcn.14002f9c0
mov eax, dword [rdi + 8]
test eax, eax
je 0x140034216
sub eax, dword [rsi + 0xe8]
cdq
sub eax, edx
sar eax, 1
mov dword [rdi + 0xc], eax
mov ecx, dword [0x140071c90]
add ecx, ecx
cmp eax, ecx
jge 0x14003419f
mov dword [rdi + 0xc], ecx
mov eax, dword [rsi + 0xe8]
add eax, dword [rdi + 0xc]
mov dword [rdi + 0x10], eax
mov ecx, dword [rdi + 0x10]
mov eax, dword [rsi + 0x10c]
sub eax, ecx
test eax, eax
jle 0x1400341c0
mov dword [rsi + 0x10c], ecx
mov r8d, dword [0x140071c90]
cmp dword [r12], r14d
jne 0x1400341e8
mov eax, r8d
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 3
cmp dword [rsi + 0x3a98], eax
jle 0x140034431
mov ebp, dword [rdi + 0x14]
test ebp, ebp
jne 0x140034208
mov rcx, r12
call section..text
mov r8d, dword [0x140071c90]
neg eax
sbb ebp, ebp
and ebp, 0xfffeffea
test r13, r13
je 0x14003425a
movzx ebx, word [rdi + 0x9a]
jmp 0x140034276
mov ecx, dword [0x140071c90]
mov r8d, dword [rdi + 0xc]
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp r8d, eax
jge 0x140034238
mov dword [rdi + 0xc], eax
jmp 0x14003419f
imul ecx, ecx, 0x384
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp r8d, eax
jge 0x14003419c
lea eax, [r8 + r8]
mov dword [rdi + 0xc], eax
jmp 0x14003419f
cmp dword [r12], r14d
je 0x14003426f
cmp dword [rdi + 8], r14d
je 0x14003426f
movzx ebx, word [rdi + 0x9c]
jmp 0x140034276
movzx ebx, word [0x1400506ec]
movzx ecx, byte [rdi + 0x98]
test cl, cl
je 0x1400342a4
test r13, r13
jne 0x1400342a4
cmp dword [rdi + 8], r14d
jne 0x1400342a4
mov eax, r8d
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 3
cmp dword [rdi + 0xc], eax
jle 0x140034431
mov eax, dword [r12]
cmp dword [rdi + 0x88], eax
jne 0x1400342c5
cmp word [rdi + 0x8c], bx
jne 0x1400342c5
cmp dword [rdi + 0x94], ebp
je 0x140034431
test cl, cl
je 0x140034384
test bx, bx
jne 0x140034384
cmp dword [rsi + 0x30e4], r14d
je 0x140034384
test ebp, ebp
jne 0x14003433e
cmp dword [0x14006badc], r14d
je 0x140034384
movzx eax, word [rdi + 0x9a]
mov dword [rsp + 0x38], r14d
lea r9, [rsi + 0x30e0]
movzx ecx, al
shr ax, 8
mov r8, rdi
shl cx, 8
movzx edx, cx
movzx ecx, al
mov eax, dword [rdi + 0xc]
or edx, ecx
mov dword [rsp + 0x30], eax
lea ecx, [rbp + 3]
mov dword [rsp + 0x28], edx
lea rdx, str.CheckNATMapping:_Failed_to_obtain_NAT_port_mapping__p_from_router__a_external_address__.4a_internal_port__5d_interval__d_error__d
mov qword [rsp + 0x20], r12
call fcn.140025be0
jmp 0x140034384
movzx eax, word [rdi + 0x9a]
mov dword [rsp + 0x38], ebp
lea r9, [rsi + 0x30e0]
movzx ecx, al
shr ax, 8
mov r8, rdi
shl cx, 8
movzx edx, cx
movzx ecx, al
mov eax, dword [rdi + 0xc]
or edx, ecx
mov dword [rsp + 0x30], eax
xor ecx, ecx
mov dword [rsp + 0x28], edx
lea rdx, str.CheckNATMapping:_Failed_to_obtain_NAT_port_mapping__p_from_router__a_external_address__.4a_internal_port__5d_interval__d_error__d
mov qword [rsp + 0x20], r12
call fcn.140025be0
mov eax, dword [r12]
mov r8d, dword [rdi + 8]
mov word [rdi + 0x8c], bx
mov dword [rdi + 0x88], eax
test r8d, r8d
je 0x1400343be
test bx, bx
je 0x1400343be
mov ecx, dword [0x140071c90]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub eax, dword [rsi + 0xe8]
add eax, r8d
cdq
idiv ecx
jmp 0x1400343c1
mov eax, r14d
mov dword [rdi + 0x90], eax
mov dword [rdi + 0x94], ebp
inc dword [rsi + 0x3c]
mov eax, dword [rsi + 0x3c]
mov r9d, dword [rsi + 0x38]
cmp r9d, eax
je 0x1400343f5
lea r8, str.CheckNATMappings
lea rdx, str._s:_Locking_Failure__mDNS_busy___ld____mDNS_reentrancy___ld_
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.140025be0
mov rax, qword [rdi + 0xa8]
test rax, rax
je 0x140034409
mov rdx, rdi
mov rcx, rsi
call rax
mov r9d, dword [rsi + 0x38]
mov eax, dword [rsi + 0x3c]
cmp r9d, eax
je 0x14003442e
lea r8, str.CheckNATMappings
lea rdx, str._s:_Unlocking_Failure__mDNS_busy___ld____mDNS_reentrancy___ld_
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.140025be0
dec dword [rsi + 0x3c]
cmp qword [rsi + 0x3a90], r14
jne 0x140034110
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop rdi
ret