Function at 0x1400428d0
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 [0x140660880]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, dword [rdx + 0x30]
mov r13, 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 0x1400435ed
movzx r12d, byte [r13 + 0x12]
lea rax, [rsp + 0xd0]
movzx ecx, byte [rcx + 0x290]
lea rbp, [r13 + 0x40]
mov r9d, r12d
mov dword [rsp + 0x8c], r12d
mov r8, rbp
mov qword [rsp + 0x20], rax
call fcn.14003e4f0
test eax, eax
jne 0x1400435ef
xor r11d, r11d
mov eax, ebx
xor r15b, r15b
mov dword [rsp + 0x64], r11d
lea rbx, [0x140000000]
mov byte [rsp + 0x60], r15b
lea rcx, [rbx + 0x243700]
mov dword [rsp + 0x84], r11d
lea rcx, [rcx + rax*8]
mov esi, r11d
mov eax, dword [rsp + 0xd0]
mov r9d, r11d
and eax, 0xfffffffe
mov qword [rsp + 0x78], rcx
or dword [rdi], eax
mov r10d, 1
mov r8d, 0xffffffff
test r12d, r12d
je 0x140043186
mov eax, dword [rcx]
mov edx, r8d
shr rax, 0xe
and eax, 0x3ff
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x70], r11d
mov dword [rsp + 0x6c], r8d
mov dword [rsp + 0x88], r8d
mov ecx, dword [rbx + rax*8 + 0x242920]
mov eax, ecx
shr eax, 0x17
test r10b, al
je 0x140042a37
mov eax, ecx
shr eax, 0x16
test r10b, al
je 0x140042a51
mov eax, ecx
shr eax, 0x19
test r10b, al
jne 0x140042a51
mov eax, ecx
mov edx, 0xffff
shr eax, 0x1a
test r10b, al
je 0x140042a25
mov eax, dword [rbp]
and eax, 0xff000fff
cmp eax, 0x289
cmove edx, r8d
jmp 0x140042a4d
shr ecx, 0x1b
test r10b, cl
je 0x140042a4d
cmp r12d, 2
cmove edx, r8d
jmp 0x140042a4d
shr ecx, 0x1c
test r10b, cl
je 0x140042a48
or dword [rdi + 4], 0x80000000
jmp 0x140042a51
mov edx, 0xffff
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x80], r11d
mov r15d, r11d
test r12d, r12d
je 0x140043186
nop word [rax + rax]
mov esi, r15d
lea r12, [rsp + 0x110]
shl rsi, 4
add rsi, rbp
mov eax, r15d
shl rax, 5
add r12, rax
mov r8d, dword [rsi]
mov eax, r8d
and eax, 7
bts r9d, eax
mov dword [rsp + 0x84], r9d
cmp eax, 1
jne 0x140042d93
mov r9d, dword [r12]
mov ebp, edx
mov eax, r9d
and eax, 7
mov ecx, dword [rbx + rax*4 + 0x24ba98]
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 0x140042b0a
shr r9d, 8
test al, r9b
jne 0x140042b0a
bts ebx, 0x18
cmp byte [r14 + 0x291], 0
je 0x140042b05
and r8d, 0xff000fff
cmp r8d, 0x1000021
jne 0x140042b0a
mov byte [rsp + 0x60], al
mov ebp, reloc.WS2_32.dll_ntohs
mov eax, dword [rsi + 4]
sub eax, 0x100
cmp eax, 0xfffffeff
jae 0x140043152
mov r9, qword [r14]
mov rdx, qword [r9 + 8]
cmp eax, dword [rdx + 0x1d0]
jae 0x140043176
mov ecx, eax
mov rax, qword [rdx + 0x1c8]
mov rdx, qword [rax + rcx*8]
mov r10, qword [rdx + 0x28]
mov qword [rsp + 0xb0], r10
test r10, r10
je 0x140042b53
mov eax, r11d
jmp 0x140042b6b
lea r8, [rsp + 0xb0]
mov rcx, r9
call fcn.14002c320
mov r10, qword [rsp + 0xb0]
test eax, eax
jne 0x1400435ef
mov eax, ebx
and al, 3
cmp al, 2
jne 0x140042b94
mov rax, qword [r12 + 0x18]
or rax, qword [r12 + 0x10]
not rax
test qword [r10 + 0x40], rax
je 0x140042b94
and ebx, 0xfffffff7
or ebx, 5
movzx eax, byte [rsp + 0xdd]
test al, al
je 0x140042bc8
test bl, 0x30
je 0x140042bc8
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 0x140042bc8
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 [r12 + 6]
and r9d, ebp
mov ebp, 0xff
mov r14d, r9d
mov r11d, ebp
mov r15d, eax
mov r13d, eax
test cl, cl
je 0x140042c53
cmp dword [rsp + 0x6c], 0xffffffff
jne 0x14004316c
test ebx, 0x6000
jne 0x140043158
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 + 0x24b9c0]
mov eax, ebx
shr eax, 2
test al, 1
je 0x140042c4c
bts ebx, 0xa
mov r9d, ecx
jmp 0x140042c53
bts ebx, 0xb
mov r14d, ecx
sub rsi, qword [rsp + 0x90]
mov r8d, 1
mov eax, ebx
shr eax, 2
lea rcx, [rsi - 0x38]
sar rcx, 2
shl r8d, cl
mov ecx, dword [r12]
mov edx, ecx
shr edx, 8
and dl, 1
test al, 1
je 0x140042cc6
mov r15d, r8d
test dl, dl
je 0x140042c93
movzx r11d, byte [r12 + 4]
or ebx, 0x40
jmp 0x140042d0a
shr ecx, 3
test cl, 1
je 0x140042d0a
mov esi, dword [rsp + 0x6c]
cmp esi, 0xffffffff
je 0x14004316c
cmp esi, dword [r10]
je 0x140043162
mov esi, dword [rsp + 0x70]
inc esi
mov eax, esi
mov dword [rsp + 0x70], esi
shl eax, 0xd
bts eax, 0xa
jmp 0x140042d08
mov r13d, r8d
test dl, dl
je 0x140042cd9
movzx ebp, byte [r12 + 4]
bts ebx, 7
jmp 0x140042d0a
shr ecx, 3
test cl, 1
je 0x140042d0a
mov esi, dword [rsp + 0x6c]
cmp esi, 0xffffffff
je 0x14004316c
cmp esi, dword [r10]
je 0x140043162
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
shl eax, 0xd
bts eax, 0xb
or ebx, eax
movzx eax, byte [r12 + 5]
mov r8d, ebx
mov ecx, dword [rsp + 0x88]
mov rdx, r10
mov dword [rsp + 0x50], ecx
mov rcx, rdi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r11d
call fcn.140017b50
test eax, eax
jne 0x1400435ef
mov r15d, dword [rsp + 0x80]
mov esi, dword [rsp + 0x64]
cmp esi, r15d
jne 0x140042d64
inc esi
mov dword [rsp + 0x64], esi
mov r13, qword [rsp + 0x90]
xor r11d, r11d
test ebx, 0x1c00
je 0x140043110
mov rax, qword [rsp + 0xb0]
mov r10d, dword [rax]
mov dword [rsp + 0x88], r10d
jmp 0x140043110
cmp eax, 2
jne 0x140043152
or dword [rdi + 8], 0x30
mov ecx, dword [rsi]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x140042e52
mov r9, qword [r14]
mov eax, dword [rsi + 4]
sub eax, 0x100
mov rdx, qword [r9 + 8]
cmp eax, dword [rdx + 0x1d0]
jae 0x140043176
mov ecx, eax
mov rax, qword [rdx + 0x1c8]
mov rdx, qword [rax + rcx*8]
mov rbx, qword [rdx + 0x28]
mov qword [rsp + 0xb8], rbx
test rbx, rbx
je 0x140042ded
mov eax, r11d
jmp 0x140042e0b
lea r8, [rsp + 0xb8]
mov rcx, r9
call fcn.14002c320
mov rbx, qword [rsp + 0xb8]
mov r10d, 1
test eax, eax
jne 0x1400435ef
cmp qword [rbx + 0x18], 0
mov rdx, qword [r14]
jne 0x140042f9c
mov rax, qword [rbx + 8]
lea rcx, [rdx + 0x1f8]
mov edx, dword [rdx + 0x1dc]
mov dword [rsp + 0x20], r10d
movzx r9d, byte [rax + 0xc]
mov r8d, dword [rax + 8]
call fcn.1400316c0
or dword [rbx + 0x24], 0x10
mov qword [rbx + 0x18], rax
jmp 0x140042f9c
and ecx, 0xf8
cmp ecx, 8
jbe 0x140042fa3
mov eax, dword [rsi + 4]
sub eax, 0x100
cmp eax, 0xfffffeff
jae 0x140042fa3
mov r9, qword [r14]
mov rdx, qword [r9 + 8]
cmp eax, dword [rdx + 0x1d0]
jae 0x140043176
mov ecx, eax
mov rax, qword [rdx + 0x1c8]
mov rdx, qword [rax + rcx*8]
mov r10, qword [rdx + 0x28]
mov qword [rsp + 0xc0], r10
test r10, r10
je 0x140042eaa
mov eax, r11d
jmp 0x140042ec2
lea r8, [rsp + 0xc0]
mov rcx, r9
call fcn.14002c320
mov r10, qword [rsp + 0xc0]
test eax, eax
jne 0x1400435ef
mov ecx, dword [r10 + 0x20]
mov r9d, 1
mov edx, dword [r12]
mov eax, edx
shr rax, 0xc
shr ecx, 8
and eax, 3
and ecx, 0xf
shr edx, 9
and dl, 1
mov r8d, dword [rbx + rax*4 + 0x24ba98]
mov ebx, 0xff
mov rax, qword [r14]
mov r11d, ebx
mov r15d, dword [rax + rcx*4 + 0x118]
xor eax, eax
mov ebp, eax
mov r14d, eax
mov rcx, rsi
mov eax, r8d
sub rcx, r13
shr eax, 2
sub rcx, 0x38
sar rcx, 2
shl r9d, cl
test al, 1
je 0x140042f3d
mov ebp, r9d
test dl, dl
je 0x140042f4f
movzx r11d, byte [r12 + 4]
or r8d, 0x40
jmp 0x140042f4f
mov r14d, r9d
test dl, dl
je 0x140042f4f
movzx ebx, byte [r12 + 4]
bts r8d, 7
mov dword [rsp + 0x50], 0xffffffff
mov r9d, r15d
mov dword [rsp + 0x48], 0
mov rdx, r10
mov dword [rsp + 0x40], r14d
mov rcx, rdi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r11d
call fcn.140017b50
test eax, eax
jne 0x1400435ef
mov r14, qword [rsp + 0x98]
mov r15d, dword [rsp + 0x80]
lea rbx, [0x140000000]
mov eax, dword [rsi]
and eax, 0x1f00
cmp eax, 0x100
jbe 0x140043109
mov eax, dword [rsi + 8]
sub eax, 0x100
cmp eax, 0xfffffeff
jae 0x140043109
mov r10, qword [r14]
mov rdx, qword [r10 + 8]
cmp eax, dword [rdx + 0x1d0]
jae 0x140043176
mov ecx, eax
mov rax, qword [rdx + 0x1c8]
mov rdx, qword [rax + rcx*8]
mov r9, qword [rdx + 0x28]
mov qword [rsp + 0xa8], r9
test r9, r9
je 0x140042fff
xor ebp, ebp
mov eax, ebp
jmp 0x140043019
lea r8, [rsp + 0xa8]
mov rcx, r10
call fcn.14002c320
mov r9, qword [rsp + 0xa8]
xor ebp, ebp
test eax, eax
jne 0x1400435ef
mov eax, dword [r9 + 0x20]
sub rsi, r13
shr eax, 8
mov r11d, 1
movzx r8d, al
mov rax, qword [r14]
mov ecx, r8d
and ecx, 0xf
mov r10d, dword [rax + rcx*4 + 0x118]
lea rcx, [rsi - 0x34]
and r10d, dword [rsp + 0x68]
mov eax, dword [r12]
shr rax, 0xe
and eax, 3
sar rcx, 2
shl r11d, cl
mov rcx, qword [r9 + 0x10]
mov edx, dword [rbx + rax*4 + 0x24ba98]
mov ebx, ebp
mov eax, dword [rdi + 0x10]
shr edx, 2
test dl, 1
cmove ebx, r11d
cmove r11d, ebp
or dword [rdi + 4], 5
and r8b, 0xf
movzx edx, r8b
bts eax, edx
mov dword [rdi + 0x10], eax
test rcx, rcx
jne 0x1400430ed
mov rcx, qword [rdi + 0x38]
mov esi, dword [rsp + 0x64]
lea rax, [rcx + 0x20]
mov qword [rdi + 0x38], rax
mov eax, dword [r9]
mov dword [rcx], eax
mov dword [rcx + 0x10], r10d
mov dword [rcx + 0x14], r10d
mov r10d, 1
mov dword [rcx + 0x18], r11d
mov eax, r10d
mov dword [rcx + 4], 0xffffffff
mov dword [rcx + 8], 5
mov dword [rcx + 0xc], 0xffff0001
mov dword [rcx + 0x1c], ebx
mov qword [r9 + 0x10], rcx
lea ecx, [rdx*8]
shl eax, cl
add dword [rdi + 0xc], eax
xor r11d, r11d
jmp 0x140043116
cmp dword [rcx + 4], 0xffffffff
jne 0x14004316c
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 esi, dword [rsp + 0x64]
xor r11d, r11d
mov r10d, 1
mov r12d, dword [rsp + 0x8c]
lea rbp, [r13 + 0x40]
mov r14, qword [rsp + 0x98]
inc r15d
mov dword [rsp + 0x80], r15d
cmp r15d, r12d
jae 0x140043180
mov edx, dword [rsp + 0x68]
lea rbx, [0x140000000]
mov r9d, dword [rsp + 0x84]
jmp 0x140042a70
mov esi, dword [rsp + 0x64]
jmp 0x140043116
mov eax, reloc.WLDAP32.dll_Ordinal_60
jmp 0x1400435ef
mov eax, 0x41
jmp 0x1400435ef
mov eax, 3
jmp 0x1400435ef
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x1400435ef
movzx r15d, byte [rsp + 0x60]
mov eax, dword [r13 + 0x38]
test eax, eax
je 0x140043371
mov edx, dword [r13 + 0x3c]
lea ecx, [rdx - 0x100]
cmp ecx, 0xfffffeff
jae 0x140043362
mov r9, qword [r14]
mov rax, qword [r9 + 8]
cmp ecx, dword [rax + 0x1d0]
jae 0x140043176
mov rax, qword [rax + 0x1c8]
mov rdx, qword [rax + rcx*8]
mov r8, qword [rdx + 0x28]
mov qword [rsp + 0xa8], r8
test r8, r8
je 0x1400431d8
mov eax, r11d
jmp 0x1400431f3
lea r8, [rsp + 0xa8]
mov rcx, r9
call fcn.14002c320
mov r8, qword [rsp + 0xa8]
xor r11d, r11d
test eax, eax
jne 0x1400435ef
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 0x1400432b2
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 0x14004328d
mov rcx, qword [rdi + 0x38]
mov esi, r11d
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 0x140043371
cmp dword [rcx + 4], 0xffffffff
jne 0x14004316c
inc byte [rcx + 0xc]
mov esi, r11d
or dword [rcx + 8], 5
and dword [rcx + 0x10], r9d
or dword [rcx + 0x18], 1
and dword [rcx + 0x14], r9d
jmp 0x140043371
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 0x140043335
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 0x140043379
cmp dword [rdx + 4], 0xffffffff
jne 0x14004316c
cmp byte [rdx + 0xe], 0xff
jne 0x140043162
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 0x140043371
shr eax, 8
and al, 0xf
cmp al, 2
jne 0x140043371
test edx, edx
cmovne esi, r11d
xor r10d, r10d
mov ebx, 1
test byte [rsp + 0xd0], 1
je 0x140043426
cmp dword [r13 + 0x38], 0
jne 0x140043426
mov eax, dword [rsp + 0x84]
shr eax, 1
test al, 1
je 0x140043426
cmp r12d, 2
je 0x1400433e1
cmp r12d, 3
jne 0x140043426
mov eax, dword [rbp + 0x1c]
mov edx, r10d
cmp dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x18]
mov r8d, dword [rbp + 4]
sete cl
cmp dword [rbp + 8], eax
sete al
and cl, al
cmp r8d, dword [rbp + 0x14]
movzx eax, cl
cmove edx, eax
mov eax, dword [rbp + 0x10]
cmp dword [rbp], eax
sete al
test al, dl
je 0x140043426
mov ecx, dword [rbp + 4]
sub ecx, 0x100
cmp ecx, 0xfffffeff
jae 0x140043426
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 0x140043423
test qword [rsp + 0x128], rdx
jne 0x140043426
or dword [rdi], 1
test r15b, r15b
je 0x14004345c
mov rdx, qword [rdi + 0x38]
lea rcx, [rdi + 0x40]
cmp rcx, rdx
je 0x14004345c
mov r8d, reloc.WS2_32.dll_ntohs
nop
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 0x140043440
mov rax, qword [rdi + 0x38]
sub rax, rdi
sub rax, 0x40
sar rax, 5
cmp eax, 1
jne 0x1400435bf
xor r8b, r8b
cmp esi, r12d
jne 0x1400434a4
mov rdx, qword [rsp + 0x78]
lea rcx, [0x140000000]
mov eax, dword [rdx]
shr rax, 0xe
and eax, 0x3ff
mov r8d, dword [rcx + rax*8 + 0x242924]
shr r8d, 0x1e
jmp 0x140043581
cmp r12d, 2
jne 0x14004357c
mov eax, dword [r13 + 0x50]
and eax, 7
cmp al, 3
jne 0x14004357c
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 [r13 + 0x30]
shr r9d, 0x18
cmp eax, 0x2ac
ja 0x14004353f
je 0x140043557
sub eax, 7
je 0x140043557
sub eax, 0xe
je 0x140043557
sub eax, 0x1c1
je 0x140043502
sub eax, 0xc9
je 0x140043557
cmp eax, 1
je 0x140043557
jmp 0x14004357c
movzx ecx, byte [r13 + 0x43]
cmp cl, 4
jae 0x140043511
cmp ecx, r9d
jb 0x140043557
mov edx, dword [r13 + 0x5c]
mov eax, dword [r13 + 0x58]
shl rdx, 0x20
or rdx, rax
cmp rdx, 0xffffffffffffffff
je 0x14004353a
bsf ecx, ecx
lea rax, [0x140000000]
cmp rdx, qword [rax + rcx*8 + 0x24ba50]
jne 0x140043557
mov r8b, 2
jmp 0x140043557
sub eax, 0x2db
je 0x140043557
sub eax, 3
je 0x140043557
sub eax, 0x18
je 0x140043557
cmp eax, 0x376
jne 0x14004357c
movzx eax, byte [r13 + 0x43]
cmp al, 4
jne 0x140043565
cmp eax, r9d
jb 0x14004357c
mov ecx, dword [r13 + 0x5c]
mov eax, dword [r13 + 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 0x1400435a7
cmp ecx, 1
jne 0x1400435c4
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 0x1400435c4
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 0x1400435c4
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx]
lea rcx, [0x140000000]
shr rax, 0xe
and eax, 0x3ff
mov eax, dword [rcx + rax*8 + 0x242924]
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.140233310
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret