Function at 0x180148f80
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 rsi
push rdi
sub rsp, 0x178
mov rax, qword [rsp + 0x190]
add rax, 0x30
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov dword [rax], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x24], 2
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x190]
call fcn.180149b30
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x180149014
mov dword [rsp + 0x68], 1
jmp 0x18014901c
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
test eax, eax
je 0x180149085
mov rax, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x198]
lea rsi, [rax + 0x30]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x198]
jmp 0x180149aec
xor eax, eax
test eax, eax
jne 0x180148ffc
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
test eax, eax
je 0x180149a71
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
xor eax, eax
cmp eax, 1
je 0x1801490df
movzx eax, byte [rsp + 0x31]
lea rcx, str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x6c], eax
jmp 0x1801490e7
mov dword [rsp + 0x6c], 0xa
movsxd rax, dword [rsp + 0x6c]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0xb
lea rdx, [0x1802cdbe0]
add rdx, rcx
mov rcx, rdx
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc
ja case.0x18014913d.2
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x149af8]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x24], 7
je 0x180149162
cmp dword [rsp + 0x24], 0xb
jne 0x18014916c
mov dword [rsp + 0x44], 8
jmp 0x18014917b
cmp dword [rsp + 0x24], 0xd
jne 0x18014917b
mov dword [rsp + 0x44], 5
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x60], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x20]
sub rcx, rdx
cmp rax, rcx
jle 0x1801491ba
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.1801532d0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x100], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x100]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x58], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x20]
sub rcx, rdx
cmp rax, rcx
jle 0x180149233
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.1801532d0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x108], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x108]
mov dword [rax], 0
cmp dword [rsp + 0x2c], 3
jne 0x180149287
mov rcx, qword [rsp + 0x1a8]
call fcn.180151840
mov byte [rsp + 0x28], al
jmp 0x180149298
mov rcx, qword [rsp + 0x1a8]
call fcn.180151700
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x180149317
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x190]
add rax, 0x30
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov dword [rax], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 8], rcx
xor eax, eax
test eax, eax
jne 0x1801492aa
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x3c], al
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
mov r9b, 1
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x190]
call fcn.18014cd00
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x18014938a
mov dword [rsp + 0x80], 1
jmp 0x180149395
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x1801493b0
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x190]
call fcn.180149ec0
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x18014942a
mov dword [rsp + 0x70], 1
jmp 0x180149432
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x180149448
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x190]
call fcn.180149ec0
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x18014948a
mov dword [rsp + 0x74], 1
jmp 0x180149492
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x1801494a8
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x3d], al
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x18]
mov eax, dword [rax - 4]
inc eax
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x18]
mov ecx, dword [rsp + 0x84]
mov dword [rax - 4], ecx
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
xor eax, eax
cmp eax, 1
je 0x180149594
cmp dword [rsp + 0x24], 0xc
jne 0x180149594
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x190]
add rax, 0x30
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov dword [rax], 4
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
xor eax, eax
test eax, eax
jne 0x180149529
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x88], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x18]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x24], 5
jne 0x1801495fe
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x90], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x18]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 2
jne 0x180149666
mov dword [rsp + 0x4c], 0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x1a8]
call fcn.1801517a0
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
test eax, eax
jne 0x1801496f1
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x190]
add rax, 0x30
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov dword [rax], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x130]
mov qword [rax + 8], rcx
xor eax, eax
test eax, eax
jne 0x180149684
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x3e], al
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
xor eax, eax
cmp eax, 1
je 0x1801497a2
cmp dword [rsp + 0x24], 0xb
jne 0x1801497a2
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x190]
add rax, 0x30
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov dword [rax], 3
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x138]
mov qword [rax + 8], rcx
xor eax, eax
test eax, eax
jne 0x180149737
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x98], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 0x18]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x24], 8
jne 0x18014980c
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xa0], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x18]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 2
jne 0x180149874
mov dword [rsp + 0x54], 0
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x1a8]
call fcn.180151660
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x1801498ff
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x190]
add rax, 0x30
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov dword [rax], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x150]
mov qword [rax + 8], rcx
xor eax, eax
test eax, eax
jne 0x180149892
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x3f], al
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
jmp 0x18014998c
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x190]
call fcn.180149ec0
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x180149969
mov dword [rsp + 0x78], 1
jmp 0x180149971
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x180149984
mov dword [rsp + 0x20], 1
jmp 0x18014998c
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 1
jne 0x1801499b1
mov r8, qword [rsp + 0x1a0]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x190]
call fcn.18014c010
jmp 0x180149a71
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
xor eax, eax
test eax, eax
je 0x1801499c4
jmp 0x180149a71
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x190]
call fcn.180149b30
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x30], 0
je 0x1801499f1
mov dword [rsp + 0x7c], 1
jmp 0x1801499f9
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x7c]
test eax, eax
je 0x180149a62
mov rax, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x198]
lea rsi, [rax + 0x30]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x198]
jmp 0x180149aec
xor eax, eax
test eax, eax
jne 0x1801499d9
jmp 0x18014908f
cmp dword [rsp + 0x24], 0
je 0x180149a91
mov r8, qword [rsp + 0x1a0]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x190]
call fcn.18014c010
mov rax, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x198]
lea rsi, [rax + 0x30]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x10]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x198]
add rsp, 0x178
pop rdi
pop rsi
ret