Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
wait
lahf
xchg ebx, eax
lahf
xchg edx, eax
xchg edx, eax
xchg ecx, eax
sahf
wait
std
clc
wait
std
cwde
cwde
cwde
stc
std
xchg ecx, eax
nop
wait
clc
std
xchg edx, eax
cdq
lahf
std
xchg ebx, eax
stc
std
xchg ebx, eax
lahf
wait
std
xchg edx, eax
wait
xchg edx, eax
sahf
xchg ebx, eax
cwde
nop
clc
cwde
clc
cdq
xchg ebx, eax
wait
cld
xchg edx, eax
clc
cld
wait
lahf
xchg ebx, eax
cld
cld
sahf
cwde
lahf
cld
cld
clc
xchg ecx, eax
xchg edx, eax
cwde
clc
xchg ebx, eax
cdq
xchg edx, eax
cdq
xchg ecx, eax
clc
cdq
sahf
xchg ecx, eax
xchg edx, eax
std
nop
clc
sahf
sahf
lahf
lahf
stc
cld
lahf
cdq
xchg edx, eax
xchg ebx, eax
wait
nop
nop
nop
xchg edx, eax
cld
xchg ecx, eax
sahf
lahf
sahf
nop
wait
sahf
cwde
cwde
wait
xchg ecx, eax
cld
xchg ebx, eax
xchg ebx, eax
cdq
sahf
clc
sahf
xchg edx, eax
clc
cld
cwde
wait
xchg ecx, eax
nop
xchg ecx, eax
std
stc
clc
xchg edx, eax
wait
xchg ecx, eax
lahf
sahf
cwde
cld
xchg ebx, eax
stc
clc
stc
xchg edx, eax
stc
std
lahf
sahf
cld
xchg ecx, eax
xchg edx, eax
cld
xchg ecx, eax
cdq
clc
cdq
xchg ecx, eax
nop
sahf
cdq
wait
cld
sahf
lahf
nop
lahf
cld
lahf
stc
xchg ecx, eax
cld
stc
sahf
std
lahf
sahf
cld
lahf
lahf
stc
lahf
cld
wait
cld
wait
xchg edx, eax
xchg ecx, eax
std
cld
wait
xchg edx, eax
sahf
xchg ebx, eax
nop
std
xchg ecx, eax
xchg ecx, eax
nop
nop
xchg ebx, eax
xchg edx, eax
cld
xchg ecx, eax
wait
std
xchg edx, eax
std
xchg ebx, eax
lahf
xchg edx, eax
nop
lahf
clc
nop
cld
nop
lahf
nop
cwde
xchg edx, eax
cld
clc
sahf
sahf
cdq
cld
xchg edx, eax
std
xchg ebx, eax
cld
xchg edx, eax
xchg edx, eax
cwde
std
clc
cwde
xchg ebx, eax
wait
clc
lahf
cwde
clc
stc
xchg ebx, eax
cdq
wait
stc
stc
sahf
xchg ebx, eax
sahf
nop
cwde
xchg ebx, eax
lahf
cdq
cld
xchg edx, eax
cwde
cdq
lahf
clc
clc
cdq
sahf
stc
cwde
wait
cld
cdq
cwde
xchg ecx, eax
nop
cld
xchg edx, eax
xchg edx, eax
stc
cld
xchg edx, eax
lahf
xchg ecx, eax
cdq
stc
xchg edx, eax
xchg ebx, eax
wait
std
std
cld
xchg ebx, eax
xchg ecx, eax
wait
xchg ecx, eax
stc
cwde
cdq
std
xchg edx, eax
wait
lahf
xchg edx, eax
cwde
cld
cdq
clc
wait
nop
xchg ecx, eax
xchg edx, eax
xchg edx, eax
xchg ebx, eax
cwde
std
nop
cdq
std
cld
xchg edx, eax
cld
cdq
stc
xchg ebx, eax
cwde
xchg ecx, eax
sahf
xchg ecx, eax
xchg ecx, eax
stc
clc
xchg ebx, eax
wait
cld
cld
cld
xchg ecx, eax
xchg edx, eax
stc
xchg ebx, eax
std
cdq
xchg edx, eax
sahf
xchg ebx, eax
lahf
wait
cdq
xchg ebx, eax
stc
sahf
cwde
xchg ecx, eax
nop
stc
stc
stc
lahf
cwde
xchg ebx, eax
lahf
stc
cld
lahf
sahf
wait
wait
xchg ebx, eax
xchg ebx, eax
std
cdq
stc
stc
std
cld
sahf
xchg ebx, eax
cwde
cwde
xchg ecx, eax
wait
clc
cld
clc
cwde
xchg edx, eax
stc
std
std
cwde
xchg edx, eax
sahf
cdq
clc
clc
cld
cld
nop
cdq
xchg edx, eax
wait
cld
std
std
cdq
xchg ecx, eax
xchg ebx, eax
lahf
cld
sahf
stc
std
xchg ecx, eax
stc
xchg ecx, eax
clc
stc
sahf
xchg edx, eax
xchg ecx, eax
stc
sahf
lahf
wait
std
cdq
cwde
cld
xchg edx, eax
xchg edx, eax
nop
clc
xchg ecx, eax
cdq
xchg ebx, eax
lahf
clc
sahf
cwde
xchg ecx, eax
sahf
xchg edx, eax
nop
xchg ebx, eax
cld
sahf
cdq
std
sahf
std
cwde
sahf
nop
wait
lahf
stc
wait
cdq
cdq
lahf
nop
xchg edx, eax
xchg edx, eax
stc
lahf
xchg ebx, eax
sahf
xchg edx, eax
stc
xchg ecx, eax
cld
xchg ecx, eax
xchg edx, eax
stc
wait
stc
xchg ebx, eax
stc
cwde
xchg ecx, eax
cwde
cdq
stc
cwde
cwde
cdq
xchg ebx, eax
stc
cwde
nop
std
cdq
wait
xchg edx, eax
std
sahf
std
xchg edx, eax
stc
cwde
cdq
nop
stc
lahf
xchg ecx, eax
xchg ebx, eax
nop
xchg edx, eax
lahf
sahf
cld
and rsp, 0xfffffffffffffff0
call fcn.1400042ca
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14000422b
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x140004221
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400042bf
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400042bf
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400042be
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004275
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004266
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004215