Function at 0x14004c220
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rcx], 0x3f800000
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
mov dword [rcx + 0x50], esi
mov qword [rcx + 0x54], 4
mov word [rcx + 0x5c], si
mov byte [rcx + 0x5e], 1
mov dword [rcx + 0x60], 0x41a00000
mov dword [rcx + 0x64], 0xa
mov byte [rcx + 0x68], sil
mov qword [rcx + 0x6c], rsi
mov dword [rcx + 0x74], esi
mov dword [rcx + 0x78], 0x1000101
add rcx, 0x128
call fcn.14004c0e0
nop
mov qword [rdi + 0x298], rsi
mov qword [rdi + 0x2a0], rsi
mov qword [rdi + 0x2a8], rsi
mov byte [rdi + 0x2b0], 1
lea rcx, [rdi + 0x2b8]
call fcn.14004c060
nop
lea rbx, [rdi + 0x2f8]
mov qword [rsp + 0x38], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x48]
call fcn.1400e4df4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rdi + 0x308], rsi
mov qword [rdi + 0x310], rsi
mov qword [rdi + 0x318], rsi
xorps xmm0, xmm0
movups xmmword [rdi + 0x320], xmm0
mov qword [rdi + 0x330], rsi
mov qword [rdi + 0x338], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x320], sil
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rdi + 0x340], rdx
mov dword [rdi + 0x348], 0xbf800000
mov ecx, dword [0x14019222c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x14015c088], ecx
jg 0x14004c4aa
movaps xmm0, xmmword [0x140157150]
movups xmmword [rdi + 0x7c], xmm0
movaps xmm1, xmmword [0x140157160]
movups xmmword [rdi + 0x8c], xmm1
movaps xmm0, xmmword [0x140157170]
movups xmmword [rdi + 0x9c], xmm0
movaps xmm1, xmmword [0x140157180]
movups xmmword [rdi + 0xac], xmm1
movaps xmm0, xmmword [0x140157190]
movups xmmword [rdi + 0xbc], xmm0
mov eax, dword [0x1401571a0]
mov dword [rdi + 0xcc], eax
call fcn.140050fc0
mov rdx, rax
mov rcx, rdi
call fcn.140055f30
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov rdx, qword [rdi + 0x10]
cmp rdx, qword [rdi + 0x18]
je 0x14004c420
mov rcx, rsi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
add qword [rdi + 0x10], 0x18
jmp 0x14004c438
lea r8, [rsp + 0x20]
lea rcx, [rdi + 8]
call fcn.14004a8e0
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14004c490
sub rsi, rcx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rsi
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c48a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c48a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e4e30
nop
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rcx, [0x14015c088]
call fcn.1400e5490
cmp dword [0x14015c088], 0xffffffff
jne 0x14004c394
movaps xmm0, xmmword [0x140114a10]
movups xmmword [rsp + 0x38], xmm0
lea rcx, [rsp + 0x38]
call fcn.140067330
mov dword [0x14015715c], eax
mov qword [0x140157160], 0xffffffffff70a0e0
mov dword [0x140157168], 0xff408080
mov dword [0x14015716c], 0xffaaaaaa
movaps xmm0, xmmword [0x1401149f0]
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140067330
mov dword [0x140157170], eax
mov dword [0x140157174], 0xffc040a0
mov dword [0x140157178], 0xff206020
mov dword [0x14015717c], 0xff406020
movaps xmm0, xmmword [0x140114a00]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140067330
mov dword [0x140157180], eax
mov dword [0x140157184], 0xffe0e0e0
mov dword [0x140157188], 0x80a06020
mov dword [0x14015718c], 0x800020ff
mov dword [0x140157190], 0x40f08000
movaps xmm0, xmmword [0x140114a40]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.140067330
mov dword [0x140157194], eax
mov dword [0x140157198], 0x40000000
mov dword [0x14015719c], 0x40808080
mov dword [0x1401571a0], 0x40a0a0a0
lea rcx, [0x14015c088]
call fcn.1400e5430
jmp 0x14004c394