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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x108
mov dword [rsp + 0x20], 0
jmp 0x14008392e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x14008396a
mov eax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0x20
jae 0x140083951
jmp 0x140083956
call fcn.140138480
xor eax, eax
mov rcx, qword [rsp + 0xa8]
mov word [rsp + rcx + 0xb8], ax
jmp 0x140083924
mov dword [rsp + 0x24], 0
jmp 0x14008397e
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
jae 0x1400839c0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xb8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x118]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xb8], ax
jmp 0x140083974
mov rax, qword [rsp + 0x130]
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], reloc.WS2_32.dll_ntohs
jmp 0x1400839e2
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
jb 0x1400839fd
mov eax, dword [rsp + 0x3c]
movzx eax, word [rsp + rax*2 + 0xb8]
test eax, eax
je 0x1400839fb
jmp 0x1400839fd
jmp 0x1400839d8
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], eax
jbe 0x140083a0f
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x3c], 0
jne 0x140083a92
mov byte [rsp + 0x2c], 0x40
mov byte [rsp + 0x2d], 1
xor eax, eax
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x2c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x2c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
mov rax, qword [rsp + 0x130]
mov dword [rax], 1
xor eax, eax
jmp 0x140084264
mov dword [rsp + 0x44], 1
jmp 0x140083aa6
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x44], eax
jae 0x140083ac4
mov eax, dword [rsp + 0x44]
movzx eax, word [rsp + rax*2 + 0xb8]
test eax, eax
je 0x140083ac2
jmp 0x140083ac4
jmp 0x140083a9c
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x140083ad6
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x20], 1
jmp 0x140083af2
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x140083b2e
mov eax, dword [rsp + 0x34]
shl eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xb8]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x140083b2c
mov eax, 0xffffffff
jmp 0x140084264
jmp 0x140083ae8
cmp dword [rsp + 0x34], 0
jle 0x140083b50
cmp dword [rsp + 0x110], 0
je 0x140083b46
cmp dword [rsp + 0x3c], 1
je 0x140083b50
mov eax, 0xffffffff
jmp 0x140084264
mov qword [rsp + 0xb0], 2
cmp qword [rsp + 0xb0], 0x20
jae 0x140083b69
jmp 0x140083b6e
call fcn.140138480
xor eax, eax
mov rcx, qword [rsp + 0xb0]
mov word [rsp + rcx + 0xd8], ax
mov dword [rsp + 0x20], 1
jmp 0x140083b94
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
jae 0x140083bc7
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xd8]
mov ecx, dword [rsp + 0x20]
movzx ecx, word [rsp + rcx*2 + 0xb8]
add eax, ecx
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
mov word [rsp + rcx*2 + 0xd8], ax
jmp 0x140083b8a
mov dword [rsp + 0x24], 0
jmp 0x140083bdb
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
jae 0x140083c5d
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140083c58
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xd8]
mov rcx, qword [rsp + 0x138]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xd8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x118]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xd8], ax
jmp 0x140083bd1
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x140083c78
cmp dword [rsp + 0x78], 1
je 0x140083c9c
jmp 0x140083ce7
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x5c], reloc.WS2_32.dll_send
jmp 0x140083d0a
lea rax, [0x1401ddd40]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
sub rax, 0x202
mov qword [rsp + 0x80], rax
lea rax, [0x1401dddc0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
sub rax, 0x202
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x5c], 0x100
jmp 0x140083d0a
lea rax, [0x1401ddd80]
mov qword [rsp + 0x80], rax
lea rax, [0x1401ddd00]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x5c], 0xffffffff
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x50], 0xffffffff
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x88], ecx
movzx ecx, al
mov eax, dword [rsp + 0x88]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x110], 1
jne 0x140083d88
cmp dword [rsp + 0x4c], 0x354
jae 0x140083d9c
cmp dword [rsp + 0x110], 2
jne 0x140083da6
cmp dword [rsp + 0x4c], 0x250
jb 0x140083da6
mov eax, 1
jmp 0x140084264
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x2d], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x5c]
jge 0x140083de8
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2e], ax
jmp 0x140083e4a
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x5c]
jle 0x140083e3e
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + 0x2c], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2e], ax
jmp 0x140083e4a
mov byte [rsp + 0x2c], 0x60
xor eax, eax
mov word [rsp + 0x2e], ax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x8c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x8c]
shl eax, cl
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
add eax, dword [rsp + 0x58]
mov eax, eax
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x2c]
mov dword [rcx + rax*4], edx
cmp dword [rsp + 0x58], 0
jne 0x140083e9a
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x94], ecx
movzx ecx, al
mov eax, dword [rsp + 0x94]
shl eax, cl
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140083f0e
mov eax, dword [rsp + 0x30]
shr eax, 1
mov dword [rsp + 0x30], eax
jmp 0x140083ef2
cmp dword [rsp + 0x30], 0
je 0x140083f39
mov eax, dword [rsp + 0x30]
dec eax
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140083f41
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xb8]
dec ax
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x54]
mov word [rsp + rax*2 + 0xb8], cx
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x140083fa8
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
jne 0x140083f88
jmp 0x14008413c
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jbe 0x140084137
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x50]
je 0x140084137
cmp dword [rsp + 0x38], 0
jne 0x140083fdb
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
shl eax, cl
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x3c]
jae 0x140084070
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xb8]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jg 0x14008405a
jmp 0x140084070
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
shl eax, 1
mov dword [rsp + 0x34], eax
jmp 0x14008401d
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov dword [rsp + 0x9c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x9c]
shl eax, cl
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x110], 1
jne 0x1400840ac
cmp dword [rsp + 0x4c], 0x354
jae 0x1400840c0
cmp dword [rsp + 0x110], 2
jne 0x1400840ca
cmp dword [rsp + 0x4c], 0x250
jb 0x1400840ca
mov eax, 1
jmp 0x140084264
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x48]
mov byte [rcx + rax*4], dl
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax*4 + 1], dl
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
sar rax, 2
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x128]
mov rdx, qword [rdx]
mov word [rdx + rcx*4 + 2], ax
jmp 0x140083da6
mov byte [rsp + 0x2c], 0x40
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x2d], al
xor eax, eax
mov word [rsp + 0x2e], ax
cmp dword [rsp + 0x28], 0
je 0x140084236
cmp dword [rsp + 0x38], 0
je 0x1400841a5
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x50]
je 0x1400841a5
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x2d], al
mov eax, dword [rsp + 0x38]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shr eax, cl
mov eax, eax
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x2c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0xa0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa0]
shl eax, cl
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400841fe
mov eax, dword [rsp + 0x30]
shr eax, 1
mov dword [rsp + 0x30], eax
jmp 0x1400841e2
cmp dword [rsp + 0x30], 0
je 0x140084229
mov eax, dword [rsp + 0x30]
dec eax
mov ecx, dword [rsp + 0x28]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140084231
mov dword [rsp + 0x28], 0
jmp 0x140084158
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x108
ret