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

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rdx
test rcx, rcx
je 0x140020aa4
mov qword [rsp + 0x38], rbp
mov rbp, qword [rcx + 8]
test rbp, rbp
je 0x140020a91
mov ecx, 0xe4
mov qword [rsp + 0x30], rbx
call fcn.14008c958
mov rbx, rax
test rax, rax
je 0x1400207e1
xor edx, edx
mov r8d, 0xe4
mov rcx, rax
call fcn.14008ca20
test rbx, rbx
je 0x140020a79
movzx eax, byte [rsi]
lea rcx, [rsi + 0x11]
mov dword [rbx + reloc.WSOCK32.dll_recv], 0x10
mov byte [rbx], al
lea rax, [rsi + 1]
mov dword [rbx + 0x14], reloc.WSOCK32.dll_recv
mov dword [rbx + 4], 5
mov dword [rbx + 0x24], reloc.WSOCK32.dll_recv
mov dword [rbx + 0x28], reloc.WSOCK32.dll_recv
mov qword [rbx + 8], rax
mov qword [rbx + 0x1c], rax
mov dword [rbx + 0x18], 5
mov qword [rbx + 0x30], rcx
mov dword [rbx + 0x38], 0x40
test rcx, rcx
jne 0x14002083e
mov rax, rdi
jmp 0x140020848
mov edx, 0x40
call fcn.14008d154
lea rcx, [rsi + 0x51]
inc eax
mov dword [rbx + 0x2c], 8
mov dword [rbx + 0x3c], eax
mov qword [rbx + 0x44], rcx
mov dword [rbx + 0x4c], 0x40
test rcx, rcx
jne 0x14002086d
mov rax, rdi
jmp 0x140020877
mov edx, 0x40
call fcn.14008d154
lea rcx, [rsi + 0x91]
inc eax
mov dword [rbx + 0x40], 8
mov dword [rbx + 0x50], eax
mov qword [rbx + 0x58], rcx
mov dword [rbx + 0x60], 0x40
test rcx, rcx
jne 0x14002089f
mov rax, rdi
jmp 0x1400208a9
mov edx, 0x40
call fcn.14008d154
lea rcx, [rsi + 0xd1]
inc eax
mov dword [rbx + 0x54], 8
mov dword [rbx + 0x64], eax
mov qword [rbx + 0x6c], rcx
mov dword [rbx + 0x74], 0x40
test rcx, rcx
jne 0x1400208d1
mov rax, rdi
jmp 0x1400208db
mov edx, 0x40
call fcn.14008d154
lea rcx, [rsi + 0x111]
inc eax
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x78], eax
mov qword [rbx + 0x80], rcx
mov dword [rbx + 0x88], 0x80
test rcx, rcx
jne 0x140020909
mov rax, rdi
jmp 0x140020913
mov edx, 0x80
call fcn.14008d154
inc eax
mov rcx, rbp
mov dword [rbx + 0x7c], 8
mov dword [rbx + 0x8c], eax
call qword [rbp + 0xa0]
lea rcx, [rsi + 0x19c]
mov byte [rbx + 0x90], al
mov eax, dword [rsi + 0x194]
mov qword [rbx + 0x9c], rcx
mov dword [rbx + 0xa4], 0x40
mov dword [rbx + 0x94], eax
test rcx, rcx
jne 0x14002095f
mov rax, rdi
jmp 0x140020969
mov edx, 0x40
call fcn.14008d154
lea rcx, [rsi + 0x1dc]
inc eax
mov dword [rbx + 0x98], 8
mov dword [rbx + 0xa8], eax
mov qword [rbx + 0xb0], rcx
mov dword [rbx + 0xb8], 0x40
test rcx, rcx
jne 0x14002099d
mov rax, rdi
jmp 0x1400209a7
mov edx, 0x40
call fcn.14008d154
inc eax
lea rcx, [rsi + 0x21c]
mov dword [rbx + 0xac], 8
mov dword [rbx + 0xbc], eax
mov eax, dword [rsi + 0x25c]
mov qword [rbx + 0xc4], rcx
mov dword [rbx + 0xcc], 0x40
mov dword [rbx + 0xd4], eax
test rcx, rcx
je 0x1400209ef
mov edx, 0x40
call fcn.14008d154
mov rdi, rax
mov dword [rbx + 0xc0], 8
lea eax, [rdi + 1]
mov dword [rbx + 0xd0], eax
movzx eax, word [rsi + 0x260]
mov word [rbx + 0xd8], ax
movzx eax, word [rsi + 0x262]
mov word [rbx + 0xda], ax
movzx eax, byte [rsi + 0x264]
mov byte [rbx + 0xdc], al
movzx eax, byte [rsi + 0x265]
mov byte [rbx + 0xdd], al
movzx eax, byte [rsi + 0x266]
mov byte [rbx + 0xde], al
movzx eax, byte [rsi + 0x267]
mov byte [rbx + 0xdf], al
movzx eax, byte [rsi + 0x268]
mov byte [rbx + 0xe0], al
movzx eax, byte [rsi + 0x269]
mov byte [rbx + 0xe1], al
movzx eax, byte [rsi + 0x26a]
mov byte [rbx + 0xe2], al
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, rdi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret