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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rdi, rsp
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x30]
call fcn.14024ce30
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x42]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x140294388
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14029488f
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x58
mov rcx, qword [rsp + 0xf0]
lea rax, [rcx + rax + 0x398]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2d]
cmp eax, 0xa9
je 0x1402945ef
mov dword [rsp + 0x6c], 0
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x47]
cmp eax, 2
jne 0x14029457c
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x42]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x14029457c
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x200
test eax, eax
je 0x14029457c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x64]
shr eax, 7
and eax, 1
test eax, eax
je 0x14029457c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jle 0x14029457c
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
cmp eax, 0x24
jl 0x14029457c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x80], 0
jmp 0x14029449f
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x80], eax
jge 0x1402944e1
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x80]
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 8]
mov edx, 0x63
mov rcx, qword [rsp + 0x38]
call fcn.140279ef0
jmp 0x14029448f
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x38]
mov ecx, dword [rsp + 0x78]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2d]
cmp eax, 6
jne 0x140294514
mov dword [rsp + 0xd0], 0x18
jmp 0x14029451f
mov dword [rsp + 0xd0], 0x1b
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 8]
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x38]
call fcn.14027a120
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax + 0x34]
mov r8d, 1
mov edx, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x38]
call fcn.140279e90
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.14028a700
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2e]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 0x2d]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax + 0x34]
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x30]
mov edx, ecx
mov rcx, qword [rsp + 0x38]
call fcn.140279ef0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2f]
movzx edx, ax
mov rcx, qword [rsp + 0x38]
call fcn.14027a8c0
cmp dword [rsp + 0x6c], 0
je 0x1402945ed
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x38]
call fcn.140286870
jmp 0x140294601
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.14028a700
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x800
test eax, eax
je 0x14029470f
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x38], 0
jle 0x14029470f
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.14028a700
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
dec eax
cdqe
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x40]
mov qword [rsp + 0x88], rax
jmp 0x14029468c
mov eax, dword [rsp + 0x90]
dec eax
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x88]
sub rax, 0xc
mov qword [rsp + 0x88], rax
cmp dword [rsp + 0x90], 0
jle 0x14029470f
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140286870
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 8]
cmp eax, 0xa9
je 0x1402946f1
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 8]
mov rcx, qword [rsp + 0x88]
mov r9d, dword [rcx + 4]
mov rcx, qword [rsp + 0x88]
mov r8d, dword [rcx]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140279e90
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140286870
jmp 0x140294668
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
call fcn.14028a700
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x14], 0
je 0x140294767
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.140285df0
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.140286870
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140286870
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x28], 0
je 0x140294797
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
shr eax, 1
mov rcx, qword [rsp + 0x48]
mov r9d, dword [rcx + 0x28]
mov r8d, eax
mov edx, 0x3b
mov rcx, qword [rsp + 0x38]
call fcn.140279e90
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0
je 0x14029488a
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax]
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.140279e40
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x94]
and eax, 0x40
test eax, eax
jne 0x1402947f5
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 4]
mov edx, 0x7e
mov rcx, qword [rsp + 0x38]
call fcn.140279e40
mov eax, dword [rsp + 0x94]
and eax, 0x200
test eax, eax
jne 0x140294821
mov eax, dword [rsp + 0x94]
and eax, 0x2000
test eax, eax
je 0x140294839
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x38], 0
je 0x140294839
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 8]
mov edx, 0x7e
mov rcx, qword [rsp + 0x38]
call fcn.140279e40
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2d]
cmp eax, 0x3f
jne 0x14029486a
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax + 0x1c]
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x30]
mov edx, 0xe
mov rcx, qword [rsp + 0x38]
call fcn.140279e90
jmp 0x14029487c
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
call fcn.140285df0
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call fcn.140286870
jmp 0x14029437e
mov rax, qword [rsp + 0xf0]
mov edx, dword [rax + 0x38]
mov rcx, qword [rsp + 0x38]
call fcn.14028a700
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0xf0]
add rax, 0x398
mov qword [rsp + 0x48], rax
jmp 0x1402948d9
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 0x58
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x42]
cmp dword [rsp + 0x40], eax
jge 0x140294bb6
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x2c]
imul rax, rax, 0x78
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x140294985
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xb0]
mov r9d, dword [rax + 0x38]
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 4]
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.140298280
jmp 0x1402948c1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x240
test eax, eax
je 0x1402949a9
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa8], rax
jmp 0x1402949cb
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x2000
test eax, eax
je 0x1402949cb
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x140294bb1
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x45]
test eax, eax
je 0x140294a04
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x40]
and eax, 0x20
test eax, eax
je 0x140294bb1
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x61]
test eax, eax
jne 0x140294bb1
mov rcx, qword [rsp + 0x38]
call fcn.14027ad40
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x98], eax
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
call fcn.140285d90
mov qword [rsp + 0xa0], rax
jmp 0x140294a74
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x9c]
cmp dword [rsp + 0x98], eax
jge 0x140294bb1
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
je 0x140294a9f
jmp 0x140294a50
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
cmp eax, 0x63
jne 0x140294b59
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x40]
and eax, 0x20
test eax, eax
je 0x140294b0b
mov rcx, qword [rsp + 0xb8]
call fcn.14026b020
mov qword [rsp + 0xc8], rax
movsxd rax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0xc0], eax
movzx edx, word [rsp + 0xc0]
mov rcx, qword [rsp + 0xa8]
call fcn.140245b50
cwde
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jl 0x140294b57
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0xc0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
jmp 0x140294bac
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
cmp eax, 0x7d
jne 0x140294b89
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xa0]
mov byte [rax], 0x85
jmp 0x140294bac
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
cmp eax, 0x17
jne 0x140294bac
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
jmp 0x140294a50
jmp 0x1402948c1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x3c]
mov dword [rax + 0xb4], ecx
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x60]
call fcn.1402a4a10
add rsp, 0xe0
pop rdi
ret