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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov r8d, 3
lea rdx, [0x1400c8eec]
mov rcx, qword [rcx + 0x1a0]
call sub.MSVCR120.dll_memcmp
test eax, eax
je 0x1400794bf
mov eax, 1
jmp 0x140079b79
mov rcx, qword [rsi + 0x1a0]
cmp dword [rcx + 0xc], 0x57b
je 0x1400794d9
mov eax, 2
jmp 0x140079b79
mov eax, dword [rcx + 0x84]
mov dword [rsi + 0x110], eax
mov eax, dword [rcx + 0x88]
mov dword [rsi + 0x114], eax
mov rax, qword [rcx + 0xa8]
mov qword [rsi + 0x118], rax
mov eax, dword [rcx + 0xb0]
mov dword [rsi + 0x90], eax
mov eax, dword [rcx + 0x8c]
mov dword [rsi + 0x120], eax
test eax, eax
jne 0x140079529
mov eax, dword [rcx + 0x90]
mov dword [rsi + 0x124], eax
jmp 0x1400795a1
cmp eax, 8
jne 0x14007953c
mov eax, dword [rcx + 0xa4]
mov dword [rsi + 0x128], eax
jmp 0x1400795a1
cmp eax, 6
jne 0x1400795a1
lea r8, [rsi + 0x130]
mov edx, dword [rcx + 0x94]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x138]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x98]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x140]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x9c]
mov rcx, rsi
call fcn.140079b88
mov rcx, qword [rsi + 0x1a0]
mov eax, dword [rcx + 0xa0]
mov dword [rsi + 0x148], eax
lea r8, [rdi + 0x10]
mov edx, dword [rcx + 0x48]
mov rcx, rsi
call fcn.140079b88
lea rcx, [rsi + 0x20]
lea rdx, [rdi + 0x10]
call fcn.140068904
lea r8, [rdi + 0x18]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x4c]
mov rcx, rsi
call fcn.140079b88
lea r8, [rdi + 8]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x60]
mov rcx, rsi
call fcn.140079b88
lea r8, [rdi + 0x20]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x80]
mov rcx, rsi
call fcn.140079b88
mov rdx, qword [rsi + 0x1a0]
mov ecx, dword [rdx + 0x1c]
mov eax, ecx
shr eax, 0xd
and eax, 1
mov dword [rsi + 0x78], eax
mov eax, ecx
shr eax, 0xf
not eax
and eax, 1
mov dword [rsi + 0x7c], eax
mov eax, ecx
shr eax, 0x14
and eax, 1
mov dword [rsi + 0x80], eax
mov eax, ecx
shr eax, 0x15
and eax, 1
mov dword [rsi + 0x84], eax
mov eax, ecx
shr eax, 0x16
and eax, 1
mov dword [rsi + 0x88], eax
mov eax, ecx
shr eax, 0x13
and eax, 1
mov dword [rsi + 0x8c], eax
mov eax, ecx
shr eax, 0x10
and eax, 1
mov dword [rsi + 0x94], eax
mov eax, ecx
shr eax, 0x11
not eax
and eax, 1
mov dword [rsi + 0xb8], eax
shr ecx, 0x12
and ecx, 1
mov dword [rsi + 0x10c], ecx
mov eax, dword [rdx + 0x34]
mov dword [rsi + 0xbc], eax
lea r8, [rsi + 0x98]
mov edx, dword [rdx + 0x54]
mov rcx, rsi
call fcn.140079b88
mov rcx, qword [rsi + 0x1a0]
mov eax, dword [rcx + 0x58]
mov dword [rsi + 0xa0], eax
lea r8, [rsi + 0x70]
mov edx, dword [rcx + 0x44]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x30]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x5c]
mov rcx, rsi
call fcn.140079b88
mov rcx, qword [rsi + 0x1a0]
mov eax, dword [rcx + 0x20]
mov dword [rsi + 0x48], eax
lea r8, [rsi + 0x50]
mov edx, dword [rcx + 0x74]
mov rcx, rsi
call fcn.140079b88
mov rcx, qword [rsi + 0x1a0]
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x58], eax
lea r8, [rsi + 0x38]
mov edx, dword [rcx + 0x6c]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x40]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x70]
mov rcx, rsi
call fcn.140079b88
mov rdx, qword [rsi + 0x1a0]
add rdx, 0x28
lea rcx, [rsi + 0xa4]
mov r8d, reloc.WS2_32.dll_inet_ntoa
call sub.MSVCR120.dll_memcpy
lea r8, [rsi + 0xb0]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x68]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x10]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x50]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x18]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x78]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 8]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0x64]
mov rcx, rsi
call fcn.140079b88
mov rcx, qword [rsi + 0x1a0]
mov eax, dword [rcx + 0x38]
mov dword [rsi + 0xc0], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsi + 0xc4], eax
mov eax, dword [rcx + 0x40]
mov dword [rsi + 0xc8], eax
lea r8, [rsi + 0x28]
mov edx, dword [rcx + 0x7c]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x60]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0xb4]
mov rcx, rsi
call fcn.140079b88
lea r8, [rsi + 0x68]
mov rax, qword [rsi + 0x1a0]
mov edx, dword [rax + 0xb8]
mov rcx, rsi
call fcn.140079b88
mov rcx, qword [rsi + 0x1a0]
mov eax, dword [rcx + 0xbc]
mov dword [rsi + 0xe4], eax
mov eax, dword [rcx + 0xc0]
mov dword [rsi + 0xe8], eax
mov eax, dword [rcx + 0xc4]
mov dword [rsi + 0xec], eax
mov eax, dword [rcx + 0xc8]
mov dword [rsi + 0xf0], eax
mov rax, qword [rcx + 0xcc]
mov qword [rsi + 0xf8], rax
mov rax, qword [rcx + 0xd8]
mov qword [rsi + 0x100], rax
mov eax, dword [rcx + 0xe0]
mov dword [rsi + 0x108], eax
movzx r12d, word [rcx + 4]
cmp r12d, dword [rcx + 8]
jae 0x140079b77
lea r15, [rsi + 0x170]
mov r8d, 6
mov edx, r12d
mov rcx, r15
call fcn.14006744c
mov r14, rax
mov r8d, 3
lea rdx, [0x1400c8ef0]
mov rcx, rax
call sub.MSVCR120.dll_memcmp
test eax, eax
jne 0x140079980
movzx r8d, word [r14 + 4]
mov edx, r12d
mov rcx, r15
call fcn.14006744c
mov rdi, rax
mov rcx, qword [0x140108018]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 8], rcx
and dword [rbp - 0x10], 0
and dword [rbp - 0xc], 0
lea r8, [rbp - 0x20]
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.140079b88
lea r8, [rbp - 0x28]
mov edx, dword [rdi + 0xc]
mov rcx, rsi
call fcn.140079b88
lea r8, [rbp - 0x18]
mov edx, dword [rdi + 0x10]
mov rcx, rsi
call fcn.140079b88
mov eax, dword [rdi + 0x14]
mov dword [rbp - 0x10], eax
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0xc], eax
mov rcx, qword [rbp + 0x48]
add rcx, 0xe8
lea rdx, [rbp - 0x28]
call fcn.140073fa0
mov rbx, rax
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140068904
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x20]
call fcn.140068904
lea rcx, [rbx + 0x10]
lea rdx, [rbp - 0x18]
call fcn.140068904
mov ecx, dword [rbp - 0x10]
mov dword [rbx + 0x18], ecx
mov ecx, dword [rbp - 0xc]
mov dword [rbx + 0x1c], ecx
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 8]
call fcn.140068904
mov rdx, rdi
mov rcx, r15
call fcn.14006755c
nop
lea rcx, [rbp - 0x28]
call fcn.140073858
jmp 0x140079b4f
mov r8d, 3
lea rdx, [0x1400c8ef4]
mov rcx, r14
call sub.MSVCR120.dll_memcmp
test eax, eax
jne 0x140079a53
movzx r8d, word [r14 + 4]
mov edx, r12d
mov rcx, r15
call fcn.14006744c
mov rbx, rax
mov rcx, qword [0x140108018]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x58], rcx
lea r8, [rbp + 0x40]
mov edx, dword [rax + 8]
mov rcx, rsi
call fcn.140079b88
lea r8, [rbp + 0x58]
mov edx, dword [rbx + 0xc]
mov rcx, rsi
call fcn.140079b88
lea rcx, [rdi + 0x108]
lea rdx, [rbp + 0x40]
call fcn.140074230
mov rcx, rax
lea rdx, [rbp + 0x58]
call fcn.140068904
mov rdx, rbx
mov rcx, r15
call fcn.14006755c
nop
mov rcx, qword [rbp + 0x58]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x140079a22
lock add dword [rcx], 0xffffffff
jg 0x140079a22
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x140079b53
lock add dword [rcx], 0xffffffff
jg 0x140079b53
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x140079b53
mov r8d, 3
lea rdx, [0x1400c8ef8]
mov rcx, r14
call sub.MSVCR120.dll_memcmp
test eax, eax
jne 0x140079b30
movzx r8d, word [r14 + 4]
mov edx, r12d
mov rcx, r15
call fcn.14006744c
mov rdi, rax
mov rcx, qword [0x140108018]
mov qword [rbp + 0x50], rcx
mov qword [rbp - 0x38], rcx
cmp dword [rax + 8], 0
setne byte [rbp - 0x30]
lea r8, [rbp + 0x50]
mov edx, dword [rax + 0xc]
mov rcx, rsi
call fcn.140079b88
lea r8, [rbp - 0x38]
mov edx, dword [rdi + 0x10]
mov rcx, rsi
call fcn.140079b88
mov rcx, qword [rbp + 0x48]
add rcx, 0xf8
lea rdx, [rbp + 0x50]
call fcn.1400740e8
mov rbx, rax
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140068904
mov cl, byte [rbp - 0x30]
mov byte [rbx + 8], cl
mov rdx, rdi
mov rcx, r15
call fcn.14006755c
nop
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x140079b0a
lock add dword [rcx], 0xffffffff
jg 0x140079b0a
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x140079b4f
lock add dword [rcx], 0xffffffff
jg 0x140079b4f
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x140079b4f
mov r8d, 3
lea rdx, [0x1400c8efc]
mov rcx, r14
call sub.MSVCR120.dll_memcmp
test eax, eax
jne 0x1400794b5
jmp 0x140079b53
mov rdi, qword [rbp + 0x48]
movzx eax, word [r14 + 4]
add r12d, eax
mov rdx, r14
mov rcx, r15
call fcn.14006755c
mov rax, qword [rsi + 0x1a0]
cmp r12d, dword [rax + 8]
jb 0x140079874
xor eax, eax
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret