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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
mov r12, rcx
mov r9, qword [rcx + 8]
mov rcx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], r9
mov rbx, qword [rax + 0x10]
mov r13, qword [rax]
call fcn.14007de10
movzx r15d, byte [r12 + 0x39]
xor r11d, r11d
sub r15, 1
js 0x1400bd4c5
mov rsi, qword [rsp + 0x70]
lea r12, [r9 + 0x50]
imul rax, r15, 0x78
add rsi, 0x354
add r12, rax
lea rax, [r15 + r15*4]
shl rax, 4
add rsi, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rsi + 4]
mov r14, qword [rsi + 0x2c]
not eax
mov r8, qword [rbx + 0x30]
test eax, eax
js 0x1400bd1f6
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400bd1f6
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
movzx ecx, byte [rsi + 0x11]
cmp cl, 0x9a
je 0x1400bd23e
movzx eax, byte [rsi + 0x12]
mov edx, ecx
mov r9d, dword [rsi + 0x18]
mov rcx, rbx
mov r8d, dword [rsi + 0x14]
mov dword [rsp + 0x20], eax
call fcn.140065c50
mov rdx, qword [rbx + 8]
xor r11d, r11d
test rdx, rdx
je 0x1400bd23e
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rsi + 0x13]
mov byte [rdx + rcx*8 - 0x15], al
test dword [r14 + 0x28], 0x800
je 0x1400bd368
cmp dword [rsi + 0x1c], 0
jle 0x1400bd368
mov eax, dword [rsi - 4]
mov r8, qword [rbx + 0x30]
not eax
test eax, eax
js 0x1400bd278
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400bd278
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov ebp, dword [rsi + 0x1c]
mov rdx, qword [rsi + 0x24]
lea eax, [rbp - 1]
movsxd rcx, eax
lea rax, [rcx + rcx*2]
lea rdi, [rdx + rax*4]
test ebp, ebp
jle 0x1400bd316
nop word [rax + rax]
mov eax, dword [rdi + 4]
mov edx, dword [rbx + 0x3c]
inc eax
cmp edx, eax
jbe 0x1400bd2bb
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rsp + 0x20], r11d
mov dword [rax + 0x64], ecx
mov rcx, rbx
movzx edx, byte [rdi + 8]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
call fcn.140065c50
mov eax, dword [rdi + 4]
mov edx, dword [rbx + 0x3c]
dec eax
cmp edx, eax
jbe 0x1400bd2f8
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
dec ebp
sub rdi, 0xc
mov r11d, 0
mov dword [rax + 0x64], ecx
test ebp, ebp
jg 0x1400bd2a0
mov rdx, qword [rsi + 0x24]
test rdx, rdx
je 0x1400bd368
test r13, r13
je 0x1400bd360
cmp qword [r13 + 0x320], 0
je 0x1400bd334
mov rcx, r13
call fcn.1400456d0
jmp 0x1400bd368
cmp rdx, qword [r13 + 0x168]
jb 0x1400bd360
cmp rdx, qword [r13 + 0x170]
jae 0x1400bd360
mov rax, qword [r13 + 0x160]
mov qword [rdx], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], rdx
jmp 0x1400bd368
mov rcx, rdx
call fcn.140045620
mov eax, dword [rsi - 8]
mov r8, qword [rbx + 0x30]
not eax
test eax, eax
js 0x1400bd38a
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400bd38a
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
xor ebp, ebp
dec eax
mov dword [r8 + 0x64], eax
mov r9d, dword [rsi]
test r9d, r9d
je 0x1400bd3f6
xor r8d, r8d
mov dword [rsp + 0x20], ebp
lea edx, [rbp + 0x10]
mov rcx, rbx
call fcn.140065c50
mov eax, dword [rsi]
mov edx, dword [rbx + 0x3c]
cmp edx, eax
jbe 0x1400bd3c7
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov eax, dword [rsi]
mov edx, dword [rbx + 0x3c]
sub eax, 2
cmp edx, eax
jbe 0x1400bd3ec
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov r8d, dword [rsi - 0x14]
test r8d, r8d
je 0x1400bd4a3
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov edx, 0x89
mov rcx, rbx
call fcn.140065c50
mov ecx, dword [r14 + 0x28]
mov edi, eax
test cl, 0x40
jne 0x1400bd43d
mov r8d, dword [r12]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x68]
call fcn.140065c50
mov ecx, dword [r14 + 0x28]
bt ecx, 9
jae 0x1400bd45a
mov r8d, dword [rsi - 0xc]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x68]
call fcn.140065c50
cmp byte [rsi + 0x11], 0x12
jne 0x1400bd46b
mov r8d, dword [rsi + 0x14]
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x1400bd473
mov edx, reloc.WS2_32.dll_recv
mov r8d, ebp
mov r9d, dword [rsi + 8]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140065c50
mov edx, dword [rbx + 0x3c]
cmp edx, edi
jbe 0x1400bd499
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
sub rsi, 0x50
sub r12, 0x78
sub r15, 1
mov r11d, 0
jns 0x1400bd1d0
mov r12, qword [rsp + 0x70]
mov r9, qword [rsp + 0x78]
mov eax, dword [r12 + 0x44]
mov r8, qword [rbx + 0x30]
not eax
test eax, eax
js 0x1400bd4e9
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400bd4e9
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov r15d, r11d
dec eax
mov dword [r8 + 0x64], eax
cmp byte [r12 + 0x39], 0
jbe 0x1400bd74e
lea rsi, [r12 + 0x380]
nop dword [rax]
movzx eax, byte [rsi - 0x1c]
mov rbp, qword [rsi]
imul r10, rax, 0x78
add r10, r9
test byte [r10 + 0x48], 4
mov r14, qword [r10 + 0x28]
je 0x1400bd5c2
cmp byte [r13 + 0x50], 0
jne 0x1400bd5c2
mov rax, qword [rbx]
mov edx, dword [rbx + 0x3c]
mov r8d, dword [rsi - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400bd551
lea rcx, [0x1401f4e48]
jmp 0x1400bd569
lea eax, [rdx - 1]
test r8d, r8d
cmovns eax, r8d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rcx, [rax + rcx*8]
cmp r8d, edx
jge 0x1400bd738
add rcx, 4
sub edx, r8d
nop dword [rax]
mov eax, dword [rsi - 0x3c]
cmp dword [rcx], eax
jne 0x1400bd5b3
movzx eax, byte [rcx - 4]
cmp al, 0x2f
jne 0x1400bd5a4
mov byte [rcx - 4], 0x21
mov eax, dword [r10 + 0x40]
add eax, dword [rcx + 4]
mov dword [rcx], eax
mov eax, dword [rcx + 8]
mov dword [rcx + 4], eax
jmp 0x1400bd5af
cmp al, 0x67
jne 0x1400bd5b3
mov byte [rcx - 4], 0x1c
mov dword [rcx], r11d
mov dword [rcx + 8], r11d
add rcx, 0x18
sub rdx, 1
jne 0x1400bd580
jmp 0x1400bd738
test byte [r14 + 0x48], 2
jne 0x1400bd631
cmp qword [r14 + 0x18], 0
jne 0x1400bd631
test byte [r12 + 0x32], 0x10
jne 0x1400bd631
cmp byte [r12 + 0x36], 0
mov edi, dword [rbp + 0x28]
jne 0x1400bd604
test dil, 0x40
jne 0x1400bd604
mov r8d, dword [r10 + 0x50]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], r11d
lea edx, [r9 + 0x3d]
call fcn.140065c50
xor r11d, r11d
and edi, 0x4300
cmp edi, 0x200
jne 0x1400bd631
mov r8d, dword [rsi - 0x38]
cmp r8d, dword [r12 + 0x50]
je 0x1400bd631
xor r9d, r9d
mov dword [rsp + 0x20], r11d
mov rcx, rbx
lea edx, [r9 + 0x3d]
call fcn.140065c50
mov eax, dword [rbp + 0x28]
test eax, 0x240
je 0x1400bd641
mov r11, qword [rbp + 0x20]
jmp 0x1400bd64f
bt eax, 0xd
jae 0x1400bd730
mov r11, qword [rsi - 0x10]
test r11, r11
je 0x1400bd730
cmp byte [r13 + 0x50], 0
jne 0x1400bd730
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x3c]
mov r9d, dword [rsi - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400bd67d
lea rdx, [0x1401f4e48]
jmp 0x1400bd696
lea eax, [r8 - 1]
test r9d, r9d
cmovns eax, r9d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
cmp r9d, r8d
jge 0x1400bd730
sub r8d, r9d
add rdx, 4
xor ebp, ebp
mov edi, r8d
lea r12d, [rbp - 1]
nop
mov eax, dword [rsi - 0x3c]
cmp dword [rdx], eax
jne 0x1400bd721
movzx eax, byte [rdx - 4]
cmp al, 0x2f
jne 0x1400bd714
test byte [r14 + 0x48], 0x20
movsxd r9, dword [rdx + 4]
je 0x1400bd6db
mov rcx, r14
call fcn.140086c00
mov rax, qword [rax + 8]
movsx r9d, word [rax + r9*2]
movzx r8d, word [r11 + 0x60]
mov eax, ebp
test r8d, r8d
je 0x1400bd701
mov r10, qword [r11 + 8]
nop dword [rax + rax]
movsxd rcx, eax
cmp r9w, word [r10 + rcx*2]
je 0x1400bd705
inc eax
cmp eax, r8d
jl 0x1400bd6f0
movzx eax, r12w
movsx ecx, ax
test ecx, ecx
js 0x1400bd721
mov dword [rdx + 4], ecx
mov eax, dword [rsi - 0x38]
jmp 0x1400bd71f
cmp al, 0x67
jne 0x1400bd721
mov eax, dword [rsi - 0x38]
mov byte [rdx - 4], 0x70
mov dword [rdx], eax
add rdx, 0x18
sub rdi, 1
jne 0x1400bd6b0
mov r12, qword [rsp + 0x70]
mov r9, qword [rsp + 0x78]
xor r11d, r11d
movzx eax, byte [r12 + 0x39]
inc r15d
add rsi, 0x50
cmp r15d, eax
jl 0x1400bd510
mov rcx, qword [rsp + 0x80]
mov rdx, r12
mov eax, dword [r12 + 0x48]
mov dword [rcx + 0x1d8], eax
mov rcx, r13
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400b90c0