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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov qword [rsp + 0x50], r8
mov rdi, rdx
test r9b, r9b
mov qword [rsp + 0x30], rcx
je 0x1400c7ce5
lea r14, [rcx + 0xd80]
lea r9, [0x140348210]
xor esi, esi
mov r8d, 0x90
mov rcx, r14
xor edx, edx
call fcn.1400c910b
cmp rdx, rsi
je 0x1400c7d50
mov byte [rax + rsi], 8
inc rsi
jmp 0x1400c7cd7
mov word [rcx + 0x200], 1
xor r14d, r14d
mov byte [rsp + 0x20], r14b
mov r8d, 0x120
mov r9d, reloc.WS2_32.dll_ntohs
xor edx, edx
call fcn.1400c86da
mov byte [rsp + 0x20], r14b
mov edx, 1
mov r8d, 0x20
mov r9d, reloc.WS2_32.dll_ntohs
mov rcx, qword [rsp + 0x30]
call fcn.1400c86da
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 0xe9d]
cmp r14, 0x1d
je 0x1400c8122
cmp byte [rax], 0
jne 0x1400c8128
inc r14
dec rax
jmp 0x1400c7d35
lea r9, [0x140348228]
mov edx, 0x90
mov r8d, 0x100
mov rcx, r14
call fcn.1400c910b
xor ecx, ecx
cmp rdx, rcx
je 0x1400c7d7a
mov byte [rax + rcx], 9
inc rcx
jmp 0x1400c7d6c
lea r9, [0x140348240]
mov edx, 0x100
mov r8d, 0x118
mov rcx, r14
call fcn.1400c910b
xor ecx, ecx
cmp rdx, rcx
je 0x1400c7da4
mov byte [rax + rcx], 7
inc rcx
jmp 0x1400c7d96
lea r9, [0x140348258]
mov edx, 0x118
mov r8d, 0x120
mov rcx, r14
call fcn.1400c910b
xor ecx, ecx
mov r8, qword [rsp + 0x30]
cmp rdx, rcx
je 0x1400c7dd3
mov byte [rax + rcx], 8
inc rcx
jmp 0x1400c7dc5
lea rcx, [r8 + 0xea0]
lea r8, [0x140348270]
mov edx, 0x20
call fcn.1400c9131
xor ecx, ecx
cmp rdx, rcx
je 0x1400c7dfb
mov byte [rax + rcx], 5
inc rcx
jmp 0x1400c7ded
mov bl, 1
mov byte [rsp + 0x20], bl
mov r8d, 0x120
mov r9d, reloc.WS2_32.dll_ntohs
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
xor edx, edx
call fcn.1400c86da
mov byte [rsp + 0x20], bl
mov edx, 1
mov r8d, 0x20
mov r9d, reloc.WS2_32.dll_ntohs
mov rcx, rsi
call fcn.1400c86da
mov rcx, rdi
mov edx, 1
mov r8d, 2
call fcn.1400c7c0d
mov r10, qword [rsp + 0x50]
mov rbx, qword [r10 + 0x10000]
cmp rbx, 0x10001
jae 0x1400c8643
mov r13d, dword [rdi + 0x18]
mov r14d, dword [rdi + 0x1c]
mov esi, 1
xor r12d, r12d
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0x80], rdi
cmp r12, rbx
jae 0x1400c80c5
cmp esi, 1
jne 0x1400c7ea3
movzx edi, byte [r10 + r12]
or edi, 0x100
inc r12
mov r11, r12
jmp 0x1400c7ea8
mov r11, r12
mov edi, esi
test dil, 1
jne 0x1400c7f12
lea rax, [r11 + 3]
mov edx, 3
mov r12, r11
sub edx, 1
jb 0x1400c7faf
cmp r12, rbx
jae 0x1400c8595
mov esi, edi
shr esi, 1
movzx r8d, byte [r10 + r12]
inc r12
movzx r15d, word [r9 + r8*2 + 0x6c0]
mov ecx, r14d
shl r15, cl
movzx ebp, byte [r9 + r8 + 0xd80]
or r15, r13
add ebp, r14d
test dil, 2
jne 0x1400c8034
mov r14d, ebp
mov r13, r15
mov edi, esi
cmp r12, rbx
jb 0x1400c7eba
jmp 0x1400c8034
cmp r11, rbx
lea r12, [0x140348468]
jae 0x1400c85e4
movzx esi, byte [r10 + r11]
mov rbp, r11
lea r8, [r11 + 1]
mov rcx, r10
mov rdx, rbx
call fcn.1400c9148
lea rcx, [0x1403484c8]
movzx r10d, word [rcx + rsi*2]
cmp r10, 0x120
jae 0x1400c85ae
lea rcx, [0x1403486e0]
movzx r9d, byte [rsi + rcx]
cmp r9, 0x11
mov r11, qword [rsp + 0x30]
jae 0x1400c85d0
movzx r15d, word [r11 + r10*2 + 0x6c0]
mov ecx, r14d
shl r15, cl
movzx ecx, byte [r11 + r10 + 0xd80]
add ecx, r14d
and esi, dword [r12 + r9*4]
shl rsi, cl
movzx edx, ax
cmp ax, 0x200
jae 0x1400c7fba
lea rax, [0x140348910]
lea r8, [rax + rdx]
lea rax, [0x140348b10]
add rax, rdx
jmp 0x1400c7fdc
mov ebp, r14d
mov r15, r13
mov r12, rax
jmp 0x1400c8032
mov eax, edx
shr eax, 8
test dx, dx
js 0x1400c8619
lea r8, [0x1403487f8]
add r8, rax
lea r10, [0x140348890]
add rax, r10
movzx r10d, byte [rax]
cmp r10, 0x11
jae 0x1400c85bc
shr edi, 1
mov r14, rbp
add r14, 3
movzx eax, r9b
add ecx, eax
movzx eax, byte [r8]
movzx r8d, word [r11 + rax*2 + 0x900]
shl r8, cl
movzx eax, byte [r11 + rax + 0xea0]
add eax, ecx
and edx, dword [r12 + r10*4]
mov ecx, eax
shl rdx, cl
movzx ebp, r10b
or r15, rsi
or r15, r8
or r15, rdx
or r15, r13
add ebp, eax
mov r12, r14
mov esi, edi
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
lea rdx, [rcx + 8]
lea rax, [0x140347f80]
mov qword [rsp + 0x20], rax
call fcn.140001ebc
mov qword [rsp + 0x88], r15
lea rcx, [0x140347f98]
mov qword [rsp + 0x20], rcx
mov r9d, 8
mov rcx, rax
lea r8, [rsp + 0x88]
call fcn.14007527c
mov edx, ebp
shr edx, 3
mov al, 2
add rdx, qword [rdi + 0x10]
jb 0x1400c83db
cmp rdx, qword [rdi + 8]
ja 0x1400c83db
mov ecx, ebp
and cl, 0x38
shr r15, cl
mov qword [rdi + 0x10], rdx
and ebp, 7
mov r14d, ebp
mov r13, r15
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x50]
jmp 0x1400c7e82
and qword [rdi + 0x18], 0
lea rsi, [0x140348468]
test r14d, r14d
je 0x1400c8103
cmp r14d, 0x10
mov ebx, reloc.WS2_32.dll_recv
cmovb ebx, r14d
mov edx, dword [rsi + rbx*4]
and edx, r13d
mov rcx, rdi
mov r8d, ebx
call fcn.1400c7c0d
mov r9, qword [rsp + 0x30]
mov ecx, ebx
shr r13, cl
sub r14d, ebx
jmp 0x1400c80d1
movzx edx, word [r9 + 0x8c0]
movzx r8d, byte [r9 + 0xe80]
mov rcx, rdi
call fcn.1400c7c0d
mov al, 1
jmp 0x1400c83db
mov r14d, 0x1d
mov eax, 0x11e
sub rax, r14
mov qword [rsp + 0x68], rax
lea rax, [rcx + 0xebd]
xor esi, esi
cmp rsi, 0x1d
je 0x1400c8151
cmp byte [rax], 0
jne 0x1400c8156
inc rsi
dec rax
jmp 0x1400c813e
mov esi, 0x1d
mov r12d, 0x1e
sub r12, rsi
lea rbx, [rsp + 0x1c8]
mov r8d, 0x140
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x88]
mov r8d, 0x140
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r13, qword [rsp + 0x68]
lea rax, [r12 + r13]
mov qword [rsp + 0x78], rax
lea r9, [0x140348288]
mov r8d, 0x140
mov rcx, r13
mov rdx, rbx
call fcn.140108ca7
mov rbp, rax
mov r15, rdx
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx + 0xd80]
lea r8, [0x1403482a0]
mov rdx, r13
call fcn.1400c8f57
mov r9, rdx
lea rcx, [0x1403482b8]
mov qword [rsp + 0x20], rcx
mov rcx, rbp
mov rbp, qword [rsp + 0x78]
mov rdx, r15
mov r8, rax
call fcn.14007527c
lea rax, [0x1403482d0]
mov qword [rsp + 0x20], rax
mov r9d, 0x140
mov rcx, r13
mov rdx, rbp
lea r8, [rsp + 0x1c8]
call fcn.140001ebc
mov r15, rax
mov r13, rdx
lea rcx, [rbx + 0xea0]
lea r8, [0x1403482e8]
mov qword [rsp + 0x70], r12
mov rdx, r12
call fcn.1400c8f57
mov r9, rdx
lea rcx, [0x140348300]
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, r13
mov r8, rax
call fcn.14007527c
mov r9, rbx
and qword [rsp + 0x3c], 0
mov byte [rsp + 0x44], 0xff
mov eax, 0x480
cmp rax, 0x4a6
je 0x1400c827f
and word [r9 + rax], 0
add rax, 2
jmp 0x1400c826b
and qword [rsp + 0x48], 0
cmp rbp, 0x141
jae 0x1400c8657
mov r15, rdi
add rsi, r14
mov edi, 0x13c
sub rdi, rsi
xor esi, esi
lea r12, [rsp + 0x3c]
lea r13, [rsp + 0x88]
lea rbp, [rsp + 0x48]
lea r14, [rsp + 0x5c]
cmp rdi, rsi
je 0x1400c839e
movzx ebx, byte [rsp + rsi + 0x1c8]
mov rcx, r12
mov rdx, r13
mov r8, rbp
test rbx, rbx
je 0x1400c8313
call fcn.1400c8f80
test al, al
jne 0x1400c83d9
cmp bl, byte [rsp + 0x44]
jne 0x1400c8346
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, 6
jne 0x1400c838d
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call fcn.1400c9023
jmp 0x1400c8389
call fcn.1400c9023
test al, al
jne 0x1400c83d9
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp eax, 0x8a
jne 0x1400c838d
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call fcn.1400c8f80
jmp 0x1400c8389
mov rcx, r12
mov rdx, r13
mov r8, rbp
mov r9, qword [rsp + 0x30]
call fcn.1400c9023
test al, al
jne 0x1400c83d9
mov rax, qword [rsp + 0x30]
inc word [rax + rbx*2 + 0x480]
mov byte [rsp + 0x5c], bl
mov qword [rsp + 0x20], rbp
mov edx, 1
mov r9d, 0x140
mov rcx, r14
mov r8, r13
call fcn.1400c90ba
test al, al
jne 0x1400c83d9
mov byte [rsp + 0x44], bl
inc rsi
mov r9, qword [rsp + 0x30]
jmp 0x1400c82b9
cmp dword [rsp + 0x40], 0
je 0x1400c83be
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call fcn.1400c9023
jmp 0x1400c83d5
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call fcn.1400c8f80
test al, al
je 0x1400c83ef
mov al, 2
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsp + 0x20], 0
mov esi, reloc.WS2_32.dll_send
mov edx, 2
mov r8d, reloc.WS2_32.dll_send
mov r9d, 7
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1400c86da
mov rdi, r15
mov rcx, r15
mov edx, 2
mov r8d, 2
call fcn.1400c7c0d
mov rdx, qword [rsp + 0x68]
add edx, 0xfffffeff
mov rcx, r15
mov r8d, 5
call fcn.1400c7c0d
mov rdx, qword [rsp + 0x70]
dec edx
mov rcx, r15
mov r8d, 5
call fcn.1400c7c0d
lea rcx, [0x140348342]
xor eax, eax
cmp rax, 0x13
je 0x1400c8482
movzx edx, byte [rcx]
cmp byte [rbx + rdx + 0xfc0], 0
jne 0x1400c847f
inc rax
dec rcx
jmp 0x1400c8464
mov rsi, rax
mov edi, reloc.WS2_32.dll_send
mov eax, reloc.WS2_32.dll_send
sub rax, rsi
cmp rax, 5
mov r14d, 4
cmovae r14, rax
lea edx, [r14 - 4]
mov rcx, r15
mov r8d, 4
call fcn.1400c7c0d
cmp rdi, rsi
jb 0x1400c866b
xor esi, esi
lea rdi, [0x140348330]
mov rcx, qword [rsp + 0x30]
cmp r14, rsi
je 0x1400c84ef
movzx eax, byte [rsi + rdi]
movzx edx, byte [rcx + rax + 0xfc0]
mov rcx, r15
mov r8d, 3
call fcn.1400c7c0d
mov rcx, qword [rsp + 0x30]
inc rsi
jmp 0x1400c84c6
xor ebx, ebx
movabs rsi, 0x300000002
cmp rbx, qword [rsp + 0x48]
jae 0x1400c858d
mov r14, rbx
cmp rbx, 0x13f
ja 0x1400c85ed
movzx edi, byte [rsp + r14 + 0x88]
cmp rdi, 0x13
mov rax, qword [rsp + 0x30]
jae 0x1400c8601
lea rbx, [r14 + 1]
movzx edx, word [rax + rdi*2 + 0xb40]
movzx r8d, byte [rax + rdi + 0xfc0]
mov rcx, r15
call fcn.1400c7c0d
cmp dil, 0x10
jb 0x1400c84fb
cmp r14, 0x13f
je 0x1400c862d
movzx edx, byte [rsp + r14 + 0x89]
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x64], 7
mov r8d, dword [rsp + rdi*4 + 0x1c]
mov rcx, r15
call fcn.1400c7c0d
add r14, 2
mov rbx, r14
jmp 0x1400c84fb
mov rdi, r15
jmp 0x1400c7e4c
cmp r11, rbx
cmovbe r11, rbx
lea r8, [0x140348d28]
mov rcx, r11
mov rdx, rbx
call fcn.1402df760
lea r8, [0x1403486c8]
mov edx, 0x120
jmp 0x1400c85c8
lea r8, [0x140348d10]
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, r10
call fcn.1402df760
lea r8, [0x1403487e0]
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, r9
call fcn.1402df760
lea r8, [0x1403484b0]
jmp 0x1400c85a3
lea r8, [0x140348360]
mov edx, 0x140
mov rcx, r14
call fcn.1402df760
lea rcx, str.assertion_failed:_code___MAX_HUFF_SYMBOLS_2
lea r8, [0x1403483a8]
mov edx, 0x2b
call fcn.1402df840
lea r8, [0x140348878]
mov edx, 0x80
mov rcx, rax
call fcn.1402df760
lea r8, [0x1403483c0]
mov ecx, 0x140
mov edx, 0x140
call fcn.1402df760
lea r8, [0x140348d40]
mov edx, 0x10000
mov rcx, rbx
call fcn.1402df7d0
lea r8, [0x140348318]
mov edx, 0x140
mov rcx, rbp
call fcn.1402df7d0
lea r8, [0x140348348]
mov edx, reloc.WS2_32.dll_send
mov rcx, r14
call fcn.1402df7d0
jno 0x1400c869f
add ah, cl