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

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov byte [rsp + 8], cl
sub rsp, 0xc8
mov eax, 0x37c1
mov word [rsp + 0x4c], ax
mov rax, qword [0x1401772c0]
mov word [rsp + 0x10], ax
movzx eax, word [0x1401772b0]
mov word [rsp + 0x24], ax
mov byte [rsp + 4], 0x36
mov eax, 0x8878
mov word [rsp + 0x20], ax
mov byte [rsp + 3], 0x7a
mov byte [rsp + 0x18], 0xd0
mov eax, 0x81dc4c52
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x64], 0xcc44
mov dword [rsp + 0x14], 0x7cc93813
movzx eax, word [0x14017725c]
movsx rax, ax
mov qword [rsp + 0x98], rax
mov byte [rsp + 2], 0xe4
movzx eax, byte [0x140177254]
mov byte [rsp + 0x19], al
mov qword [rsp + 0x68], 0x4d74cb7d
movzx eax, word [0x14017722c]
mov word [rsp + 0x28], ax
mov eax, 0x645a
mov word [rsp + 0x2c], ax
mov byte [rsp + 1], 0xc4
mov rax, qword [0x140177278]
mov qword [rsp + 0xa0], rax
mov eax, dword [0x1401772bc]
mov word [rsp + 8], ax
mov dword [rsp + 0x60], 0xdeb43dab
movzx eax, word [0x14017726c]
mov word [rsp + 0xc], ax
mov rax, qword [0x1401772c0]
mov dword [rsp + 0x38], eax
mov byte [rsp], 0x12
movzx eax, byte [0x1401771a7]
movsx rax, al
mov qword [rsp + 0x70], rax
mov rax, qword [0x1401772c0]
mov word [rsp + 0x50], ax
mov eax, 0xa3
mov word [rsp + 0x54], ax
mov eax, dword [0x1401772bc]
mov byte [rsp + 0x1a], al
mov dword [rsp + 0x94], 0xe607d9b6
mov rax, qword [0x1401772a8]
mov qword [rsp + 0xa8], rax
movzx eax, byte [0x14017722b]
mov byte [rsp + 0x1b], al
movabs rax, 0xbeaaf51aa316c
mov qword [rsp + 0xb0], rax
mov eax, 0x717c
mov word [rsp + 0x5c], ax
mov eax, 0x8ddd
mov word [rsp + 0x58], ax
movzx eax, byte [0x1401771ff]
mov byte [rsp + 0x1c], al
movzx eax, word [0x140177288]
mov byte [rsp + 0x1d], al
mov dword [rsp + 0x90], 0xc3
movzx eax, word [0x1401772cc]
cwde
test eax, eax
je 0x14003a8cf
movsx eax, word [0x140177298]
cmp dword [0x1401772dc], eax
jge 0x14003a782
mov dword [rsp + 0x44], 1
jmp 0x14003a78a
mov dword [rsp + 0x44], 0
cmp dword [0x1401772dc], 0x34
jge 0x14003a79d
mov dword [rsp + 0x40], 1
jmp 0x14003a7a5
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jg 0x14003a7e3
mov eax, dword [rsp + 0x14]
shr eax, 6
mov eax, eax
mov qword [0x140177280], rax
mov eax, dword [0x14017726c]
sub eax, 0xdd9
mov byte [rsp + 4], al
movsx eax, word [rsp + 0x10]
imul eax, eax, 0xa5
mov word [rsp + 8], ax
jmp 0x14003a8cd
cmp dword [0x14017726c], 0
jne 0x14003a82d
movzx eax, byte [rsp + 1]
sub eax, 0x4928
mov word [0x14017725c], ax
mov eax, 8
imul rax, rax, 0x1966
lea rcx, [0x14042ec70]
mov rax, qword [rcx + rax]
mov rcx, qword [0x140177280]
add rcx, rax
mov rax, rcx
mov qword [0x140177280], rax
jmp 0x14003a8cd
mov eax, dword [rsp + 0x60]
not eax
test eax, eax
je 0x14003a841
cmp qword [0x1401772a0], 0
jne 0x14003a84f
movzx eax, byte [0x14017722f]
movsx eax, al
test eax, eax
je 0x14003a891
mov eax, dword [0x14017729c]
shr eax, 4
mov word [0x1401772cc], ax
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 2], al
movzx eax, byte [0x14017722f]
movsx eax, al
sub eax, 0xb0
movzx ecx, word [0x14017728c]
movzx ecx, cx
xor ecx, eax
mov eax, ecx
mov word [0x14017728c], ax
jmp 0x14003a8cd
movsx eax, word [0x140177260]
test eax, eax
je 0x14003a8cd
movzx eax, byte [0x14017722b]
mov ecx, dword [0x14017729c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x14017729c]
add ecx, eax
mov eax, ecx
mov dword [0x14017729c], eax
movzx eax, byte [rsp + 1]
movzx ecx, byte [rsp]
lea eax, [rcx + rax + 0x56]
mov byte [rsp], al
jmp 0x14003a8f3
mov eax, dword [rsp + 0x14]
mov eax, eax
cmp qword [rsp + 0x70], rax
ja 0x14003a8f3
mov qword [0x1401772c0], 0xb0
movzx eax, word [0x140371450]
mov word [rsp + 8], ax
mov rax, qword [0x140177248]
mov ecx, dword [rsp + 0x14]
mov ecx, ecx
cmp rax, rcx
jg 0x14003a90f
mov dword [rsp + 0x3c], 1
jmp 0x14003a917
mov dword [rsp + 0x3c], 0
mov rax, qword [0x140177248]
cmp rax, 0x18
jg 0x14003a92e
mov dword [rsp + 0x48], 1
jmp 0x14003a936
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x3c], eax
jle 0x14003a965
movzx eax, word [rsp + 0xc]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
movzx eax, byte [0x140371450]
mov byte [rsp + 3], al
jmp 0x14003aa7d
mov rax, qword [rsp + 0x78]
not rax
test rax, rax
je 0x14003a9df
movzx eax, byte [str.ORtlGetDeviceFamily]
add eax, 0x80d4
cdqe
mov qword [0x1401772b0], rax
movzx eax, word [0x1401772d4]
cwde
movzx ecx, word [0x14017728c]
movzx ecx, cx
add eax, ecx
movzx ecx, word [0x1401772d4]
movsx ecx, cx
add ecx, eax
mov eax, ecx
mov word [0x1401772d4], ax
mov eax, dword [rsp + 0x14]
test eax, eax
je 0x14003a9c5
movsx eax, word [0x140177260]
mov dword [rsp + 0x30], eax
jmp 0x14003a9d0
movzx eax, word [0x140177254]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [0x1401772bc], eax
jmp 0x14003aa7d
movzx eax, word [rsp + 0x20]
test eax, eax
je 0x14003aa7d
mov eax, dword [0x140371450]
mov dword [0x140177264], eax
movzx eax, word [rsp + 8]
mov word [0x1401772cc], ax
mov rax, qword [0x1401772c0]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
test rax, rax
jne 0x14003aa29
mov qword [rsp + 0x80], 1
jmp 0x14003aa35
mov qword [rsp + 0x80], 0
movzx eax, word [rsp + 0xc]
movabs rcx, 0x9a4921d488c53
add rax, rcx
mov rcx, qword [rsp + 0x80]
imul rcx, rax
mov rax, rcx
movsx rcx, word [rsp + 0x24]
mov rdx, qword [0x140177248]
and rcx, rdx
mov rdx, qword [0x140177270]
sub rdx, rcx
mov rcx, rdx
sub rax, rcx
mov qword [0x140177278], rax
mov eax, dword [rsp + 0x38]
shr eax, 1
mov byte [rsp], al
movzx eax, byte [0x1401771fe]
movsx eax, al
movsx ecx, word [0x14017722c]
sub eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
test eax, eax
jne 0x14003aab3
mov qword [rsp + 0x88], 1
jmp 0x14003aabf
mov qword [rsp + 0x88], 0
movsxd rax, dword [0x1401772dc]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
imul rax, qword [rsp + 0x88]
not rax
mov word [rsp + 0x10], ax
movzx eax, word [0x1401772b8]
cwde
test eax, eax
jne 0x14003aaf8
mov dword [rsp + 0x34], 1
jmp 0x14003ab00
mov dword [rsp + 0x34], 0
movzx eax, byte [str.ORtlGetDeviceFamily]
add eax, 0xb4
imul ecx, dword [rsp + 0x34], 0xecacb6c
movzx edx, byte [rsp + 2]
movsx edx, dl
movzx r8d, byte [rsp]
not r8d
xor edx, r8d
imul ecx, edx
and eax, ecx
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x28]
movzx eax, ax
test eax, eax
je 0x14003ab66
mov eax, 2
mov word [rsp + 0x2c], ax
movzx eax, byte [0x14017722b]
sub eax, 0x3b77
cdqe
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x14003ab94
movzx eax, byte [rsp + 1]
mov word [0x140177258], ax
movzx eax, word [rsp + 0xc]
add eax, 0xb7
mov dword [0x1401772dc], eax
movzx eax, byte [str.ORtlGetDeviceFamily]
add eax, 0x48e4ce07
mov byte [0x1401771a6], al
movzx eax, byte [rsp + 3]
add rsp, 0xc8
ret