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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1403f20c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
lea rcx, [0x14048a6e8]
call fcn.140289ea0
mov r13, qword [rdi + 0x30]
xor r15d, r15d
mov r14d, r15d
mov qword [rsp + 0x88], rsi
mov r12d, 0xffffffff
mov ebp, 1
cmp dword [rdi + 0x10], 0x123
mov dword [rsp + 0x24], r14d
jne 0x1400b9c52
cmp dword [rdi + 0x20], 0x120
mov eax, dword [rdi + 4]
mov rbx, qword [rdi + 0x18]
mov dword [rdi + 8], eax
je 0x1400b9818
movups xmm0, xmmword [rdi + 0x20]
mov dword [rdi + 0x20], pe_nt_image_headers64
movups xmmword [rdi + 0x10], xmm0
jmp 0x1400b9827
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.1400ada00
mov dword [rdi + 0x10], eax
mov rdx, rbx
mov rcx, rdi
call fcn.1400b4e10
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.1400b4be0
test eax, eax
je 0x1400b98c4
mov rcx, rdi
call fcn.1400b4d90
mov edx, 0x3e
mov rcx, rdi
mov rbx, rax
call fcn.1400b4c60
mov rcx, r15
lea rdx, str.const
nop dword [rax]
movzx eax, byte [rbx + rcx + 0x18]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400b988d
cmp rcx, 6
jne 0x1400b9870
mov r8d, ebp
movzx r9d, bpl
jmp 0x1400b98ca
mov rcx, r15
lea rdx, str.close
nop word [rax + rax]
movzx eax, byte [rbx + rcx + 0x18]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400b9c60
cmp rcx, 6
jne 0x1400b98a0
mov r8d, 2
movzx r9d, r8b
jmp 0x1400b98ca
mov r8d, r15d
xor r9b, r9b
mov eax, dword [r13 + 0x38]
mov r10d, dword [rsp + 0x20]
add eax, r10d
cdqe
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 0x58]
mov rax, qword [rcx]
mov byte [rax + rdx*8 + 9], r9b
cmp r8d, 2
jne 0x1400b9904
cmp r12d, 0xffffffff
jne 0x1400b9c80
movzx r12d, byte [r13 + 0x42]
add r12d, r14d
inc r14d
cmp dword [rdi + 0x10], 0x2c
jne 0x1400b9944
cmp dword [rdi + 0x20], 0x120
mov eax, dword [rdi + 4]
mov dword [rdi + 8], eax
je 0x1400b9930
movups xmm0, xmmword [rdi + 0x20]
mov dword [rdi + 0x20], pe_nt_image_headers64
movups xmmword [rdi + 0x10], xmm0
jmp 0x1400b97e2
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.1400ada00
mov dword [rdi + 0x10], eax
jmp 0x1400b97e2
cmp dword [rdi + 0x10], 0x3d
jne 0x1400b99f0
cmp dword [rdi + 0x20], 0x120
mov eax, dword [rdi + 4]
mov dword [rdi + 8], eax
je 0x1400b996e
movups xmm0, xmmword [rdi + 0x20]
mov dword [rdi + 0x20], pe_nt_image_headers64
movups xmmword [rdi + 0x10], xmm0
jmp 0x1400b997d
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.1400ada00
mov dword [rdi + 0x10], eax
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov ebx, ebp
call fcn.1400b8290
nop dword [rax]
cmp dword [rdi + 0x10], 0x2c
jne 0x1400b99e4
cmp dword [rdi + 0x20], 0x120
mov eax, dword [rdi + 4]
mov dword [rdi + 8], eax
je 0x1400b99b6
movups xmm0, xmmword [rdi + 0x20]
mov dword [rdi + 0x20], pe_nt_image_headers64
movups xmmword [rdi + 0x10], xmm0
jmp 0x1400b99c5
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.1400ada00
mov dword [rdi + 0x10], eax
mov rcx, qword [rdi + 0x30]
lea rdx, [rsp + 0x28]
call fcn.14009e1b0
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400b8290
inc ebx
jmp 0x1400b9990
mov r9d, dword [rsp + 0x28]
mov r10d, dword [rsp + 0x20]
jmp 0x1400b99fb
mov r9d, r15d
mov dword [rsp + 0x28], r15d
mov ebx, r15d
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 0x58]
mov rdx, qword [rcx]
cmp r14d, ebx
jne 0x1400b9a9b
mov eax, dword [r13 + 0x38]
add eax, r10d
cdqe
lea r8, [rax + rax*2]
cmp byte [rdx + r8*8 + 9], bpl
jne 0x1400b9a9b
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jne 0x1400b9a9b
mov ecx, r9d
sub ecx, ebp
je 0x1400b9b46
sub ecx, ebp
je 0x1400b9b3e
sub ecx, ebp
je 0x1400b9b37
sub ecx, 4
je 0x1400b9b21
cmp ecx, 4
je 0x1400b9b04
mov ecx, r9d
sub ecx, 5
je 0x1400b9a7c
cmp ecx, ebp
je 0x1400b9a6b
mov ebp, r15d
jmp 0x1400b9a93
mov rax, qword [rsp + 0x30]
mov qword [rdx + r8*8], rax
mov byte [rdx + r8*8 + 8], 3
jmp 0x1400b9a8e
movsd xmm0, qword [rsp + 0x30]
movsd qword [rdx + r8*8], xmm0
mov byte [rdx + r8*8 + 8], reloc.WS2_32.dll_send
mov r9d, dword [rsp + 0x28]
test ebp, ebp
jne 0x1400b9b4b
mov rsi, qword [rdi + 0x30]
lea eax, [r9 - 0x12]
mov ebp, r14d
sub ebp, ebx
cmp eax, 1
jbe 0x1400b9b9a
test r9d, r9d
je 0x1400b9b81
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14009daf0
cmp dword [rsp + 0x28], 8
jne 0x1400b9ae5
movzx edx, byte [rsi + 0x42]
mov rcx, rsi
mov ebx, dword [rsp + 0x30]
call fcn.1400b4f10
cmp ebx, eax
jl 0x1400b9ae5
dec byte [rsi + 0x44]
mov rdx, qword [rsi]
movzx ecx, byte [rsi + 0x44]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x1400b9b69
cmp ecx, 0xff
jae 0x1400b9c90
jmp 0x1400b9b66
movsxd rax, dword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + rcx*8]
mov qword [rdx + r8*8], rax
movzx eax, byte [rdx + rcx*8 + 8]
mov byte [rdx + r8*8 + 8], al
jmp 0x1400b9b4b
mov rax, qword [rsp + 0x30]
mov qword [rdx + r8*8], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rdx + r8*8 + 8], al
jmp 0x1400b9b4b
mov byte [rdx + r8*8 + 8], bpl
jmp 0x1400b9b4b
mov byte [rdx + r8*8 + 8], reloc.WS2_32.dll_recvfrom
jmp 0x1400b9b4b
mov byte [rdx + r8*8 + 8], r15b
mov byte [rdx + r8*8 + 9], 3
mov rcx, rdi
mov edx, dword [rsp + 0x24]
call fcn.1400b5040
inc byte [r13 + 0x42]
jmp 0x1400b9bf1
mov byte [rdx + 0xc], cl
inc byte [rsi + 0x44]
lea rdx, [rsp + 0x28]
movzx r8d, byte [rsi + 0x44]
mov rcx, rsi
dec r8d
call fcn.14009e040
test ebp, ebp
jle 0x1400b9bb3
movzx edx, byte [rsi + 0x44]
mov r8d, ebp
mov rcx, rsi
call fcn.14009cef0
movzx eax, byte [rsi + 0x44]
jmp 0x1400b9bbb
lea eax, [rbp + 1]
mov rcx, rsi
test eax, eax
lea rdx, [rsp + 0x28]
cmovns r15d, eax
mov r8d, r15d
call fcn.14009da50
movzx eax, byte [rsi + 0x44]
test ebp, ebp
jle 0x1400b9be0
mov rdx, qword [rsi]
movzx ecx, al
add ecx, ebp
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jle 0x1400b9bda
cmp ecx, 0xff
jge 0x1400b9ca1
mov byte [rdx + 0xc], cl
add byte [rsi + 0x44], bpl
jmp 0x1400b9be6
add al, bpl
mov byte [rsi + 0x44], al
mov edx, r14d
mov rcx, rdi
call fcn.1400b5040
cmp r12d, 0xffffffff
je 0x1400b9c23
mov rax, qword [r13 + 0x18]
mov edx, r12d
mov rcx, r13
mov byte [rax + 0x11], 1
mov byte [rax + 0x13], 1
mov byte [r13 + 0x46], 1
call fcn.1400b4f10
shl eax, 7
mov rcx, r13
or eax, 0x37
mov edx, eax
call fcn.14009d510
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402889f0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, 0x123
mov rcx, rdi
call fcn.1400b4b10
int3
mov rcx, qword [rdi + 0x38]
lea r8, [rbx + 0x18]
lea rdx, str.unknown_attribute__s
call fcn.1400b35c0
mov rdx, rax
mov rcx, rdi
call fcn.14009cec0
int3
lea rdx, str.multiple_to_be_closed_variables_in_local_list
mov rcx, rdi
call fcn.14009cec0
int3
mov rcx, qword [rsi + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.1400ac9b0
int3
mov rcx, qword [rsi + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.1400ac9b0
int3