Function at 0x7079c120
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov qword [rsp + 0x20], 0
lea rsi, [rsp + 0x40]
mov rbx, rcx
mov r13d, edx
lea rcx, [0x707ae260]
mov edx, 0x1c21bd8e
call fcn.707974f0
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], rax
lea rdi, [rbx + 2]
call fcn.707826e0
mov edx, 0x571d668a
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
lea rcx, [0x707ae220]
call fcn.707974f0
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov rax, qword [0x708fbe40]
call qword [rax]
mov rcx, rbx
movsxd rdx, eax
call fcn.7078f870
mov rcx, rsi
mov edx, 2
mov qword [rsp + 0x48], rax
lea rsi, [0x707ae0e0]
call fcn.707826e0
mov edx, 0x74f32b8e
lea rcx, [0x707ae120]
call fcn.707974f0
mov edx, 0x1066130a
mov rcx, rax
call fcn.70798ca0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r15, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop dword [rax + rax]
movzx eax, word [rbx]
mov rdx, rbx
test ax, ax
je 0x7079c230
nop dword [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x7079c540
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x7079c210
mov rcx, qword [r15 + 0x50]
movzx r14d, word [rcx]
test r14w, r14w
je 0x7079c562
mov rax, rcx
lea edx, [r14 - 0x41]
cmp dx, 0x19
ja 0x7079c570
add r14d, 0x20
add rax, 2
mov word [rax - 2], r14w
movzx r14d, word [rax]
test r14w, r14w
jne 0x7079c245
movzx r12d, word [rbx]
movzx r14d, word [rcx]
test r12w, r12w
je 0x7079c2d5
test r14w, r14w
je 0x7079c590
mov r11, rdi
mov eax, r12d
sub r11, rcx
jmp 0x7079c296
cmp word [rcx], 0
je 0x7079c2d5
movzx edx, word [rcx]
lea r10d, [rax - 0x41]
lea r9d, [rax + 0x20]
cmp r10w, 0x1a
cmovb eax, r9d
lea r10d, [rdx - 0x41]
lea r9d, [rdx + 0x20]
cmp r10w, 0x1a
cmovb edx, r9d
cmp ax, dx
jne 0x7079c590
mov rax, rcx
add rcx, 2
movzx eax, word [r11 + rax]
test ax, ax
jne 0x7079c290
mov edx, 0x2d486b2e
mov rcx, rsi
call fcn.707974f0
mov edx, 0x4045f36a
mov rcx, rax
call fcn.70798ca0
cmp r12w, r14w
je 0x7079c5af
mov r15, qword [r15]
cmp rbp, r15
jne 0x7079c200
lea rcx, [0x707ae060]
mov edx, 0x4023e1ce
mov qword [rsp + 0x50], 0
call fcn.707974f0
lea rsi, [rsp + 0x50]
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x50], rax
call fcn.707826e0
test r13d, r13d
je 0x7079c5f2
lea rcx, [0x707adf60]
mov edx, 0x147a182a
call fcn.707974f0
mov edx, 0x4585414a
mov rcx, rax
call fcn.70798ca0
mov rcx, rsi
mov rdx, rbx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x28], 0
call qword [0x70916e50]
mov r8, rsi
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
call qword [0x70916e20]
mov edx, 0x66340a0e
lea rcx, [0x707adf20]
mov esi, eax
call fcn.707974f0
mov edx, 0x3ac5c76e
mov rcx, rax
call fcn.70798ca0
test esi, esi
je 0x7079c640
mov qword [rsp + 0x30], 0
lea rdi, [rsp + 0x38]
mov ecx, 0x44
call fcn.70789af0
mov edx, 0x13
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.70789b20
mov rcx, qword [0x707adef0]
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
lea rdx, [rax + rdx + 0x10]
mov qword [rdx], rcx
mov rcx, qword [0x707adef8]
mov qword [rdx + 8], rcx
mov ecx, dword [0x707adf00]
mov dword [rdx + 0x10], ecx
mov rcx, rbx
add qword [rax], 0x13
mov rax, qword [0x708fbe40]
call qword [rax]
mov rcx, rbx
movsxd rdx, eax
call fcn.7078f870
xor r8d, r8d
mov rcx, rdi
mov rdx, rax
call fcn.70790690
mov rcx, qword [rsp + 0x38]
mov edx, 0xa
call fcn.70789b20
mov rcx, qword [0x707aded0]
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
lea rdx, [rax + rdx + 0x10]
mov qword [rdx], rcx
movzx ecx, word [0x707aded8]
mov word [rdx + 8], cx
movzx ecx, byte [0x707adeda]
mov byte [rdx + 0xa], cl
movsxd rcx, esi
add qword [rax], 0xa
call fcn.70781fa0
test rax, rax
mov rbx, rax
je 0x7079c829
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x38]
call fcn.70789b20
mov rcx, rdi
mov rdx, rax
call fcn.70789d50
mov rsi, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rax, qword [rsi]
lea rcx, [rsi + rax + 0x10]
mov rax, qword [rbx]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx]
add qword [rsi], rax
mov rcx, qword [rsp + 0x38]
mov edx, 2
call fcn.70789b20
movzx ecx, word [0x707add60]
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
lea rdx, [rax + rdx + 0x10]
mov word [rdx], cx
movzx ecx, byte [0x707add62]
mov byte [rdx + 2], cl
add qword [rax], 2
mov rcx, qword [rsp + 0x38]
call fcn.7078b300
lea rcx, [rsp + 0x30]
mov edx, 1
mov qword [rsp + 0x30], rax
call fcn.707826e0
cmp qword [rsp + 0x28], 0
jne 0x7079c535
lea rcx, [0x707add00]
mov edx, 1
call fcn.707826e0
xor eax, eax
jmp 0x7079c5e1
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x7079c210
mov rcx, qword [r15 + 0x50]
movzx r14d, word [rcx]
test r14w, r14w
jne 0x7079c242
movzx r12d, word [rbx]
jmp 0x7079c2d5
add rax, 2
movzx r14d, word [rax]
test r14w, r14w
jne 0x7079c245
jmp 0x7079c26a
mov rcx, rsi
mov edx, 0x2d486b2e
call fcn.707974f0
mov edx, 0x4045f36a
mov rcx, rax
call fcn.70798ca0
jmp 0x7079c2f9
lea rcx, [0x707ae0a0]
mov edx, 0x7700b96a
mov qword [rsp + 0x50], 0
call fcn.707974f0
lea rcx, [rsp + 0x50]
mov edx, 1
mov qword [rsp + 0x50], rax
call fcn.707826e0
mov rax, qword [r15 + 0x20]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x707ae020]
mov edx, 0x467c774a
call fcn.707974f0
mov edx, 0x181e2fce
mov rcx, rax
call fcn.70798ca0
mov edx, 0x3fefc96e
mov qword [rsp + 0x50], 0
lea rcx, [0x707adfe0]
call fcn.707974f0
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x50], rax
call fcn.707826e0
xor eax, eax
jmp 0x7079c5e1
mov qword [rsp + 0x30], 0
lea rsi, [rsp + 0x38]
mov ecx, 0x28
movabs rdi, 0x20646564616f4c
call fcn.70789af0
mov edx, 7
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.70789b20
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
mov qword [rax + rdx + 0x10], rdi
lea rdi, [rsp + 0x30]
add rdx, 7
mov qword [rax], rdx
mov rax, qword [0x708fbe40]
call qword [rax]
mov rcx, rbx
movsxd rdx, eax
call fcn.7078f870
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
call fcn.70790690
mov rcx, qword [rsp + 0x38]
mov edx, 0xe
call fcn.70789b20
mov rcx, qword [0x707adcf0]
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
lea rdx, [rax + rdx + 0x10]
mov qword [rdx], rcx
mov ecx, dword [0x707adcf8]
mov dword [rdx + 8], ecx
movzx ecx, word [0x707adcfc]
mov word [rdx + 0xc], cx
movzx ecx, byte [0x707adcfe]
mov byte [rdx + 0xe], cl
add qword [rax], 0xe
mov rcx, qword [rsp + 0x38]
call fcn.7078b300
mov edx, 1
mov rcx, rdi
mov qword [rsp + 0x30], rax
call fcn.707826e0
mov ecx, 0x36
mov qword [rsp + 0x30], 0
call fcn.70789af0
mov edx, 0xb
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.70789b20
mov rcx, qword [0x707adcd0]
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
lea rdx, [rax + rdx + 0x10]
mov qword [rdx], rcx
mov ecx, dword [0x707adcd8]
mov dword [rdx + 8], ecx
mov rcx, rbx
add qword [rax], 0xb
mov rax, qword [0x708fbe40]
call qword [rax]
mov rcx, rbx
movsxd rdx, eax
call fcn.7078f870
xor r8d, r8d
mov rcx, rsi
mov rdx, rax
call fcn.70790690
mov rcx, qword [rsp + 0x38]
mov edx, 4
call fcn.70789b20
mov ecx, dword [0x707adca0]
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
lea rdx, [rax + rdx + 0x10]
mov dword [rdx], ecx
movzx ecx, byte [0x707adca4]
mov byte [rdx + 4], cl
add qword [rax], 4
mov rcx, qword [rsp + 0x28]
call fcn.70781fa0
test rax, rax
mov rbx, rax
je 0x7079c845
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x38]
call fcn.70789b20
mov rcx, rsi
mov rdx, rax
call fcn.70789d50
mov rsi, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rax, qword [rsi]
lea rcx, [rsi + rax + 0x10]
mov rax, qword [rbx]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx]
add qword [rsi], rax
mov rcx, qword [rsp + 0x38]
call fcn.7078b300
mov edx, 1
mov rcx, rdi
mov qword [rsp + 0x30], rax
call fcn.707826e0
mov rax, qword [rsp + 0x28]
jmp 0x7079c5e1
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.70789b20
mov rcx, rdi
mov rdx, rax
call fcn.70789d50
jmp 0x7079c4ca
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.70789b20
mov rcx, rsi
mov rdx, rax
call fcn.70789d50
jmp 0x7079c803