Function at 0x1800024e0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rsi
push r14
sub rsp, 0x70
mov eax, dword [rcx + 0x10]
xor esi, esi
test byte [rcx + 0xf8], 2
mov r10d, r8d
mov r14, rdx
mov dword [rsp + 0x3c], eax
mov rbx, rcx
mov dword [rsp + 0xa8], esi
mov dword [rsp + 0x34], esi
je 0x180002536
cmp qword [rcx + 0x108], rsi
je 0x180002536
mov r9d, r8d
lea edx, [rsi + 2]
lea r8, str._RI___d_bytes
call fcn.180001d10
mov r10d, dword [rsp + 0xa0]
test r14, r14
je 0x180002d17
cmp r10d, 0x18
jl 0x180002d17
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r15
mov eax, dword [rbx]
sub r10d, 0x18
movzx r13d, byte [r14 + 0xb]
mov r11d, 1
movzx edi, byte [r14 + 0xf]
movzx r12d, byte [r14 + 0x13]
movzx r9d, byte [r14 + 0x17]
movzx ebp, byte [r14 + 4]
movzx edx, byte [r14 + 7]
movzx r8d, byte [r14 + 6]
mov dword [rsp + 0x38], eax
movzx eax, byte [r14 + 5]
mov byte [rsp + 0x90], al
movzx eax, byte [r14 + 0xa]
shl r13d, 8
add r13d, eax
shl edi, 8
movzx eax, byte [r14 + 9]
shl r12d, 8
shl r9d, 8
shl r13d, 8
add r13d, eax
mov dword [rsp + 0xa0], r10d
movzx eax, byte [r14 + 8]
shl r13d, 8
add r13d, eax
movzx eax, byte [r14 + 0xe]
add edi, eax
movzx eax, byte [r14 + 0xd]
shl edi, 8
add edi, eax
movzx eax, byte [r14 + 0xc]
shl edi, 8
add edi, eax
movzx eax, byte [r14 + 0x12]
add r12d, eax
movzx eax, byte [r14 + 0x11]
shl r12d, 8
add r12d, eax
movzx eax, byte [r14 + 0x10]
shl r12d, 8
add r12d, eax
movzx eax, byte [r14 + 0x16]
add r9d, eax
movzx eax, byte [r14 + 0x15]
shl r9d, 8
add r9d, eax
movzx eax, byte [r14 + 0x14]
shl r9d, 8
add r9d, eax
lea rax, [r14 + 0x18]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x30], r9d
cmp r10d, r9d
jl 0x180002d10
test r9d, r9d
js 0x180002d10
lea eax, [rbp - 0x51]
cmp al, 3
ja 0x180002d09
lea r14, [rbx + 0xa8]
mov r15d, edx
mov rcx, qword [r14]
shl r15d, 8
add r15d, r8d
mov dword [rbx + 0x40], r15d
cmp rcx, r14
je 0x1800026dd
nop
mov rsi, qword [rcx]
mov eax, r12d
sub eax, dword [rcx + 0x24]
test eax, eax
jle 0x1800026c8
mov rax, qword [rcx + 8]
mov qword [rsi + 8], rax
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
mov qword [rdx], rax
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov rax, qword [0x180045f90]
test rax, rax
je 0x1800026b8
call rax
jmp 0x1800026bd
call fcn.180010558
dec dword [rbx + 0x60]
mov rcx, rsi
cmp rsi, r14
jne 0x180002680
mov esi, dword [rsp + 0xa8]
mov r11d, 1
mov r10d, dword [rsp + 0xa0]
mov r8, qword [r14]
cmp r8, r14
je 0x1800026eb
mov eax, dword [r8 + 0x24]
jmp 0x1800026ee
mov eax, dword [rbx + 0x14]
mov dword [rbx + 0x10], eax
cmp bpl, 0x52
jne 0x180002868
mov r9d, dword [rbx + 0x4c]
sub r9d, r13d
js 0x180002790
mov r10d, dword [rbx + 0x2c]
test r10d, r10d
jne 0x180002724
mov eax, r9d
mov dword [rbx + 0x2c], r9d
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [rbx + 0x28], eax
jmp 0x18000276b
mov ecx, r9d
mov eax, r10d
sub eax, r9d
sub ecx, r10d
cmovns eax, ecx
mov ecx, dword [rbx + 0x28]
lea edx, [rcx + rcx*2]
add eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, eax
mov dword [rbx + 0x28], eax
imul eax, r10d, 7
add eax, r9d
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rbx + 0x2c], eax
mov r9d, eax
cmp eax, 1
jge 0x18000276b
mov dword [rbx + 0x2c], r11d
mov r9d, r11d
lea ecx, [rcx*4]
mov eax, 0xea60
cmp dword [rbx + 0x50], ecx
cmovae ecx, dword [rbx + 0x50]
add ecx, r9d
cmp dword [rbx + 0x34], ecx
cmovae ecx, dword [rbx + 0x34]
cmp ecx, eax
cmovbe eax, ecx
mov dword [rbx + 0x30], eax
cmp edi, dword [rbx + 0x10]
js 0x1800027eb
cmp edi, dword [rbx + 0x14]
jns 0x1800027eb
cmp r8, r14
je 0x1800027eb
nop
cmp edi, dword [r8 + 0x24]
je 0x1800027b2
js 0x1800027eb
mov r8, qword [r8]
cmp r8, r14
jne 0x1800027a0
jmp 0x1800027eb
mov rdx, qword [r8]
mov rcx, r8
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov rax, qword [r8]
mov rdx, qword [r8 + 8]
mov qword [rdx], rax
xor eax, eax
mov qword [r8], rax
mov qword [r8 + 8], rax
mov rax, qword [0x180045f90]
test rax, rax
je 0x1800027e3
call rax
jmp 0x1800027e8
call fcn.180010558
dec dword [rbx + 0x60]
mov rax, qword [r14]
cmp rax, r14
je 0x1800027f8
mov eax, dword [rax + 0x24]
jmp 0x1800027fb
mov eax, dword [rbx + 0x14]
cmp dword [rsp + 0x34], 0
mov r15d, 1
mov dword [rbx + 0x10], eax
jne 0x18000281b
mov dword [rsp + 0x34], r15d
mov esi, edi
mov dword [rsp + 0xa8], edi
jmp 0x18000282b
mov eax, edi
sub eax, esi
test eax, eax
cmovg esi, edi
mov dword [rsp + 0xa8], esi
mov edx, 0x20
mov rcx, rbx
call fcn.180001dc0
test eax, eax
je 0x180002b92
mov ecx, dword [rbx + 0x4c]
lea r8, str.input_ack:_sn_lu_rtt_ld_rto_ld
mov eax, dword [rbx + 0x30]
sub ecx, r13d
mov dword [rsp + 0x28], eax
mov r9d, edi
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.180001d10
jmp 0x180002b92
cmp bpl, 0x51
jne 0x180002b4c
test byte [rbx + 0xf8], 0x10
je 0x1800028a1
cmp qword [rbx + 0x108], 0
je 0x1800028a1
mov r9d, edi
mov dword [rsp + 0x20], r13d
lea r8, str.input_psh:_sn_lu_ts_lu
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.180001d10
mov eax, edi
sub eax, dword [rbx + 0x3c]
cmp eax, dword [rbx + 0x18]
jns 0x180002b85
mov ecx, dword [rbx + 0xd0]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 0xd4]
jbe 0x180002982
mov esi, 8
cmp eax, esi
jbe 0x1800028d6
nop dword [rax]
add esi, esi
cmp esi, eax
jb 0x1800028d0
mov rax, qword [0x180045f88]
mov ecx, esi
shl rcx, 3
test rax, rax
je 0x1800028ec
call rax
jmp 0x1800028f1
call fcn.180010818
mov rbp, rax
test rax, rax
je 0x180002d25
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x18000296f
xor r9d, r9d
cmp dword [rbx + 0xd0], r9d
jbe 0x18000295a
mov rax, qword [rbx + 0xc8]
lea r8d, [r9 + r9]
lea rdx, [r8*4]
inc r9d
mov ecx, dword [rdx + rax]
lea eax, [r8 + 1]
mov dword [rdx + rbp], ecx
lea rdx, [rax*4]
mov rax, qword [rbx + 0xc8]
mov ecx, dword [rdx + rax]
mov dword [rdx + rbp], ecx
cmp r9d, dword [rbx + 0xd0]
jb 0x180002915
mov rcx, qword [rbx + 0xc8]
mov rax, qword [0x180045f90]
test rax, rax
je 0x18000296a
call rax
jmp 0x18000296f
call fcn.180010558
mov ecx, dword [rbx + 0xd0]
mov qword [rbx + 0xc8], rbp
mov dword [rbx + 0xd4], esi
mov rax, qword [rbx + 0xc8]
add ecx, ecx
mov dword [rax + rcx*4], edi
mov dword [rax + rcx*4 + 4], r13d
inc dword [rbx + 0xd0]
cmp edi, dword [rbx + 0x18]
js 0x180002b85
mov ebp, dword [rsp + 0x30]
mov rax, qword [0x180045f88]
movsxd rcx, ebp
add rcx, 0x48
test rax, rax
je 0x1800029bd
call rax
jmp 0x1800029c2
call fcn.180010818
mov rsi, rax
mov eax, dword [rsp + 0x38]
mov dword [rsi + 0x10], eax
movzx eax, byte [rsp + 0x90]
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x14], 0x51
mov dword [rsi + 0x1c], r15d
mov dword [rsi + 0x20], r13d
mov dword [rsi + 0x24], edi
mov dword [rsi + 0x28], r12d
mov dword [rsi + 0x2c], ebp
test ebp, ebp
je 0x180002a0b
mov rdx, qword [rsp + 0x98]
lea rcx, [rsi + 0x40]
mov r8, rbp
call fcn.18000d580
mov edi, dword [rsi + 0x24]
mov ecx, dword [rbx + 0x18]
mov eax, edi
sub eax, ecx
cmp eax, dword [rbx + 0x3c]
jns 0x180002b18
cmp edi, ecx
js 0x180002b18
mov rcx, qword [rbx + 0xc0]
lea r14, [rbx + 0xb8]
cmp rcx, r14
je 0x180002a5c
nop word [rax + rax]
mov edx, dword [rcx + 0x24]
cmp edx, edi
je 0x180002af8
mov eax, edi
sub eax, edx
test eax, eax
jg 0x180002a5c
mov rcx, qword [rcx + 8]
cmp rcx, r14
jne 0x180002a40
mov qword [rsi], rsi
mov qword [rsi + 8], rcx
mov rax, qword [rcx]
mov qword [rsi], rax
mov rax, qword [rcx]
mov qword [rax + 8], rsi
mov qword [rcx], rsi
inc dword [rbx + 0x5c]
mov rdx, qword [r14]
cmp r14, rdx
je 0x180002ae6
mov eax, dword [rbx + 0x18]
cmp dword [rdx + 0x24], eax
jne 0x180002ae6
mov eax, dword [rbx + 0x3c]
cmp dword [rbx + 0x64], eax
jae 0x180002ae6
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
mov qword [rcx], rax
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0xa0]
dec dword [rbx + 0x5c]
mov qword [rdx + 8], rax
lea rax, [rbx + 0x98]
mov qword [rdx], rax
mov rax, qword [rbx + 0xa0]
mov qword [rax], rdx
inc dword [rbx + 0x18]
inc dword [rbx + 0x64]
mov eax, dword [rbx + 0x18]
mov qword [rbx + 0xa0], rdx
mov rdx, qword [r14]
cmp r14, rdx
jne 0x180002a81
mov esi, dword [rsp + 0xa8]
mov r15d, 1
jmp 0x180002b96
mov rax, qword [0x180045f90]
mov rcx, rsi
test rax, rax
je 0x180002b0e
call rax
jmp 0x180002a76
call fcn.180010558
jmp 0x180002a76
mov rax, qword [0x180045f90]
mov rcx, rsi
test rax, rax
je 0x180002b38
call rax
mov esi, dword [rsp + 0xa8]
mov r15d, 1
jmp 0x180002b96
call fcn.180010558
mov esi, dword [rsp + 0xa8]
mov r15d, 1
jmp 0x180002b96
cmp bpl, 0x53
jne 0x180002bc0
or dword [rbx + 0x48], 2
test byte [rbx + 0xf8], 0x40
je 0x180002bf6
cmp qword [rbx + 0x108], 0
je 0x180002bf6
lea r8, str.input_probe
mov edx, 0x40
mov rcx, rbx
call fcn.180001d10
mov esi, dword [rsp + 0xa8]
mov r15d, 1
mov ebp, dword [rsp + 0x30]
mov r10d, dword [rsp + 0xa0]
mov r14, qword [rsp + 0x98]
sub r10d, ebp
mov eax, ebp
add r14, rax
cmp r10d, 0x18
jl 0x180002c09
mov esi, dword [rsp + 0xa8]
jmp 0x180002562
cmp bpl, 0x54
jne 0x180002d09
test byte [rbx + 0xf8], 0x80
je 0x180002bf6
cmp qword [rbx + 0x108], 0
je 0x180002bf6
mov r9d, r15d
lea r8, str.input_wins:__lu
mov edx, 0x80
mov rcx, rbx
call fcn.180001d10
jmp 0x180002b85
mov esi, dword [rsp + 0xa8]
mov r15d, 1
mov ebp, dword [rsp + 0x30]
jmp 0x180002b9e
cmp dword [rsp + 0x34], 0
je 0x180002c45
cmp esi, dword [rbx + 0x10]
js 0x180002c45
cmp esi, dword [rbx + 0x14]
jns 0x180002c45
lea r9, [rbx + 0xa8]
mov rcx, qword [r9]
cmp rcx, r9
je 0x180002c45
nop dword [rax]
cmp esi, dword [rcx + 0x24]
mov r8, qword [rcx]
js 0x180002c45
je 0x180002c3d
inc dword [rcx + 0x38]
mov rcx, r8
cmp r8, r9
jne 0x180002c30
mov eax, dword [rbx + 0x10]
sub eax, dword [rsp + 0x3c]
test eax, eax
jle 0x180002ce5
mov r11d, dword [rbx + 0x44]
mov r9d, dword [rbx + 0x40]
cmp r11d, r9d
jae 0x180002ce5
mov r8d, dword [rbx + 8]
mov r10d, dword [rbx + 0x80]
cmp r11d, dword [rbx + 0x24]
jae 0x180002c89
inc r11d
lea eax, [r10 + r8]
mov dword [rbx + 0x44], r11d
mov dword [rbx + 0x80], eax
jmp 0x180002cd1
cmp r10d, r8d
mov eax, r8d
cmovb r10d, r8d
imul eax, r8d
xor edx, edx
div r10d
mov edx, r8d
add eax, r10d
shr edx, 4
add edx, eax
lea eax, [r11 + 1]
imul eax, r8d
mov dword [rbx + 0x80], edx
cmp eax, edx
ja 0x180002ce5
lea eax, [r8 - 1]
add eax, edx
test r8d, r8d
cmovne r15d, r8d
xor edx, edx
div r15d
mov r11d, eax
mov dword [rbx + 0x44], eax
cmp r11d, r9d
jbe 0x180002ce5
mov dword [rbx + 0x44], r9d
imul r9d, r8d
mov dword [rbx + 0x80], r9d
xor eax, eax
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x50]
add rsp, 0x70
pop r14
pop rsi
pop rbx
ret
mov eax, 0xfffffffd
jmp 0x180002ce7
mov eax, 0xfffffffe
jmp 0x180002ce7
mov eax, 0xffffffff
add rsp, 0x70
pop r14
pop rsi
pop rbx
ret
call fcn.180010820
int3