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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbx
sub rsp, 0x90
mov rbx, qword [rcx + 0x10]
mov qword [rax + 0x20], rbp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov rdi, rcx
mov qword [rax - 0x20], r12
mov rcx, rbx
mov qword [rax - 0x28], r13
mov r12, r8
mov r13d, dword [r8 + 0x1c]
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov r14d, r9d
mov dword [rsp + 0x48], r13d
call fcn.140043430
mov rcx, qword [rsp + 0xc0]
xor r9d, r9d
mov edx, dword [r12 + 0x14]
mov ebp, r9d
mov r15, qword [r12]
mov dword [rsp + 0x50], eax
movzx eax, byte [rcx]
mov dword [rsp + 0xa0], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x44], eax
test edx, edx
je 0x140093943
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [r12 + 0x10]
cmp dword [rax + 0x3c], ecx
jg 0x140093890
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, recv
call fcn.140042d70
xor r9d, r9d
jmp 0x1400938bf
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], send
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400938eb
xor r8d, r8d
mov dword [rsp + 0x20], r9d
mov r9d, r13d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.140042d70
xor r9d, r9d
jmp 0x14009391b
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009393b
mov eax, dword [r12 + 0x14]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0xa0]
mov r13d, dword [r12 + 0xc]
mov dword [rsp + 0x40], r13d
lea eax, [rdx - 9]
test al, 0xfa
jne 0x140093968
cmp dl, 0xe
je 0x140093968
mov esi, dword [rcx + 0x14]
mov r12d, r9d
jmp 0x1400939d6
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14009397d
mov r12d, dword [rdi + 0x38]
inc r12d
mov dword [rdi + 0x38], r12d
jmp 0x14009398d
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0x18c]
cmp r14d, 1
jne 0x1400939b0
test al, al
jne 0x14009399f
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
jmp 0x1400939d6
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0x18c]
jmp 0x1400939d6
mov ecx, dword [rdi + 0x28]
mov esi, dword [rdi + 0x2c]
cmp r14d, ecx
jg 0x1400939ca
lea eax, [rsi + r14]
sub ecx, r14d
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0x28], ecx
jmp 0x1400939d6
mov eax, dword [rdi + 0x38]
lea esi, [rax + 1]
add eax, r14d
mov dword [rdi + 0x38], eax
mov rcx, qword [rsp + 0xb0]
mov edx, dword [r15]
sub edx, dword [rcx + 8]
test byte [rcx + 0x20], 1
mov dword [rsp + 0x58], edx
je 0x140093bfe
mov r15d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov r13d, dword [rdi + 0x38]
lea eax, [r15 + 1]
mov dword [rdi + 0x34], eax
cmp dword [rcx + 0x14], ebp
je 0x140093a71
mov rax, qword [rbx + 0x18]
movsxd rbp, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ebp
jg 0x140093a3b
mov dword [rsp + 0x20], r9d
xor r8d, r8d
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 0x14]
call fcn.140042d70
mov edx, dword [rsp + 0x58]
mov ebp, eax
xor r9d, r9d
jmp 0x140093a71
lea eax, [rbp + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x68]
add rcx, rbp
mov word [rax + rcx*8], reloc.WS2_32.dll_sendto
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx + 0x18]
inc edx
movsxd rcx, dword [rbx + 0xb8]
add edx, r14d
cmp dword [rax + 0x3c], ecx
jg 0x140093aa2
mov dword [rsp + 0x20], edx
mov r9d, r13d
mov edx, WSASetLastError
mov r8d, r15d
mov rcx, rbx
call fcn.140042d70
xor r9d, r9d
jmp 0x140093ad1
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], WSASetLastError
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
test ebp, ebp
je 0x140093b06
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], 0
je 0x140093aed
lea rax, [0x1401bac90]
jmp 0x140093b03
lea eax, [rdx - 1]
test ebp, ebp
cmovns eax, ebp
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rbx + 0x18]
movsxd rbp, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ebp
jg 0x140093b36
mov r8d, dword [rsp + 0x40]
mov edx, gethostname
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, dword [rsp + 0x48]
call fcn.140042d70
mov ebp, eax
jmp 0x140093b73
mov edx, dword [rsp + 0x40]
lea eax, [rbp + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x68]
add rcx, rbp
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x48]
mov dword [rax + rcx*8 + 8], edx
mov word [rax + rcx*8], gethostname
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rdx, qword [rsp + 0xa8]
mov rcx, rbx
mov r8d, dword [rsp + 0x50]
mov edx, dword [rdx + 0x14]
call fcn.140091e50
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140093bc0
mov r8d, dword [rsp + 0x40]
mov r9d, r13d
mov edx, 0x78
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call fcn.140042d70
xor r9d, r9d
mov r13d, r9d
jmp 0x140093c8a
mov edx, dword [rsp + 0x40]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
xor r9d, r9d
mov dword [rax + rcx*8 + 8], r13d
mov r13d, r9d
mov word [rax + rcx*8], 0x78
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x140093c8a
mov rax, qword [rbx + 0x18]
movsxd rbp, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ebp
jg 0x140093c2c
mov dword [rsp + 0x20], r9d
mov r8d, r13d
mov r9d, dword [rsp + 0x48]
mov edx, gethostname
mov rcx, rbx
call fcn.140042d70
mov ebp, eax
jmp 0x140093c66
mov edx, dword [rsp + 0x48]
lea eax, [rbp + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x68]
add rcx, rbp
mov word [rax + rcx*8], gethostname
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rdx, qword [rsp + 0xa8]
mov rcx, rbx
mov r8d, dword [rsp + 0x50]
mov edx, dword [rdx + 0x14]
call fcn.140091e50
mov r15d, r13d
xor r9d, r9d
mov r13d, 1
lea eax, [rbp + 1]
mov dword [rsp + 0x4c], eax
test r14d, r14d
jle 0x140093d21
sub r13d, esi
mov ebp, esi
add r13d, dword [rsp + 0x58]
mov r8, r14
mov qword [rsp + 0x58], r14
nop dword [rax]
mov rax, qword [rbx + 0x18]
mov edx, r13d
movsxd rcx, dword [rbx + 0xb8]
add edx, ebp
cmp dword [rax + 0x3c], ecx
jg 0x140093ce6
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x60
mov r8d, r15d
mov rcx, rbx
call fcn.140042d70
mov r8, qword [rsp + 0x58]
xor r9d, r9d
jmp 0x140093d14
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r9
inc ebp
sub r8, 1
mov qword [rsp + 0x58], r8
jne 0x140093cb0
mov edx, dword [rsp + 0xa0]
mov ecx, edx
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
sub ecx, 0xa
je 0x140093dd1
sub ecx, 1
je 0x14009401f
mov rax, qword [rbx + 0x18]
cmp ecx, 1
movsxd rcx, dword [rbx + 0xb8]
je 0x140093f49
mov rbp, qword [rsp + 0xc0]
cmp dl, 9
jne 0x140093ee8
mov edx, dword [rbp + 0x14]
cmp dword [rax + 0x3c], ecx
jg 0x140093d8d
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov r9d, r14d
mov edx, 0x57
mov rcx, rbx
call fcn.140042d70
jmp 0x140093dbc
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x57
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov edx, dword [rbp + 0x14]
mov r8d, r14d
mov rcx, rdi
call fcn.140060c10
mov edx, dword [rsp + 0xa0]
xor ebp, ebp
test r12d, r12d
je 0x140093e6f
cmp dl, 0xb
jne 0x1400940f0
cmp r14d, 1
jne 0x1400940cd
test esi, esi
je 0x140093e2e
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x140093e2e
movzx edx, byte [rdi + 0x25]
lea rax, [rdi + 0xc4]
mov ecx, ebp
test edx, edx
je 0x140093e23
nop
cmp dword [rax + 0xc], esi
je 0x140094134
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x140093e10
mov dword [rdi + r8*4 + 0x18c], esi
inc byte [rdi + 0x1f]
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x140093e6f
movzx edx, byte [rdi + 0x25]
lea rax, [rdi + 0xc4]
mov ecx, ebp
test edx, edx
je 0x140093e64
nop word [rax + rax]
cmp dword [rax + 0xc], r12d
je 0x14009413d
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x140093e50
mov dword [rdi + r8*4 + 0x18c], r12d
inc byte [rdi + 0x1f]
mov rax, qword [rbx + 0x18]
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140093ea4
mov eax, dword [rsp + 0x50]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov rax, qword [rbx + 0x18]
mov rdi, qword [rsp + 0xb0]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rax + 0x3c]
test byte [rdi + 0x20], 1
je 0x14009415f
cmp edx, ecx
jg 0x140094146
mov r9d, dword [rsp + 0x4c]
mov edx, 3
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140042d70
jmp 0x1400941b5
mov edx, dword [rbp + 0x10]
xor ebp, ebp
cmp dword [rax + 0x3c], ecx
jg 0x140093f13
mov r8d, edx
mov dword [rsp + 0x20], ebp
lea edx, [rbp + 0x10]
xor r9d, r9d
mov rcx, rbx
call fcn.140042d70
mov edx, dword [rsp + 0xa0]
jmp 0x140093dd3
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xa0]
mov word [rax + rcx*8], reloc.WS2_32.dll_recv
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x140093dd3
xor ebp, ebp
cmp dword [rax + 0x3c], ecx
jg 0x140093f6d
mov r8d, dword [rsp + 0x44]
lea edx, [rbp + 0x72]
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.140042d70
mov edx, dword [rsp + 0x44]
jmp 0x140093f9f
mov edx, dword [rsp + 0x44]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], WSACleanup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140093fc9
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, reloc.WS2_32.dll_WSAStartup
mov r9d, esi
mov rcx, rbx
call fcn.140042d70
jmp 0x140093ff7
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_WSAStartup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rbp
movsxd rax, dword [rbx + 0xb8]
mov edx, dword [rsp + 0xa0]
test eax, eax
jle 0x140093dd3
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 8
jmp 0x140093dd3
mov rbp, qword [rsp + 0xc0]
mov r9d, r14d
mov dword [rsp + 0x30], r14d
mov r8d, esi
mov edx, 0x63
mov rcx, rbx
mov rax, qword [rbp + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call fcn.1400430c0
mov r8d, r14d
mov edx, esi
mov rcx, rdi
call fcn.140060c10
mov rax, qword [rbx + 0x18]
xor ebp, ebp
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14009408f
mov r8d, dword [rsp + 0x44]
lea edx, [rbp + 0x7e]
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.140042d70
mov edx, dword [rsp + 0xa0]
jmp 0x140093dd3
mov edx, dword [rsp + 0x44]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xa0]
mov word [rax + rcx*8], 0x7e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x140093dd3
mov r8d, r14d
mov edx, esi
mov rcx, rdi
call fcn.140060c10
cmp r14d, dword [rdi + 0x28]
jle 0x140093e2e
mov dword [rdi + 0x28], r14d
mov dword [rdi + 0x2c], esi
jmp 0x140093e2e
test esi, esi
je 0x140093e2e
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x140093e2e
movzx edx, byte [rdi + 0x25]
lea rax, [rdi + 0xc4]
mov ecx, ebp
test edx, edx
je 0x140093e23
nop dword [rax]
cmp dword [rax + 0xc], esi
je 0x140094134
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x140094120
jmp 0x140093e23
mov byte [rax + 6], 1
jmp 0x140093e2e
mov byte [rax + 6], 1
jmp 0x140093e6f
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 3
jmp 0x140094197
cmp edx, ecx
jg 0x140094180
mov r9d, dword [rsp + 0x4c]
mov edx, 7
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.140042d70
jmp 0x1400941b5
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 7
mov edx, dword [rsp + 0x40]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x4c]
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8 + 0xc], ebp
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov edx, dword [rdi + 0x10]
mov rdi, qword [rsp + 0x80]
test edx, edx
je 0x14009421a
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400941ec
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x48]
call fcn.140042d70
jmp 0x14009421a
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x48
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
mov rbp, qword [rsp + 0xb8]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140094241
mov eax, dword [rsp + 0x48]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
add rsp, 0x90
pop rbx
ret