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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e8
mov rax, qword [0x140664c40]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, dword [rdx + 0x30]
mov r12, rdx
mov qword [rsp + 0x90], rdx
mov rdi, r9
add rdx, 0x30
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0x98], rcx
mov r14, rcx
cmp ebx, 0x67f
jae 0x14004603c
movzx r15d, byte [r12 + 0x12]
lea rax, [rsp + 0xd0]
movzx ecx, byte [rcx + 0x290]
lea r13, [r12 + 0x40]
mov r9d, r15d
mov dword [rsp + 0x88], r15d
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140040fa0
test eax, eax
jne 0x14004603e
xor r10d, r10d
mov eax, ebx
xor bpl, bpl
mov dword [rsp + 0x74], r10d
lea rbx, [0x140000000]
mov byte [rsp + 0x60], bpl
lea rcx, [rbx + 0x247700]
mov dword [rsp + 0x64], r10d
lea rcx, [rcx + rax*8]
mov esi, r10d
mov eax, dword [rsp + 0xd0]
lea r11d, [r10 + 1]
and eax, 0xfffffffe
mov qword [rsp + 0x78], rcx
or dword [rdi], eax
mov r9d, r10d
mov r8d, 0xffffffff
test r15d, r15d
je 0x140045bc0
mov eax, dword [rcx]
mov edx, r8d
shr rax, 0xe
and eax, 0x3ff
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x6c], r8d
mov dword [rsp + 0x84], r8d
mov ecx, dword [rbx + rax*8 + 0x246920]
mov eax, ecx
shr eax, 0x17
test r11b, al
je 0x1400454a5
mov eax, ecx
shr eax, 0x16
test r11b, al
je 0x1400454bf
mov eax, ecx
shr eax, 0x19
test r11b, al
jne 0x1400454bf
mov eax, ecx
mov edx, 0xffff
shr eax, 0x1a
test r11b, al
je 0x140045493
mov eax, dword [r13]
and eax, 0xff000fff
cmp eax, 0x289
cmove edx, r8d
jmp 0x1400454bb
shr ecx, 0x1b
test r11b, cl
je 0x1400454bb
cmp r15d, 2
cmove edx, r8d
jmp 0x1400454bb
shr ecx, 0x1c
test r11b, cl
je 0x1400454b6
or dword [rdi + 4], 0x80000000
jmp 0x1400454bf
mov edx, 0xffff
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x80], r10d
mov ebp, r10d
test r15d, r15d
je 0x140045bc0
lea r15, [rsp + 0x114]
nop dword [rax + rax]
mov r8d, dword [r13]
mov eax, r8d
and eax, 7
bts r9d, eax
mov dword [rsp + 0x64], r9d
cmp eax, 1
jne 0x1400457dc
mov r9d, dword [r15 - 4]
mov esi, edx
mov eax, r9d
and eax, 7
mov ecx, dword [rbx + rax*4 + 0x24fa98]
mov eax, r9d
shr eax, 7
mov edx, ecx
bts edx, 0xf
test al, 1
mov eax, r8d
cmove edx, ecx
shr eax, 0x18
mov ebx, edx
cmp al, 1
jne 0x14004555c
shr r9d, 8
test al, r9b
jne 0x14004555c
bts ebx, 0x18
cmp byte [r14 + 0x291], 0
je 0x140045557
and r8d, 0xff000fff
cmp r8d, 0x1000021
jne 0x14004555c
mov byte [rsp + 0x60], al
mov esi, reloc.WS2_32.dll_ntohs
mov eax, dword [r13 + 4]
sub eax, 0x100
cmp eax, 0xfffffeff
jae 0x140045b85
mov rcx, qword [r14]
mov r8, qword [rcx + 8]
cmp eax, dword [r8 + 0x1d0]
jae 0x140045ba4
mov edx, eax
mov rax, qword [r8 + 0x1c8]
mov rdx, qword [rax + rdx*8]
mov r10, qword [rdx + 0x28]
mov qword [rsp + 0xb0], r10
test r10, r10
jne 0x1400455bf
lea r8, [rsp + 0xb0]
call fcn.14002f130
test eax, eax
jne 0x14004603e
mov r10, qword [rsp + 0xb0]
mov eax, ebx
and al, 3
cmp al, 2
jne 0x1400455de
mov rax, qword [r15 + 0x14]
or rax, qword [r15 + 0xc]
not rax
test qword [r10 + 0x40], rax
je 0x1400455de
and ebx, 0xfffffff7
or ebx, 5
movzx eax, byte [rsp + 0xdd]
test al, al
je 0x140045612
test bl, 0x30
je 0x140045612
mov ecx, eax
mov r8d, eax
mov rax, qword [r14 + 8]
and ecx, 0x3f
shr r8, 6
mov rdx, qword [rax + 0x30]
mov rax, qword [rdx + r8*8 + 8]
shr rax, cl
test al, 1
jne 0x140045612
and ebx, 0xffffffcf
mov ecx, dword [r10 + 0x20]
mov rax, qword [r14]
shr ecx, 8
and ecx, 0xf
mov r9d, dword [rax + rcx*4 + 0x118]
xor eax, eax
movzx ecx, byte [r15 + 2]
and r9d, esi
mov esi, 0xff
mov ebp, r9d
mov r11d, esi
mov r14d, eax
mov r12d, eax
test cl, cl
je 0x14004569b
cmp dword [rsp + 0x6c], 0xffffffff
jne 0x140045cca
test ebx, 0x6000
jne 0x140045b90
lea eax, [rcx - 1]
shl eax, 0xd
lea rdx, [0x140000000]
bts eax, 0xc
or ebx, eax
mov eax, dword [r10]
mov dword [rsp + 0x6c], eax
mov eax, ecx
mov ecx, r9d
and ecx, dword [rdx + rax*4 + 0x24f9c0]
mov eax, ebx
shr eax, 2
test al, 1
je 0x140045695
bts ebx, 0xa
mov r9d, ecx
jmp 0x14004569b
bts ebx, 0xb
mov ebp, ecx
mov rcx, r13
mov r8d, 1
sub rcx, qword [rsp + 0x90]
mov eax, ebx
sub rcx, 0x38
shr eax, 2
sar rcx, 2
shl r8d, cl
mov ecx, dword [r15 - 4]
mov edx, ecx
shr edx, 8
and dl, 1
test al, 1
je 0x14004570d
mov r14d, r8d
test dl, dl
je 0x1400456dc
movzx r11d, byte [r15]
or ebx, 0x40
jmp 0x14004574f
shr ecx, 3
test cl, 1
je 0x14004574f
mov eax, dword [rsp + 0x6c]
cmp eax, 0xffffffff
je 0x140045cca
cmp eax, dword [r10]
je 0x140045b9a
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
shl eax, 0xd
bts eax, 0xa
jmp 0x14004574d
mov r12d, r8d
test dl, dl
je 0x14004571e
movzx esi, byte [r15]
bts ebx, 7
jmp 0x14004574f
shr ecx, 3
test cl, 1
je 0x14004574f
mov eax, dword [rsp + 0x6c]
cmp eax, 0xffffffff
je 0x140045cca
cmp eax, dword [r10]
je 0x140045b9a
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
shl eax, 0xd
bts eax, 0xb
or ebx, eax
movzx eax, byte [r15 + 1]
mov r8d, ebx
mov ecx, dword [rsp + 0x84]
mov rdx, r10
mov dword [rsp + 0x50], ecx
mov rcx, rdi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call fcn.14001a9a0
test eax, eax
jne 0x14004603e
mov esi, dword [rsp + 0x74]
mov ebp, dword [rsp + 0x80]
cmp esi, ebp
jne 0x1400457a5
inc esi
mov dword [rsp + 0x74], esi
mov r12, qword [rsp + 0x90]
mov r11d, 1
mov r9d, dword [rsp + 0x64]
test ebx, 0x1c00
je 0x140045b50
mov rax, qword [rsp + 0xb0]
mov r10d, dword [rax]
mov dword [rsp + 0x84], r10d
jmp 0x140045b50
cmp eax, 2
jne 0x140045b53
or dword [rdi + 8], 0x30
mov ecx, dword [r13]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x140045895
mov rcx, qword [r14]
mov eax, dword [r13 + 4]
sub eax, 0x100
mov r8, qword [rcx + 8]
cmp eax, dword [r8 + 0x1d0]
jae 0x140045ba4
mov edx, eax
mov rax, qword [r8 + 0x1c8]
mov rdx, qword [rax + rdx*8]
mov rbx, qword [rdx + 0x28]
mov qword [rsp + 0xb8], rbx
test rbx, rbx
jne 0x140045856
lea r8, [rsp + 0xb8]
call fcn.14002f130
test eax, eax
jne 0x14004603e
mov rbx, qword [rsp + 0xb8]
lea r11d, [rax + 1]
cmp qword [rbx + 0x18], 0
mov rdx, qword [r14]
jne 0x1400459dd
mov rax, qword [rbx + 8]
lea rcx, [rdx + 0x1f8]
mov edx, dword [rdx + 0x1dc]
mov dword [rsp + 0x20], r11d
movzx r9d, byte [rax + 0xc]
mov r8d, dword [rax + 8]
call fcn.140034300
or dword [rbx + 0x24], 0x10
mov qword [rbx + 0x18], rax
jmp 0x1400459dd
and ecx, 0xf8
cmp ecx, 8
jbe 0x1400459e4
mov eax, dword [r13 + 4]
sub eax, 0x100
cmp eax, 0xfffffeff
jae 0x1400459e4
mov rcx, qword [r14]
mov r8, qword [rcx + 8]
cmp eax, dword [r8 + 0x1d0]
jae 0x140045ba4
mov edx, eax
mov rax, qword [r8 + 0x1c8]
mov r9, qword [rax + rdx*8]
mov rdx, qword [r9 + 0x28]
mov qword [rsp + 0xc0], rdx
test rdx, rdx
jne 0x14004590d
lea r8, [rsp + 0xc0]
mov rdx, r9
call fcn.14002f130
test eax, eax
jne 0x14004603e
mov rdx, qword [rsp + 0xc0]
xor r10d, r10d
mov ecx, dword [rdx + 0x20]
mov esi, r10d
mov r9d, dword [r15 - 4]
mov ebp, r10d
shr ecx, 8
mov eax, r9d
shr rax, 0xc
and ecx, 0xf
and eax, 3
shr r9d, 9
mov r10d, 1
and r9b, 1
mov r8d, dword [rbx + rax*4 + 0x24fa98]
mov ebx, 0xff
mov rax, qword [r14]
mov r11d, ebx
mov r14d, dword [rax + rcx*4 + 0x118]
mov rcx, r13
sub rcx, r12
mov eax, r8d
sub rcx, 0x38
shr eax, 2
sar rcx, 2
shl r10d, cl
test al, 1
je 0x140045980
mov esi, r10d
test r9b, r9b
je 0x140045991
movzx r11d, byte [r15]
or r8d, 0x40
jmp 0x140045991
mov ebp, r10d
test r9b, r9b
je 0x140045991
movzx ebx, byte [r15]
bts r8d, 7
mov dword [rsp + 0x50], 0xffffffff
xor r10d, r10d
mov dword [rsp + 0x48], r10d
mov r9d, r14d
mov dword [rsp + 0x40], ebp
mov rcx, rdi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r11d
call fcn.14001a9a0
test eax, eax
jne 0x14004603e
mov r14, qword [rsp + 0x98]
mov esi, dword [rsp + 0x74]
mov ebp, dword [rsp + 0x80]
lea rbx, [0x140000000]
mov eax, dword [r13]
and eax, 0x1f00
cmp eax, 0x100
jbe 0x140045b45
mov eax, dword [r13 + 8]
sub eax, 0x100
cmp eax, 0xfffffeff
jae 0x140045b45
mov rcx, qword [r14]
mov r8, qword [rcx + 8]
cmp eax, dword [r8 + 0x1d0]
jae 0x140045ba4
mov edx, eax
mov rax, qword [r8 + 0x1c8]
mov rdx, qword [rax + rdx*8]
mov r9, qword [rdx + 0x28]
mov qword [rsp + 0xa8], r9
test r9, r9
jne 0x140045a5b
lea r8, [rsp + 0xa8]
call fcn.14002f130
test eax, eax
jne 0x14004603e
mov r9, qword [rsp + 0xa8]
mov eax, dword [r9 + 0x20]
mov r11d, 1
shr eax, 8
movzx r8d, al
mov rax, qword [r14]
mov ecx, r8d
and ecx, 0xf
mov r10d, dword [rax + rcx*4 + 0x118]
mov rcx, r13
and r10d, dword [rsp + 0x68]
sub rcx, r12
mov eax, dword [r15 - 4]
sub rcx, 0x34
shr rax, 0xe
and eax, 3
sar rcx, 2
shl r11d, cl
mov rcx, qword [r9 + 0x10]
mov edx, dword [rbx + rax*4 + 0x24fa98]
xor eax, eax
shr edx, 2
mov ebx, eax
test dl, 1
cmove ebx, r11d
cmove r11d, eax
mov eax, dword [rdi + 0x10]
and r8b, 0xf
or dword [rdi + 4], 5
movzx edx, r8b
bts eax, edx
mov dword [rdi + 0x10], eax
test rcx, rcx
jne 0x140045b25
mov rcx, qword [rdi + 0x38]
lea rax, [rcx + 0x20]
mov qword [rdi + 0x38], rax
mov eax, dword [r9]
mov dword [rcx], eax
mov dword [rcx + 0x18], r11d
mov r11d, 1
mov dword [rcx + 4], 0xffffffff
mov eax, r11d
mov dword [rcx + 8], 5
mov dword [rcx + 0xc], 0xffff0001
mov dword [rcx + 0x10], r10d
mov dword [rcx + 0x14], r10d
mov dword [rcx + 0x1c], ebx
mov qword [r9 + 0x10], rcx
lea ecx, [rdx*8]
shl eax, cl
add dword [rdi + 0xc], eax
jmp 0x140045b4b
cmp dword [rcx + 4], 0xffffffff
jne 0x140045cca
inc byte [rcx + 0xc]
or dword [rcx + 8], 5
and dword [rcx + 0x10], r10d
or dword [rcx + 0x18], r11d
and dword [rcx + 0x14], r10d
or dword [rcx + 0x1c], ebx
mov r11d, 1
mov r9d, dword [rsp + 0x64]
xor r10d, r10d
mov r14, qword [rsp + 0x98]
inc ebp
add r13, 0x10
mov dword [rsp + 0x80], ebp
add r15, 0x20
cmp ebp, dword [rsp + 0x88]
jae 0x140045bae
mov edx, dword [rsp + 0x68]
lea rbx, [0x140000000]
jmp 0x1400454e0
mov esi, dword [rsp + 0x74]
mov r9d, dword [rsp + 0x64]
jmp 0x140045b53
mov eax, reloc.WLDAP32.dll_Ordinal_60
jmp 0x14004603e
mov eax, 0x41
jmp 0x14004603e
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x14004603e
mov r15d, dword [rsp + 0x88]
lea r13, [r12 + 0x40]
movzx ebp, byte [rsp + 0x60]
mov eax, dword [r12 + 0x38]
test eax, eax
je 0x140045db1
mov edx, dword [r12 + 0x3c]
lea ecx, [rdx - 0x100]
cmp ecx, 0xfffffeff
jae 0x140045da2
mov r9, qword [r14]
mov rax, qword [r9 + 8]
cmp ecx, dword [rax + 0x1d0]
jae 0x140045ba4
mov rax, qword [rax + 0x1c8]
mov rdx, qword [rax + rcx*8]
mov r8, qword [rdx + 0x28]
mov qword [rsp + 0xa8], r8
test r8, r8
jne 0x140045c2f
lea r8, [rsp + 0xa8]
mov rcx, r9
call fcn.14002f130
test eax, eax
jne 0x14004603e
mov r8, qword [rsp + 0xa8]
mov r10d, dword [r8 + 0x20]
mov rax, qword [r14]
shr r10d, 8
and r10b, 0xf
movzx ebx, r10b
mov r9d, dword [rax + rbx*4 + 0x118]
cmp r10b, 2
jne 0x140045cf2
mov rcx, qword [r8 + 0x10]
mov eax, dword [rdi + 0x10]
or dword [rdi + 4], 5
movzx edx, r10b
bts eax, edx
mov dword [rdi + 0x10], eax
test rcx, rcx
jne 0x140045cc4
mov rcx, qword [rdi + 0x38]
xor r10d, r10d
mov esi, r10d
lea rax, [rcx + 0x20]
mov qword [rdi + 0x38], rax
mov eax, dword [r8]
mov dword [rcx], eax
mov eax, 1
mov dword [rcx + 4], 0xffffffff
mov dword [rcx + 8], 5
mov dword [rcx + 0xc], 0xffff0001
mov dword [rcx + 0x10], r9d
mov dword [rcx + 0x14], r9d
mov qword [rcx + 0x18], 1
mov qword [r8 + 0x10], rcx
lea ecx, [rdx*8]
shl eax, cl
add dword [rdi + 0xc], eax
jmp 0x140045db4
cmp dword [rcx + 4], 0xffffffff
je 0x140045cd4
mov eax, 3
jmp 0x14004603e
inc byte [rcx + 0xc]
or dword [rcx + 8], 5
and dword [rcx + 0x10], r9d
or dword [rcx + 0x18], 1
and dword [rcx + 0x14], r9d
xor r10d, r10d
mov esi, r10d
jmp 0x140045db4
mov ecx, dword [rdi + 0x10]
mov rdx, qword [r8 + 0x10]
movzx r11d, r10b
lea eax, [r11 + 8]
bts ecx, eax
mov dword [rdi + 0x10], ecx
mov eax, dword [rdi + rbx*4 + 0x14]
bts eax, 1
mov dword [rdi + rbx*4 + 0x14], eax
mov eax, dword [rdi + 0x10]
or dword [rdi + 4], 0x47
bts eax, r11d
mov dword [rdi + 0x10], eax
test rdx, rdx
jne 0x140045d75
mov rcx, qword [rdi + 0x38]
mov ebx, 1
xor r10d, r10d
lea rax, [rcx + 0x20]
mov qword [rdi + 0x38], rax
mov eax, dword [r8]
mov dword [rcx], eax
mov eax, ebx
mov dword [rcx + 4], 0xffffffff
mov dword [rcx + 8], 0x47
mov dword [rcx + 0xc], 0xff010001
mov dword [rcx + 0x10], r9d
mov dword [rcx + 0x14], r9d
mov qword [rcx + 0x18], rbx
mov qword [r8 + 0x10], rcx
lea ecx, [r11*8]
shl eax, cl
add dword [rdi + 0xc], eax
jmp 0x140045db9
cmp dword [rdx + 4], 0xffffffff
jne 0x140045cca
cmp byte [rdx + 0xe], 0xff
jne 0x140045b9a
inc byte [rdx + 0xc]
and dword [rdx + 0x10], r9d
or dword [rdx + 0x18], 1
mov byte [rdx + 0xe], 1
or dword [rdx + 8], 0x47
and dword [rdx + 0x14], r9d
jmp 0x140045db1
shr eax, 8
and al, 0xf
cmp al, 2
jne 0x140045db1
test edx, edx
cmovne esi, r10d
xor r10d, r10d
mov ebx, 1
test byte [rsp + 0xd0], 1
je 0x140045e68
cmp dword [r12 + 0x38], 0
jne 0x140045e68
test byte [rsp + 0x64], 2
je 0x140045e68
cmp r15d, 2
je 0x140045e22
cmp r15d, 3
jne 0x140045e68
mov eax, dword [r13 + 0x1c]
mov edx, r10d
cmp dword [r13 + 0xc], eax
mov eax, dword [r13 + 0x18]
mov r8d, dword [r13 + 4]
sete cl
cmp dword [r13 + 8], eax
sete al
and cl, al
cmp r8d, dword [r13 + 0x14]
movzx eax, cl
cmove edx, eax
mov eax, dword [r13 + 0x10]
cmp dword [r13], eax
sete al
test al, dl
je 0x140045e68
mov ecx, dword [r13 + 4]
sub ecx, 0x100
cmp ecx, 0xfffffeff
jae 0x140045e68
mov rax, qword [r14 + 8]
mov rax, qword [rax + 0x1c8]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x120]
not rcx
mov rdx, qword [rax + 0x40]
and rdx, rcx
je 0x140045e65
test qword [rsp + 0x128], rdx
jne 0x140045e68
or dword [rdi], 1
test bpl, bpl
je 0x140045e9c
mov rdx, qword [rdi + 0x38]
lea rcx, [rdi + 0x40]
cmp rcx, rdx
je 0x140045e9c
mov r8d, reloc.WS2_32.dll_ntohs
test byte [rcx + 0xb], 1
mov eax, 0xff
cmovne eax, r8d
and dword [rcx + 0x10], eax
and dword [rcx + 0x14], eax
add rcx, 0x20
cmp rcx, rdx
jne 0x140045e80
mov rax, qword [rdi + 0x38]
sub rax, rdi
sub rax, 0x40
sar rax, 5
cmp eax, 1
jne 0x14004600e
xor r8b, r8b
cmp esi, r15d
jne 0x140045ee4
mov rdx, qword [rsp + 0x78]
lea rcx, [0x140000000]
mov eax, dword [rdx]
shr rax, 0xe
and eax, 0x3ff
mov r8d, dword [rcx + rax*8 + 0x246924]
shr r8d, 0x1e
jmp 0x140045fd0
cmp r15d, 2
jne 0x140045fcb
mov eax, dword [r12 + 0x50]
and eax, 7
cmp al, 3
jne 0x140045fcb
mov rax, qword [r14]
mov edx, dword [rdi + 0x40]
mov rcx, qword [rax + 0x140]
mov rax, qword [rcx + rdx*8]
mov r9d, dword [rax + 0x20]
mov eax, dword [r12 + 0x30]
shr r9d, 0x18
cmp eax, 0x2ac
ja 0x140045f8b
je 0x140045fa3
sub eax, 7
je 0x140045fa3
sub eax, 0xe
je 0x140045fa3
sub eax, 0x1c1
je 0x140045f4b
sub eax, 0xc9
je 0x140045fa3
cmp eax, 1
je 0x140045fa3
jmp 0x140045fcb
movzx ecx, byte [r12 + 0x43]
cmp cl, 4
jae 0x140045f5b
cmp ecx, r9d
jb 0x140045fa3
mov edx, dword [r12 + 0x5c]
mov eax, dword [r12 + 0x58]
shl rdx, 0x20
or rdx, rax
cmp rdx, 0xffffffffffffffff
je 0x140045f86
bsf ecx, ecx
lea rax, [0x140000000]
cmp rdx, qword [rax + rcx*8 + 0x24fa50]
jne 0x140045fa3
mov r8b, 2
jmp 0x140045fa3
sub eax, 0x2db
je 0x140045fa3
sub eax, 3
je 0x140045fa3
sub eax, 0x18
je 0x140045fa3
cmp eax, 0x376
jne 0x140045fcb
movzx eax, byte [r12 + 0x43]
cmp al, 4
jne 0x140045fb2
cmp eax, r9d
jb 0x140045fcb
mov ecx, dword [r12 + 0x5c]
mov eax, dword [r12 + 0x58]
shl rcx, 0x20
or rcx, rax
movzx r8d, r8b
cmove r8d, ebx
mov rdx, qword [rsp + 0x78]
movzx ecx, r8b
sub ecx, 1
je 0x140045ff6
cmp ecx, 1
jne 0x140046013
mov eax, dword [rdi + 0x48]
and eax, 0xfffffffa
or eax, 8
mov dword [rdi + 0x48], eax
mov eax, dword [rdi + 0x58]
or dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], r10d
jmp 0x140046013
mov eax, dword [rdi + 0x48]
and eax, 0xfffffff5
or eax, 4
mov dword [rdi + 0x48], eax
mov eax, dword [rdi + 0x5c]
or dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], r10d
jmp 0x140046013
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx]
lea rcx, [0x140000000]
shr rax, 0xe
and eax, 0x3ff
mov eax, dword [rcx + rax*8 + 0x246924]
mov rcx, qword [rsp + 0xa0]
shr eax, 0x1b
and eax, 7
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140237160
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret