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

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x640
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x5e0], rcx
mov qword [rbp + 0x3b8], 0
lea rax, str.C:WindowsSYSTEM32_ntdll.dll
mov qword [rbp + 0x4d0], rax
mov dword [rbp + 0x4cc], 0x60
mov eax, dword [rbp + 0x4cc]
mov rax, qword gs:[rax]
mov qword [rbp + 0x4c0], rax
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x4b8], rax
mov dword [rbp + 0x4b4], 0
mov rax, qword [rbp + 0x4b8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x4a8], rax
mov rax, qword [rbp + 0x4a8]
imul eax, eax, 0x123881
mov dword [rbp + 0x4b4], eax
mov rax, qword [rbp + 0x4a8]
add rax, 0x20
mov qword [rbp + 0x4a0], rax
mov rax, qword [rbp + 0x4a0]
mov rax, qword [rax]
mov qword [rbp + 0x498], rax
mov rax, qword [rbp + 0x498]
movsxd rdx, eax
imul rdx, rdx, 0x38e38e39
shr rdx, 0x20
sar edx, 2
sar eax, 0x1f
sub eax, edx
add dword [rbp + 0x4b4], eax
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x41
mov rdi, rdx
rep stosq qword [rdi], rax
lea rdx, [rbp + 0x1b0]
mov eax, 0
mov ecx, 0x41
mov rdi, rdx
rep stosq qword [rdi], rax
mov rax, qword [rbp + 0x498]
mov qword [rbp + 0x490], rax
jmp 0x14000338f
mov rax, qword [rbp + 0x490]
sub rax, 0x10
mov qword [rbp + 0x488], rax
lea rax, [rbp - 0x60]
mov r8d, 0x208
mov edx, 0
mov rcx, rax
call sym.custom_memset
lea rax, [rbp + 0x1b0]
mov r8d, 0x208
mov edx, 0
mov rcx, rax
call sym.custom_memset
mov rax, qword [rbp + 0x488]
sub eax, 0x41223
add dword [rbp + 0x4b4], eax
mov rax, qword [rbp + 0x488]
mov rax, qword [rax + 0x50]
lea rdx, [rbp - 0x60]
mov qword [rbp + 0x480], rdx
mov qword [rbp + 0x478], 0x104
mov qword [rbp + 0x470], rax
cmp qword [rbp + 0x480], 0
je 0x14000317c
cmp qword [rbp + 0x470], 0
je 0x14000317c
mov rax, qword [rbp + 0x470]
mov qword [rbp + 0x468], rax
cmp qword [rbp + 0x468], 0
jne 0x140003064
mov eax, 0
jmp 0x140003097
mov qword [rbp + 0x460], 0
jmp 0x140003081
add qword [rbp + 0x460], 1
add qword [rbp + 0x468], 2
mov rax, qword [rbp + 0x468]
movzx eax, word [rax]
test ax, ax
jne 0x140003071
mov rax, qword [rbp + 0x460]
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
add rax, 1
cmp qword [rbp + 0x478], rax
jb 0x14000317f
mov rax, qword [rbp + 0x480]
mov qword [rbp + 0x450], rax
mov rax, qword [rbp + 0x470]
mov qword [rbp + 0x448], rax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x440], rax
mov rax, qword [rbp + 0x450]
mov qword [rbp + 0x438], rax
jmp 0x14000312b
mov rax, qword [rbp + 0x448]
movzx edx, word [rax]
mov rax, qword [rbp + 0x450]
mov word [rax], dx
mov rax, qword [rbp + 0x448]
movzx eax, word [rax]
test ax, ax
je 0x140003137
add qword [rbp + 0x450], 2
add qword [rbp + 0x448], 2
sub qword [rbp + 0x440], 1
cmp qword [rbp + 0x440], 0
jne 0x1400030f0
jmp 0x140003156
nop
jmp 0x140003156
mov rax, qword [rbp + 0x450]
mov word [rax], 0
add qword [rbp + 0x450], 2
sub qword [rbp + 0x440], 1
cmp qword [rbp + 0x440], 0
jne 0x14000313a
mov rax, qword [rbp + 0x458]
lea rdx, [rax + rax]
mov rax, qword [rbp + 0x480]
add rax, rdx
mov word [rax], 0
jmp 0x140003180
nop
jmp 0x140003180
nop
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x430], rax
mov qword [rbp + 0x428], 0x104
mov rax, qword [rbp + 0x4d0]
mov qword [rbp + 0x420], rax
cmp qword [rbp + 0x430], 0
je 0x1400032fa
cmp qword [rbp + 0x420], 0
je 0x1400032fa
mov rax, qword [rbp + 0x420]
mov qword [rbp + 0x418], rax
cmp qword [rbp + 0x418], 0
jne 0x1400031e2
mov eax, 0
jmp 0x140003215
mov qword [rbp + 0x410], 0
jmp 0x1400031ff
add qword [rbp + 0x410], 1
add qword [rbp + 0x418], 2
mov rax, qword [rbp + 0x418]
movzx eax, word [rax]
test ax, ax
jne 0x1400031ef
mov rax, qword [rbp + 0x410]
mov qword [rbp + 0x408], rax
mov rax, qword [rbp + 0x408]
add rax, 1
cmp qword [rbp + 0x428], rax
jb 0x1400032fd
mov rax, qword [rbp + 0x430]
mov qword [rbp + 0x400], rax
mov rax, qword [rbp + 0x420]
mov qword [rbp + 0x3f8], rax
mov rax, qword [rbp + 0x428]
mov qword [rbp + 0x3f0], rax
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
jmp 0x1400032a9
mov rax, qword [rbp + 0x3f8]
movzx edx, word [rax]
mov rax, qword [rbp + 0x400]
mov word [rax], dx
mov rax, qword [rbp + 0x3f8]
movzx eax, word [rax]
test ax, ax
je 0x1400032b5
add qword [rbp + 0x400], 2
add qword [rbp + 0x3f8], 2
sub qword [rbp + 0x3f0], 1
cmp qword [rbp + 0x3f0], 0
jne 0x14000326e
jmp 0x1400032d4
nop
jmp 0x1400032d4
mov rax, qword [rbp + 0x400]
mov word [rax], 0
add qword [rbp + 0x400], 2
sub qword [rbp + 0x3f0], 1
cmp qword [rbp + 0x3f0], 0
jne 0x1400032b8
mov rax, qword [rbp + 0x408]
lea rdx, [rax + rax]
mov rax, qword [rbp + 0x430]
add rax, rdx
mov word [rax], 0
jmp 0x1400032fe
nop
jmp 0x1400032fe
nop
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x3e0], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x3d8], rax
jmp 0x140003329
add qword [rbp + 0x3e0], 2
add qword [rbp + 0x3d8], 2
mov rax, qword [rbp + 0x3e0]
movzx edx, word [rax]
mov rax, qword [rbp + 0x3d8]
movzx eax, word [rax]
cmp dx, ax
jne 0x140003351
mov rax, qword [rbp + 0x3e0]
movzx eax, word [rax]
test ax, ax
jne 0x140003319
mov rax, qword [rbp + 0x3e0]
movzx eax, word [rax]
movzx edx, ax
mov rax, qword [rbp + 0x3d8]
movzx eax, word [rax]
movzx eax, ax
sub edx, eax
test edx, edx
jne 0x14000337e
mov rax, qword [rbp + 0x488]
mov rbx, qword [rax + 0x30]
jmp 0x1400033a4
mov rax, qword [rbp + 0x490]
mov rax, qword [rax]
mov qword [rbp + 0x490], rax
mov rax, qword [rbp + 0x4a0]
cmp rax, qword [rbp + 0x490]
jne 0x140002fac
nop
mov qword [rbp + 0x5b8], rbx
mov rax, qword [rbp + 0x5b8]
xor eax, dword [rbp + 0x5b4]
mov edx, dword [rbp + 0x5b4]
imul eax, edx
mov dword [rbp + 0x5b4], eax
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 0x530], rax
lea rax, str.RtlInitUnicodeString
mov qword [rbp + 0x528], rax
mov dword [rbp + 0x524], 0
mov rax, qword [rbp + 0x530]
mov qword [rbp + 0x518], rax
mov rax, qword [rbp + 0x518]
imul eax, eax, 0x123881
mov dword [rbp + 0x524], eax
mov rax, qword [rbp + 0x518]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x530]
add rax, rdx
mov qword [rbp + 0x510], rax
mov rax, qword [rbp + 0x510]
movsxd rdx, eax
imul rdx, rdx, 0x38e38e39
shr rdx, 0x20
sar edx, 2
sar eax, 0x1f
sub eax, edx
add dword [rbp + 0x524], eax
mov rax, qword [rbp + 0x510]
mov eax, dword [rax + 0x88]
mov edx, eax
mov rax, qword [rbp + 0x530]
add rax, rdx
mov qword [rbp + 0x508], rax
mov rax, qword [rbp + 0x508]
sub eax, 0x41223
add dword [rbp + 0x524], eax
mov rax, qword [rbp + 0x508]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x530]
add rax, rdx
mov qword [rbp + 0x500], rax
mov rax, qword [rbp + 0x508]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x530]
add rax, rdx
mov qword [rbp + 0x4f8], rax
mov rax, qword [rbp + 0x508]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0x530]
add rax, rdx
mov qword [rbp + 0x4f0], rax
mov dword [rbp + 0x4ec], 0
jmp 0x1400035e0
call fcn.14000237d
invalid
mov rax, qword [rbp + 0x508]
mov eax, dword [rax + 0x18]
cmp dword [rbp + 0x4ec], eax
jb 0x1400034e7
mov eax, 0
mov qword [rbp + 0x5a8], rax
mov rdx, qword [rbp + 0x5e0]
lea rax, [rbp + 0x3c0]
mov r8, qword [rbp + 0x5a8]
mov rcx, rax
call r8
call fcn.14000237d
invalid