Function at 0x14006d810
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rax, qword [0x1403825a0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, qword [0x1403b7180]
mov ecx, 0x64
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r13
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, 0x64
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, reloc.WS2_32.dll_sendto
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x14006d861
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test r12d, r12d
je 0x14006dbe6
mov rcx, qword gs:[0x58]
mov eax, dword [0x1403b7878]
mov qword [rsp + 0x90], r14
mov r14d, 4
add r14, qword [rcx]
mov qword [rsp + 0xa0], r15
cmp eax, dword [r14]
jle 0x14006d90d
lea rcx, [0x1403b7878]
call fcn.140262f50
mov eax, dword [0x1403b7878]
cmp eax, 0xffffffff
jne 0x14006d90d
lea rcx, [0x1402aafb0]
mov qword [0x1403b7880], rbx
mov qword [0x1403b7888], 0xffffffffffffffff
call fcn.1402632e0
lea rcx, [0x1403b7878]
call fcn.140262ee4
mov eax, dword [0x1403b7878]
mov dword [0x1403b7880], edi
cmp eax, dword [r14]
jle 0x14006d957
lea rcx, [0x1403b7878]
call fcn.140262f50
cmp dword [0x1403b7878], 0xffffffff
jne 0x14006d957
lea rcx, [0x1402aafb0]
mov qword [0x1403b7880], rbx
mov qword [0x1403b7888], 0xffffffffffffffff
call fcn.1402632e0
lea rcx, [0x1403b7878]
call fcn.140262ee4
mov edx, dword [rbp + 0x50]
lea rcx, [0x1403b7880]
call fcn.140081420
mov r8, rbp
mov rdx, r13
mov rcx, rax
mov r15, rax
call fcn.14006d430
test eax, eax
jne 0x14006da12
mov ecx, dword [r14]
cmp dword [0x1403b7878], ecx
jle 0x14006d9c9
lea rcx, [0x1403b7878]
call fcn.140262f50
cmp dword [0x1403b7878], 0xffffffff
jne 0x14006d9c9
lea rcx, [0x1402aafb0]
mov qword [0x1403b7880], rbx
mov qword [0x1403b7888], 0xffffffffffffffff
call fcn.1402632e0
lea rcx, [0x1403b7878]
call fcn.140262ee4
mov rcx, qword [0x1403b7888]
mov eax, dword [0x1403b7880]
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], r15
cmp rcx, 0xffffffffffffffff
je 0x14006da12
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov r9d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x28], ebx
mov edx, 0x3009d4e0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r8, rbp
mov rdx, r13
mov ecx, r12d
call fcn.14006d5c0
test eax, eax
jne 0x14006dabb
mov eax, dword [r14]
cmp dword [0x1403b7878], eax
jle 0x14006da72
lea rcx, [0x1403b7878]
call fcn.140262f50
cmp dword [0x1403b7878], 0xffffffff
jne 0x14006da72
lea rcx, [0x1402aafb0]
mov qword [0x1403b7880], rbx
mov qword [0x1403b7888], 0xffffffffffffffff
call fcn.1402632e0
lea rcx, [0x1403b7878]
call fcn.140262ee4
mov rcx, qword [0x1403b7888]
mov eax, dword [0x1403b7880]
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], r15
cmp rcx, 0xffffffffffffffff
je 0x14006dabb
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov r9d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x28], ebx
mov edx, 0x3009d4e0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx edi, word [rbp + 0x14]
movzx esi, bx
add rdi, 0x2c
cmp bx, word [rbp + 6]
jae 0x14006db43
add rdi, rbp
nop
mov eax, dword [r14]
cmp dword [0x1403b7878], eax
jle 0x14006db1a
lea rcx, [0x1403b7878]
call fcn.140262f50
cmp dword [0x1403b7878], 0xffffffff
jne 0x14006db1a
lea rcx, [0x1402aafb0]
mov qword [0x1403b7880], rbx
mov qword [0x1403b7888], 0xffffffffffffffff
call fcn.1402632e0
lea rcx, [0x1403b7878]
call fcn.140262ee4
mov r8d, dword [rdi]
lea rcx, [0x1403b7880]
mov edx, dword [rdi - 8]
add r8, r13
mov r9d, dword [rdi - 4]
add rdx, r15
call fcn.140081370
inc si
add rdi, 0x28
cmp si, word [rbp + 6]
jb 0x14006dad0
mov r8, rbp
mov rdx, r15
mov ecx, r12d
call fcn.14006cee0
movzx esi, word [rbp + 0x14]
mov r14, qword [rsp + 0x90]
add rsi, 0x28
cmp bx, word [rbp + 6]
jae 0x14006dbcd
add rsi, rbp
nop word [rax + rax]
mov eax, dword [rsi]
test eax, eax
je 0x14006dbc0
test dword [rsi + 0x14], 0x2000000
je 0x14006dbc0
xor ecx, ecx
mov edx, eax
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
call fcn.14006b180
mov edx, dword [rsi - 4]
mov r8, rdi
mov r9d, dword [rsi]
add rdx, r15
mov rcx, rax
call fcn.140081370
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
inc bx
add rsi, 0x28
cmp bx, word [rbp + 6]
jb 0x14006db70
xor edx, edx
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140262e10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret