Function at 0x140164260
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x24]
and eax, 1
test eax, eax
jne 0x1401642a9
mov dword [rsp + 0x64], 1
jmp 0x1401642b1
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0xd8]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0xe0], 0
je 0x140164322
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xc8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x14016434d
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xc], 0
je 0x14016436e
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xc]
inc eax
mov dword [rsp + 0x68], eax
jmp 0x14016437d
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0xb0]
call fcn.1401c6920
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x1c], eax
cmp dword [rsp + 0xd0], 0
je 0x1401643b1
mov dword [rsp + 0x6c], 4
jmp 0x1401643b9
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
or eax, 1
mov byte [rsp + 0x20], al
mov r9d, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0xb0]
call fcn.1401995c0
cmp dword [rsp + 0x48], 0
je 0x14016441a
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov r9d, eax
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0xc]
mov edx, 0x7e
mov rcx, qword [rsp + 0x38]
call fcn.1401c7260
cmp dword [rsp + 0xe0], 0
jne 0x14016445d
cmp dword [rsp + 0xd8], 0
jle 0x14016445d
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x48]
mov r9d, dword [rsp + 0xd8]
mov r8d, eax
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
call fcn.14019c510
cmp dword [rsp + 0x44], 0
jle 0x140164772
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.140164910
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
mov rcx, qword [rsp + 0xb8]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x48]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x48], 0
je 0x140164511
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, qword [rsp + 0x38]
call fcn.1401c72b0
mov dword [rsp + 0x74], eax
jmp 0x140164530
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0xc]
mov edx, 0x78
mov rcx, qword [rsp + 0x38]
call fcn.1401c72b0
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x78]
mov edx, 0x5a
mov rcx, qword [rsp + 0x38]
call fcn.1401c7170
mov rax, qword [rsp + 0xb8]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.1401c58f0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x14016458d
jmp 0x1401648ff
mov eax, dword [rsp + 0xd8]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 6]
mov r8d, eax
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x18]
call fcn.1400d9680
mov r9d, 0xfffffff8
mov r8, qword [rsp + 0x88]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x38]
call fcn.1401c5a20
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 8]
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 6]
sub eax, ecx
dec eax
mov r9d, eax
mov r8d, dword [rsp + 0x44]
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0xb0]
call fcn.140162ed0
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x90], 0
mov rcx, qword [rsp + 0x38]
call fcn.1401c64a0
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
inc eax
mov ecx, dword [rsp + 0x58]
inc ecx
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, ecx
mov edx, select
mov rcx, qword [rsp + 0x38]
call fcn.1401c7170
mov rcx, qword [rsp + 0xb0]
call fcn.1401c6920
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 0x14]
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0x10]
mov edx, 0xa
mov rcx, qword [rsp + 0x38]
call fcn.1401c7260
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0xc]
mov edx, 0x92
mov rcx, qword [rsp + 0x38]
call fcn.1401c72b0
cmp dword [rsp + 0x4c], 0
je 0x140164734
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 0x1c]
mov r8d, dword [rsp + 0x4c]
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, qword [rsp + 0x38]
call fcn.1401c7260
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x38]
call fcn.1401c60b0
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 8]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.14019c510
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.1401c60b0
cmp dword [rsp + 0x4c], 0
je 0x140164816
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x38]
call fcn.1401c64a0
add eax, 4
mov r9d, eax
mov r8d, dword [rsp + 0x4c]
mov edx, 0x3c
mov rcx, qword [rsp + 0x38]
call fcn.1401c7260
xor r9d, r9d
mov r8d, dword [rsp + 0x5c]
mov edx, 0x20
mov rcx, qword [rsp + 0x38]
call fcn.1401c7260
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8d, dword [rsp + 0x5c]
mov edx, 0x28
mov rcx, qword [rsp + 0x38]
call fcn.1401c7070
mov dword [rsp + 0x60], eax
mov r8d, dword [rsp + 0x5c]
mov edx, 0x82
mov rcx, qword [rsp + 0x38]
call fcn.1401c72b0
cmp dword [rsp + 0x54], 0
jne 0x14016484b
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.140164910
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x24]
and eax, 1
test eax, eax
je 0x140164868
mov dword [rsp + 0x7c], 0x8b
jmp 0x140164870
mov dword [rsp + 0x7c], 0x8a
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x30]
add edx, ecx
mov ecx, edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x54]
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0xc]
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x38]
call fcn.1401c7070
cmp dword [rsp + 0x60], 0
je 0x1401648ff
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0x20], 0
je 0x1401648d8
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x80], eax
jmp 0x1401648e9
mov rcx, qword [rsp + 0x38]
call fcn.1401c64a0
mov dword [rsp + 0x80], eax
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.1401c61e0
add rsp, 0xa8
ret