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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov rax, qword [0x1407df338]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x128], rax
lea rax, [0x1401dc5f5]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rsp + 0x160]
call fcn.140081190
cmp qword [rsp + 0x178], rax
jbe 0x140083920
call fcn.140080800
cmp qword [rsp + 0x178], 0x10
jb 0x140083b0b
mov rcx, qword [rsp + 0x160]
call fcn.140081190
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x178]
call fcn.14007fda0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 1
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x1400839c2
cmp qword [rsp + 0x48], 0x1000
jb 0x1400839c2
mov rcx, qword [rsp + 0x48]
call fcn.140070120
mov qword [rsp + 0x58], rax
jmp 0x1400839e4
cmp qword [rsp + 0x48], 0
je 0x1400839db
mov rcx, qword [rsp + 0x48]
call fcn.1401b6550
mov qword [rsp + 0x58], rax
jmp 0x1400839e4
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x23], 0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140083a3b
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x140]
mov qword [rax], rcx
jmp 0x140083a6b
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x140]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140083b0b
mov qword [rsp + 0x50], 0
jmp 0x140083abf
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
inc rax
cmp qword [rsp + 0x50], rax
jae 0x140083b0b
mov qword [rsp + 0xe0], 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rdi, qword [rsp + 0xd8]
xor eax, eax
mov rcx, qword [rsp + 0xe0]
rep stosb byte [rdi], al
jmp 0x140083ab2
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x138], rax
jmp 0x140083b31
mov rax, qword [rsp + 0x168]
add rax, 2
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x170]
cmp qword [rsp + 0x168], rax
je 0x140083c5d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0x10
jb 0x140083b6a
mov dword [rsp + 0x3c], 1
jmp 0x140083b72
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140083ba4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x168]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0xf0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x26], 0
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140083c37
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140083c29
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
jmp 0x140083c35
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
jmp 0x140083c43
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
inc rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
jmp 0x140083b1d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0x10
jb 0x140083c80
mov dword [rsp + 0x40], 1
jmp 0x140083c88
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x140083cba
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x21], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x29], 0
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x140083d43
mov byte [rsp + 0x2a], 0
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x140083d35
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
movzx ecx, byte [rsp + 0x21]
mov byte [rax], cl
jmp 0x140083d41
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x21]
mov byte [rax], cl
jmp 0x140083d4f
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x21]
mov byte [rax], cl
mov qword [rsp + 0x138], 0
cmp qword [rsp + 0x138], 0
je 0x140083d73
mov rcx, qword [rsp + 0x138]
call fcn.140004a20
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1401b6900
add rsp, 0x150
pop rdi
ret