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

Disassembly:
mov word [rsp + 0x20], r9w
mov word [rsp + 0x18], r8w
mov word [rsp + 0x10], dx
mov word [rsp + 8], cx
sub rsp, 0xc8
mov rax, qword [0x140177418]
mov byte [rsp + 0x24], al
movzx eax, byte [0x14017733e]
mov byte [rsp + 0x25], al
movzx eax, word [0x140177420]
mov word [rsp + 0x58], ax
movzx eax, byte [0x140177316]
movzx eax, al
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x20], 0x66
mov dword [rsp + 0x74], 0x3494e686
movzx eax, byte [0x14017733f]
movzx eax, al
mov dword [rsp + 0x44], eax
movzx eax, byte [str._api_ms_win_securit]
movsx eax, al
mov dword [rsp + 0x38], eax
movabs rax, 0xd0d4820880761
mov qword [rsp + 0xa0], rax
mov rax, qword [0x140177400]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x78], 0x840e
mov eax, 0xffff8c72
mov word [rsp + 0x5c], ax
mov eax, 0xffffe3f8
mov word [rsp + 0x60], ax
movzx eax, word [0x14017740c]
mov qword [rsp + 0xa8], rax
mov eax, dword [0x1401773bc]
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x6c], 0xde
movzx eax, word [0x140177450]
movzx eax, ax
mov qword [rsp + 0x98], rax
mov byte [rsp + 0x23], 0x8a
movzx eax, word [0x1401773d0]
mov word [rsp + 0x64], ax
mov byte [rsp + 0x22], 0x27
movzx eax, word [0x140177430]
mov word [rsp + 0x2c], ax
movsx eax, word [0x1401773f8]
mov dword [rsp + 0x68], eax
mov eax, 0x3823
mov word [rsp + 0x54], ax
mov eax, 0x831a
mov word [rsp + 0x4c], ax
mov dword [rsp + 0x80], 0x9401
mov qword [rsp + 0xb0], 0x41a9
movzx eax, byte [0x140177410]
mov byte [rsp + 0x26], al
movabs rax, 0x9596999e2a14a
mov qword [rsp + 0xb8], rax
mov byte [rsp + 0x27], 0x75
mov byte [rsp + 0x28], 0xa3
movzx eax, byte [0x140177454]
mov byte [rsp + 0x29], al
mov eax, dword [0x1401773bc]
mov dword [rsp + 0x84], eax
movzx eax, byte [0x1401772ed]
movsx ax, al
mov word [rsp + 0x50], ax
mov rax, qword [0x140177428]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 0x12d7
mov byte [rsp + 0x2a], 0x3a
mov eax, dword [0x1401773dc]
mov eax, eax
mov r9d, 0x48
mov r8d, eax
xor edx, edx
mov ecx, 0x7c
call fcn.140060310
mov qword [0x1401773f0], rax
cmp qword [0x1401773f0], 0
je 0x14005f379
movzx eax, byte [rsp + 0x22]
movzx eax, al
imul eax, eax, 0x11c
mov byte [0x1401772ee], al
mov eax, dword [rsp + 0x38]
sub eax, 0xa017
mov eax, eax
mov ecx, dword [rsp + 0x38]
mov rdx, qword [0x140177448]
add rdx, rcx
mov rcx, rdx
and rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x14005f4e5
cmp qword [0x140177448], 0x8a0d
jg 0x14005f390
mov dword [rsp + 0x30], 1
jmp 0x14005f398
mov dword [rsp + 0x30], 0
mov rax, qword [0x140177410]
not rax
mov ecx, dword [rsp + 0x30]
not ecx
movsxd rcx, ecx
cmp rax, rcx
je 0x14005f3ba
mov dword [rsp + 0x34], 1
jmp 0x14005f3c2
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
not eax
test eax, eax
je 0x14005f43c
movzx eax, byte [0x140177396]
movabs rcx, 0x743d27378fae
sub rax, rcx
movzx ecx, word [0x1401773fc]
movzx ecx, cx
sub rcx, rax
mov rax, rcx
mov word [0x1401773fc], ax
cmp dword [0x140177408], 0
je 0x14005f40c
mov eax, dword [0x140177444]
mov dword [rsp + 0x3c], eax
jmp 0x14005f417
movsx eax, byte [0x140177353]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3c]
mov byte [0x14017733f], al
mov eax, dword [0x1401773d8]
add eax, 0x9b
cdqe
mov qword [rsp + 0x98], rax
jmp 0x14005f4e5
movsx eax, word [0x1401773b8]
movzx ecx, byte [0x14017733f]
movzx ecx, cl
cmp eax, ecx
jge 0x14005f49e
mov eax, dword [0x1405246b0]
mov qword [0x140177430], rax
cmp dword [rsp + 0x68], 0
jne 0x14005f46f
mov dword [rsp + 0x40], 1
jmp 0x14005f477
mov dword [rsp + 0x40], 0
mov eax, dword [0x1401773dc]
sub eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x6c], eax
movsx eax, word [0x1401773f8]
add eax, 0xecdf
cdqe
mov qword [0x140177418], rax
jmp 0x14005f4e5
movsx eax, byte [rsp + 0x20]
test eax, eax
je 0x14005f4e5
mov eax, dword [rsp + 0x70]
mov eax, eax
movabs rcx, 0xf1a5fa4b516f9
add rax, rcx
mov byte [0x1401772ef], al
mov eax, dword [rsp + 0x44]
add eax, 0x1d
mov dword [rsp + 0x74], eax
mov eax, dword [0x1401773d8]
cdqe
movabs rcx, 0x4aa7b0550a1f2
imul rax, rcx
mov dword [rsp + 0x78], eax
mov eax, 0xbef922d5
mov rcx, qword [0x1401773d0]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
cmp dword [0x140177408], 0
jne 0x14005f50e
mov dword [rsp + 0x48], 1
jmp 0x14005f516
mov dword [rsp + 0x48], 0
movzx eax, word [rsp + 0x2c]
mov ecx, 0x547df16e
sub ecx, dword [rsp + 0x48]
sub eax, ecx
test eax, eax
jne 0x14005f531
mov byte [rsp + 0x21], 1
jmp 0x14005f536
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
movsx rax, byte [rsp + 0x20]
imul rax, qword [0x140177430]
movsx rcx, byte [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x23]
movsx ax, al
add rsp, 0xc8
ret