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

Disassembly:
jmp 0x14002a6e0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x458
lea rcx, [rsp + 0x158]
call fcn.140004359
mov byte [rsp + 0x20], 0
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
test eax, eax
je 0x14002b240
mov eax, 1
imul rax, rax, 0
mov rcx, qword [0x14012f430]
movsx eax, byte [rcx + rax]
cmp eax, 0x24
jne 0x14002a78f
mov r9d, dword [rsp + 0x490]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0xc8]
call fcn.14000179e
lea rcx, [rsp + 0xc8]
call fcn.140004462
test eax, eax
jne 0x14002a78f
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x470]
call fcn.1400027ac
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
cmp eax, 0x41
jl 0x14002a7a8
mov dword [rsp + 0x40], 0x41
jmp 0x14002a7b0
mov dword [rsp + 0x40], socket
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x48]
call fcn.140004359
lea rcx, [rsp + 0x60]
call fcn.140004359
mov dword [rsp + 0x3c], 1
mov byte [rsp + 0x22], 0
mov byte [rsp + 0x23], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 4
je 0x14002a828
cmp dword [rsp + 0x38], 5
je 0x14002a8fe
cmp dword [rsp + 0x38], 6
je 0x14002aa8d
cmp dword [rsp + 0x38], 7
je 0x14002aabd
cmp dword [rsp + 0x38], 8
je 0x14002a9c7
jmp 0x14002aaed
call fcn.14000330f
test eax, eax
je 0x14002a8f9
call fcn.140001f05
test eax, eax
je 0x14002a8f9
lea rcx, [rsp + 0x48]
call fcn.140004462
test eax, eax
jne 0x14002a8c0
mov r8b, 0x20
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x48]
call fcn.140002207
mov qword [rsp + 0xb0], rax
mov edx, reloc.WS2_32.dll_inet_ntoa
lea rcx, [rsp + 0x1c8]
call fcn.1400022b1
lea rcx, [rsp + 0xf8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0xb0]
call fcn.140004728
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400024b4
jmp 0x14002a8f9
mov edx, reloc.WS2_32.dll_inet_ntoa
lea rcx, [rsp + 0x1e8]
call fcn.1400022b1
lea rcx, [rsp + 0x108]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x48]
call fcn.140001ad2
jmp 0x14002aaf5
call fcn.14000330f
test eax, eax
je 0x14002a9c2
lea rcx, [rsp + 0x60]
call fcn.140004462
test eax, eax
jne 0x14002a989
mov r8b, 0x20
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x60]
call fcn.140002207
mov qword [rsp + 0xb8], rax
mov edx, recv
lea rcx, [rsp + 0x208]
call fcn.1400022b1
lea rcx, [rsp + 0x118]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0xb8]
call fcn.140004728
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400024b4
jmp 0x14002a9c2
mov edx, recv
lea rcx, [rsp + 0x228]
call fcn.1400022b1
lea rcx, [rsp + 0x128]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x60]
call fcn.140001ad2
jmp 0x14002aaf5
call fcn.14000330f
test eax, eax
je 0x14002aa8b
lea rcx, [rsp + 0x48]
call fcn.140004462
test eax, eax
jne 0x14002aa52
mov r8b, 0x20
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x48]
call fcn.140002207
mov qword [rsp + 0xc0], rax
mov edx, reloc.WS2_32.dll_listen
lea rcx, [rsp + 0x248]
call fcn.1400022b1
lea rcx, [rsp + 0x138]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0xc0]
call fcn.140004728
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400024b4
jmp 0x14002aa8b
mov edx, reloc.WS2_32.dll_listen
lea rcx, [rsp + 0x268]
call fcn.1400022b1
lea rcx, [rsp + 0x148]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x48]
call fcn.140001ad2
jmp 0x14002aaf5
cmp dword [rsp + 0x490], 0
jne 0x14002aab6
mov edx, 2
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov byte [rsp + 0x22], 1
jmp 0x14002aaf5
cmp dword [rsp + 0x490], 0
jne 0x14002aae6
mov edx, 2
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov byte [rsp + 0x23], 1
jmp 0x14002aaf5
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x3c], 0
je 0x14002abd3
call fcn.1400029d2
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
test eax, eax
jne 0x14002ab32
mov edx, 1
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov eax, 1
imul rax, rax, 0
mov rcx, qword [0x14012f430]
movsx eax, byte [rcx + rax]
cmp eax, 0x24
jne 0x14002aba0
mov r9d, dword [rsp + 0x490]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0xd8]
call fcn.14000179e
lea rcx, [rsp + 0xd8]
call fcn.140004462
test eax, eax
jne 0x14002aba0
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x470]
call fcn.1400027ac
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
cmp eax, 0x41
jl 0x14002abb9
mov dword [rsp + 0x44], 0x41
jmp 0x14002abc1
mov dword [rsp + 0x44], socket
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x3c], 0
jne 0x14002a7e8
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
test eax, eax
je 0x14002abf1
call fcn.1400029d2
cmp dword [rsp + 0x24], 0x1f
ja 0x14002b21c
movsxd rax, dword [rsp + 0x480]
imul rax, rax, 0x10
lea rcx, [0x1400fb4a0]
lea rdx, [rsp + 0xe8]
mov rdi, rdx
lea rsi, [rcx + rax]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x28]
call fcn.14000295a
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x158]
call fcn.140003832
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
lea rcx, [rsp + 0x48]
call fcn.140004462
test eax, eax
jne 0x14002acaa
mov r8b, 0x20
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x28]
call fcn.140002207
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x70]
call fcn.140003832
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
lea rcx, [rsp + 0x60]
call fcn.140004462
test eax, eax
jne 0x14002acf6
mov r8b, 0x20
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x60]
call fcn.140002207
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x2b8]
mov rcx, qword [rsp + 0x78]
call fcn.140003832
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x14002ae78
cmp dword [rsp + 0x490], 0
je 0x14002ad2e
mov edx, 2
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
cmp dword [rsp + 0xf0], 0
jle 0x14002ae04
mov r8d, 2
lea rdx, [0x1400fbe38]
lea rcx, [rsp + 0x2c8]
call fcn.14000390e
lea rcx, [rsp + 0x168]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x2d8]
call fcn.140002fd1
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
test eax, eax
je 0x14002adde
lea rcx, [rsp + 0x2e8]
call fcn.140002a3b
mov qword [rsp + 0x80], rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x2f8]
mov rcx, qword [rsp + 0x80]
call fcn.140003832
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
jmp 0x14002ae02
lea r8, [rsp + 0x28]
mov edx, 1
lea rcx, [rsp + 0x308]
call fcn.140003940
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
jmp 0x14002ae2c
mov rax, qword [0x14012f430]
movsx eax, byte [rax]
test eax, eax
je 0x14002ae2c
lea rcx, [rsp + 0x318]
call fcn.140002a3b
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000234c
call fcn.140002c07
mov byte [rsp + 0x21], al
movsx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14002ae4f
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140002310
jmp 0x14002ae78
movsx eax, byte [rsp + 0x21]
cmp eax, 0x40
je 0x14002ae78
mov edx, 2
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
call fcn.14000330f
test eax, eax
je 0x14002aefc
mov eax, dword [rsp + 0x24]
and eax, 0xc
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xc
je 0x14002ae95
jmp 0x14002aefa
cmp dword [rsp + 0x490], 0
je 0x14002aebe
mov edx, 2
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
lea rcx, [rsp + 0x328]
call fcn.1400038e1
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x338]
mov rcx, qword [rsp + 0x88]
call fcn.140003832
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
jmp 0x14002af22
mov eax, dword [rsp + 0x24]
and eax, 0xc
cmp eax, 0xc
jne 0x14002af22
lea rcx, [rsp + 0x348]
call fcn.1400038e1
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000234c
mov eax, dword [rsp + 0x24]
and eax, 2
test eax, eax
je 0x14002af83
mov r8d, 9
lea rdx, [0x1400fc108]
lea rcx, [rsp + 0x358]
call fcn.14000390e
lea rcx, [rsp + 0x178]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x368]
call fcn.140002fd1
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
mov eax, dword [rsp + 0x24]
and eax, 1
test eax, eax
je 0x14002afe4
mov r8d, 6
lea rdx, str.const
lea rcx, [rsp + 0x378]
call fcn.14000390e
lea rcx, [rsp + 0x188]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x388]
call fcn.140002fd1
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14002b043
mov r8d, 2
lea rdx, [0x1400fc338]
lea rcx, [rsp + 0x398]
call fcn.14000390e
lea rcx, [rsp + 0x198]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x198]
lea rdx, [rsp + 0x3a8]
lea rcx, [rsp + 0x28]
call fcn.140004728
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14002b0a2
mov r8d, 3
lea rdx, [0x1400fc33c]
lea rcx, [rsp + 0x3b8]
call fcn.14000390e
lea rcx, [rsp + 0x1a8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0x28]
call fcn.140004728
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400024b4
cmp dword [rsp + 0x490], 0
jne 0x14002b1d2
mov rcx, qword [rsp + 0x478]
call fcn.140004462
test eax, eax
jne 0x14002b19d
mov rcx, qword [rsp + 0x478]
call fcn.140004057
test eax, eax
jne 0x14002b0e7
mov rcx, qword [rsp + 0x488]
call fcn.140004462
test eax, eax
je 0x14002b132
mov rcx, qword [rsp + 0x478]
call fcn.140002112
test eax, eax
je 0x14002b10c
mov rdx, qword [rsp + 0x478]
lea rcx, [rsp + 0x28]
call fcn.1400024b4
jmp 0x14002b130
mov r8, qword [rsp + 0x478]
mov dl, 0x20
lea rcx, [rsp + 0x3d8]
call fcn.140003440
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001005
jmp 0x14002b19b
mov r8, qword [rsp + 0x488]
mov dl, 0x20
lea rcx, [rsp + 0x3e8]
call fcn.140003440
mov qword [rsp + 0x90], rax
mov r8b, 0x20
lea rdx, [rsp + 0x3f8]
mov rcx, qword [rsp + 0x90]
call fcn.140002207
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x478]
lea rdx, [rsp + 0x408]
mov rcx, qword [rsp + 0x98]
call fcn.140003832
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001005
jmp 0x14002b1d2
mov rcx, qword [rsp + 0x488]
call fcn.140004462
test eax, eax
jne 0x14002b1d2
mov r8, qword [rsp + 0x488]
mov dl, 0x20
lea rcx, [rsp + 0x418]
call fcn.140003440
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001005
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14002b1f1
mov dl, 0x3e
lea rcx, [rsp + 0x28]
call fcn.140001ae6
lea rcx, [rsp + 0x28]
call fcn.140004390
lea rcx, [rsp + 0x28]
call fcn.14000245a
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x470]
call fcn.1400027ac
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov edx, 2
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
cmp dword [rsp + 0x490], 0
jne 0x14002b319
mov rcx, qword [rsp + 0x478]
call fcn.140004462
test eax, eax
jne 0x14002b319
mov rcx, qword [rsp + 0x478]
call fcn.140004057
test eax, eax
jne 0x14002b285
mov rcx, qword [rsp + 0x488]
call fcn.140004462
test eax, eax
je 0x14002b2ae
mov r8, qword [rsp + 0x478]
mov edx, 1
mov rcx, qword [rsp + 0x470]
call fcn.140003940
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov r8, qword [rsp + 0x488]
mov edx, 1
lea rcx, [rsp + 0x428]
call fcn.140003940
mov qword [rsp + 0xa0], rax
mov r8b, 0x20
lea rdx, [rsp + 0x438]
mov rcx, qword [rsp + 0xa0]
call fcn.140002207
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0x478]
mov rdx, qword [rsp + 0x470]
mov rcx, qword [rsp + 0xa8]
call fcn.140003832
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
cmp dword [rsp + 0x490], 0
jne 0x14002b35a
mov rcx, qword [rsp + 0x488]
call fcn.140004462
test eax, eax
jne 0x14002b35a
mov r8, qword [rsp + 0x488]
mov edx, 1
mov rcx, qword [rsp + 0x470]
call fcn.140003940
mov rax, qword [rsp + 0x470]
jmp 0x14002b374
mov edx, 1
mov rcx, qword [rsp + 0x470]
call fcn.1400040ca
mov rax, qword [rsp + 0x470]
add rsp, 0x458
pop rdi
pop rsi
ret