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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2c8
mov eax, 0xffffd81a
mov word [rsp + 0x16c], ax
mov rax, qword [0x1800c3668]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], 0xffc
movzx eax, byte [0x1800c35a3]
movsx rax, al
mov qword [rsp + 0xb0], rax
mov eax, 0xe15
mov word [rsp + 0x50], ax
mov byte [rsp + 0x44], 0xe8
mov eax, 0xf399c547
mov qword [rsp + 0x138], rax
movzx eax, byte [0x1800c35d3]
mov word [rsp + 0x40], ax
mov eax, 0x72
mov word [rsp + 0x28], ax
mov byte [rsp + 0x21], 0xea
mov eax, dword [0x1800c35d4]
mov dword [rsp + 0x5c], eax
mov eax, 0x99a5
mov word [rsp + 0x3c], ax
movabs rax, 0xb938f71d0e8ce
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x54], 0x7698
movzx eax, word [0x1800c36d0]
mov word [rsp + 0x48], ax
mov eax, 0xf3
mov word [rsp + 0x80], ax
mov rax, qword [0x1800c3660]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x128], 0xaa
mov eax, 0x74
mov word [rsp + 0x38], ax
movzx eax, byte [0x1800c3670]
mov byte [rsp + 0x20], al
mov eax, dword [0x1800c3680]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], 0x1e2b
mov dword [rsp + 0x198], 0xcd2031c5
mov dword [rsp + 0x19c], 0x37
mov rax, qword [0x1800c3690]
mov dword [rsp + 0x1a0], eax
mov rax, qword [0x1800c36e0]
mov word [rsp + 0x164], ax
movabs rax, 0xf6a7a8f9f6473
mov qword [rsp + 0x1c8], rax
mov eax, 0x6ad
mov word [rsp + 0x15c], ax
mov eax, 0xde
mov word [rsp + 0x160], ax
mov eax, dword [0x1800c35d4]
mov dword [rsp + 0x1a4], eax
movzx eax, byte [0x1800c35eb]
movzx eax, al
and eax, 0x50
cdqe
mov rcx, qword [rsp + 0x128]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
movzx eax, byte [0x1800c35a4]
mov rcx, qword [rsp + 0xa8]
imul rax, rcx
movzx ecx, byte [0x1800c35a4]
xor rcx, rax
mov rax, rcx
mov byte [0x1800c35a4], al
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
add eax, 0x13
mov dword [rsp + 0x168], eax
movzx eax, word [0x1800c3624]
movzx eax, ax
sub eax, 0x6c632f41
mov byte [str.not_a_stream], al
mov eax, dword [rsp + 0x88]
add eax, 0xb7
mov dword [rsp + 0xd8], eax
mov dword [rsp + 0x5c], 1
movzx eax, word [rsp + 0x40]
cwde
test eax, eax
je 0x18003a5df
movzx eax, word [rsp + 0x40]
movsx rax, ax
mov qword [rsp + 0x178], rax
jmp 0x18003a5ec
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x60], 8
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x130], eax
cmp dword [rsp + 0x130], 0
je 0x18003a626
cmp dword [rsp + 0x130], 1
je 0x18003a644
jmp 0x18003a657
movzx eax, byte [0x1800c35eb]
movzx eax, al
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov word [0x1800c36d0], ax
jmp 0x18003a657
movzx eax, byte [rsp + 0x21]
movzx eax, al
add eax, 0xa6e9
mov byte [0x1800c35eb], al
mov eax, dword [rsp + 0x88]
add eax, 0x1c5
mov dword [rsp + 0xd4], eax
movsx rax, byte [0x1800c35a7]
mov rcx, qword [0x1800c3668]
add rax, rcx
movsx rcx, word [0x1800c360c]
and rax, rcx
mov word [0x1800c3624], ax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
add eax, 0x1c5
mov dword [rsp + 0xe0], eax
mov eax, dword [0x1800c36d4]
mov eax, eax
mov eax, dword [rsp + 0x8c]
add eax, 0x2f0
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0xa8]
sub rax, qword [0x1800c3678]
movzx ecx, byte [rsp + 0x20]
movzx edx, word [rsp + 0x40]
movsx edx, dx
add ecx, edx
movsxd rcx, ecx
imul rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x8c]
add eax, 0x1c7
mov dword [rsp + 0x1b4], eax
mov rax, qword [rsp + 0x138]
cmp rax, qword [rsp + 0xb0]
jge 0x18003a725
mov dword [rsp + 0xb8], 1
jmp 0x18003a730
mov dword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x138]
cmp rax, 0x56
jge 0x18003a74b
mov dword [rsp + 0x134], 1
jmp 0x18003a756
mov dword [rsp + 0x134], 0
mov eax, dword [rsp + 0x134]
cmp dword [rsp + 0xb8], eax
jle 0x18003a781
movzx eax, word [rsp + 0x48]
cwde
add eax, 0x8109
mov word [rsp + 0x3c], ax
mov qword [0x1800c36b8], 4
mov qword [rsp + 0x60], 1
movzx eax, byte [rsp + 0x21]
movzx eax, al
sub eax, 0xd632
mov byte [0x1800c35d3], al
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x18003a7e0
mov rax, qword [0x1800c36a0]
cmp rax, qword [0x1800c3698]
jle 0x18003a7e0
mov eax, dword [0x1800c35bc]
mov rcx, qword [0x1800c36e0]
sub rax, rcx
mov dword [0x1800c35bc], eax
movzx eax, byte [str.not_a_stream]
mov ecx, dword [0x1800c3594]
sub eax, ecx
mov byte [str.not_a_stream], al
lea rax, [rsp + 0x200]
lea rcx, str.GetLengthSid
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1a
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov qword [0x1800c36c8], rax
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x60], rax
jb 0x18003a83f
mov dword [rsp + 0xc0], 1
jmp 0x18003a84a
mov dword [rsp + 0xc0], 0
cmp qword [rsp + 0x60], 0x3f
jb 0x18003a85f
mov dword [rsp + 0xbc], 1
jmp 0x18003a86a
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
cmp dword [rsp + 0xc0], eax
jge 0x18003a87f
jmp 0x18003a96d
movsx eax, byte [0x1800c35a7]
test eax, eax
je 0x18003a8b8
mov rax, qword [0x1800c3690]
mov rcx, qword [0x1800c36a0]
add rax, rcx
mov qword [0x1800c3690], rax
movzx eax, word [0x1800c35ec]
cwde
add eax, 0xf86d
mov dword [rsp + 0x54], eax
jmp 0x18003a96d
movsx eax, word [rsp + 0x80]
test eax, eax
jne 0x18003a8de
xor eax, eax
cmp eax, 0xd5e0ff57
je 0x18003a8de
mov eax, dword [0x1806dc008]
mov dword [0x1800c35bc], eax
jmp 0x18003a96d
mov rax, qword [rsp + 0xb0]
add rax, 0xf04c
test rax, rax
je 0x18003a96d
movzx eax, byte [0x1800c35a4]
movsx ecx, word [rsp + 0x38]
xor eax, ecx
test eax, eax
jne 0x18003a911
mov qword [rsp + 0x180], 1
jmp 0x18003a91d
mov qword [rsp + 0x180], 0
mov rax, qword [0x1800c3688]
not rax
mov rcx, qword [0x1800c3698]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x28]
movzx ecx, cx
sub rcx, qword [0x1800c36a8]
imul rax, rcx
mov ecx, dword [rsp + 0x54]
movsxd rcx, ecx
add rax, qword [rsp + 0x180]
movabs rdx, 0xa9c5124392f62
add rcx, rdx
add rax, rcx
mov qword [0x1800c36a8], rax
mov dword [rsp + 0xa4], 0
cmp qword [0x1800c36a8], 0
je 0x18003aabc
movzx eax, byte [0x1800c35d3]
mov rcx, qword [rsp + 0x128]
cmp rax, rcx
jle 0x18003a9a7
mov dword [rsp + 0xc8], 1
jmp 0x18003a9b2
mov dword [rsp + 0xc8], 0
movzx eax, byte [0x1800c35d3]
cmp eax, 0x25
jle 0x18003a9cb
mov dword [rsp + 0xc4], 1
jmp 0x18003a9d6
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
cmp dword [rsp + 0xc8], eax
jl 0x18003aa1f
cmp qword [rsp + 0x60], 0
je 0x18003a9fd
movzx eax, word [rsp + 0x48]
cwde
mov dword [rsp + 0xcc], eax
jmp 0x18003aa0b
movsx eax, byte [0x1800c35a5]
mov dword [rsp + 0xcc], eax
movzx eax, word [rsp + 0xcc]
mov word [0x1800c35ec], ax
jmp 0x18003aaba
movsx eax, word [0x1800c360c]
test eax, eax
jne 0x18003aa37
mov dword [rsp + 0xd0], 1
jmp 0x18003aa42
mov dword [rsp + 0xd0], 0
movzx eax, byte [rsp + 0x44]
movzx eax, al
cmp eax, dword [rsp + 0xd0]
jg 0x18003aa70
mov eax, 2
imul rax, rax, 0x5c
lea rcx, [0x180823a00]
movzx edx, word [0x1800c3688]
mov word [rcx + rax], dx
jmp 0x18003aaba
movzx eax, byte [str.not_a_stream]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
test rax, rax
je 0x18003aaba
movzx eax, word [rsp + 0x28]
movzx eax, ax
movzx ecx, word [rsp + 0x50]
add eax, ecx
movzx ecx, word [rsp + 0x28]
movzx ecx, cx
add ecx, eax
mov eax, ecx
mov word [rsp + 0x28], ax
movzx eax, byte [rsp + 0x44]
movzx eax, al
add eax, 0xc4
mov byte [str.not_a_stream], al
jmp 0x18003aacf
movsx eax, byte [0x1800c35a5]
imul eax, eax, 0x625913f5
mov dword [0x1800c3594], eax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x70], rax
movzx eax, byte [0x1800c35eb]
movzx eax, al
add eax, 0xf6c4
mov byte [0x1800c35a3], al
mov rax, qword [rsp + 0x70]
add rax, 4
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x220]
mov rdi, rax
xor eax, eax
mov ecx, 0x98
rep stosb byte [rdi], al
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0xd4]
xor eax, ecx
imul eax, eax, 0x50c
mov ecx, dword [rsp + 0xd8]
mov edx, dword [rsp + 0xd8]
xor ecx, edx
mov edx, dword [rsp + 0x168]
imul edx, edx, 0x286
imul ecx, edx
add eax, ecx
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
mov r8d, 0x98
xor edx, edx
lea rcx, [rsp + 0x220]
call fcn.180039930
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 2]
cmp dword [rsp + 0x24], eax
jae 0x18003af0d
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
and al, 0xf
movzx eax, al
mov dword [rsp + 0xdc], eax
cmp dword [rsp + 0xdc], 0xa
ja case.default.0x18003abc1
movsxd rax, dword [rsp + 0xdc]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x3b9a4]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 4
jne 0x18003abea
cmp dword [rsp + 0xa4], 0
jne 0x18003abea
xor eax, eax
jmp 0x18003b999
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax]
add eax, 8
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
test eax, eax
jne 0x18003ac4c
mov eax, dword [rsp + 0x4c]
shl eax, 3
mov dword [rsp + 0x4c], eax
jmp 0x18003ac7b
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
shl eax, 0x10
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax]
add eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
mov rcx, qword [rsp + 0x2f0]
mov ecx, dword [rcx]
lea eax, [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
shr al, 3
and al, 0x1f
movzx eax, al
and eax, 1
test eax, eax
je 0x18003acfe
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
shr al, 3
and al, 0x1f
movzx eax, al
sar eax, 2
and eax, 1
test eax, eax
je 0x18003acfe
xor eax, eax
jmp 0x18003b999
mov dword [rsp + 0xa4], 1
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 3]
shr al, 4
and al, 0xf
movzx eax, al
imul eax, eax, 0xfffffff0
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax]
add eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 5
je 0x18003ad6a
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 4
jne 0x18003ad71
xor eax, eax
jmp 0x18003b999
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 2]
mov rcx, qword [rsp + 0x2f0]
mov ecx, dword [rcx]
lea eax, [rcx + rax*8]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 1]
shr cl, 4
and cl, 0xf
movzx ecx, cl
mov dword [rsp + rcx*4 + 0x220], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 5
je 0x18003ade9
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 4
jne 0x18003adf0
xor eax, eax
jmp 0x18003b999
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 2]
mov rcx, qword [rsp + 0x2f0]
add eax, dword [rcx]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 1]
shr cl, 4
and cl, 0xf
movzx ecx, cl
mov dword [rsp + rcx*4 + 0x220], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 4]
shl ecx, 0x10
add ecx, dword [rsp + rax*4 + 0x220]
mov eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 1]
shr cl, 4
and cl, 0xf
movzx ecx, cl
mov dword [rsp + rcx*4 + 0x220], eax
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
test eax, eax
jne 0x18003aed9
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax]
add eax, 0x40
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
jmp case.default.0x18003abc1
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax]
add eax, 0x48
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x18003ab6a
mov eax, dword [rsp + 0x90]
sub eax, 0x2a
mov ecx, dword [rsp + 0xe0]
mov edx, dword [rsp + 0x90]
add ecx, edx
mov edx, dword [rsp + 0x90]
mov edi, dword [rsp + 0xe0]
add edx, edi
sub ecx, edx
cmp eax, ecx
je 0x18003b992
mov dword [0x1800c36c4], 1
mov eax, 0xa8
mov word [rsp + 0x48], ax
mov eax, dword [0x1800c36c4]
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0xe4], 0
je 0x18003af78
cmp dword [rsp + 0xe4], 1
je 0x18003afb8
jmp 0x18003afcd
mov eax, 4
imul rax, rax, 0xcff5
lea rcx, [0x1808594b0]
movzx eax, byte [rcx + rax]
mov byte [0x1800c35a4], al
movzx eax, word [rsp + 0x28]
movzx eax, ax
movzx ecx, byte [rsp + 0x20]
imul eax, ecx
movzx ecx, word [rsp + 0x28]
movzx ecx, cx
and ecx, eax
mov eax, ecx
mov word [rsp + 0x28], ax
jmp 0x18003afcd
movsx eax, byte [0x1800c35a5]
add eax, 0xd7fedd86
mov eax, eax
mov qword [0x1800c36d8], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
shr al, 3
and al, 0x1f
movzx eax, al
sar eax, 2
and eax, 1
test eax, eax
je 0x18003b992
movzx eax, word [rsp + 0x50]
movzx ecx, word [0x1800c3624]
movzx ecx, cx
add eax, ecx
movzx ecx, word [0x1800c35ec]
movsx ecx, cx
sub eax, ecx
not eax
movzx ecx, word [rsp + 0x3c]
movzx ecx, cx
mov edx, dword [0x1800c36d4]
sub ecx, edx
sub eax, ecx
mov eax, eax
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x21]
movzx eax, al
sub eax, 0x3589
mov dword [0x1800c3594], eax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x78]
add rax, 0x1c79ba03
mov byte [0x1800c35eb], al
mov eax, dword [rsp + 0x68]
mov eax, eax
sub rax, qword [0x1800c3688]
mov ecx, dword [0x1800c35d4]
mov rdx, qword [rsp + 0x78]
not rdx
add rdx, qword [rsp + 0xb0]
sub rcx, rdx
add rax, rcx
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x84]
add eax, 0x2c6
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x84]
add eax, 0x388
mov dword [rsp + 0x150], eax
mov eax, dword [0x1806dc008]
mov dword [0x1800c35bc], eax
mov rax, qword [rsp + 0xb0]
sub rax, 0x799f
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x84]
add eax, 0x148
mov dword [rsp + 0x1a8], eax
mov rax, qword [0x1800c3690]
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x94], eax
movzx eax, byte [0x1800c35a6]
movsx eax, al
and eax, 0x89
cdqe
mov qword [0x1800c36e0], rax
mov eax, dword [rsp + 0x94]
add eax, 0x34c
mov dword [rsp + 0x1ac], eax
mov eax, dword [0x1806dc008]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x94]
add eax, 0x34f
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x94]
add eax, 0x1e9
mov dword [rsp + 0x1b0], eax
mov eax, dword [rsp + 0x170]
sub eax, 0x95
mov ecx, 0x213
sub ecx, eax
mov eax, ecx
cmp eax, 0x1fe
je 0x18003b992
mov rax, qword [0x1800c3690]
test rax, rax
je 0x18003b2bc
cmp dword [0x1800c36c0], 0
jne 0x18003b1a0
mov rax, qword [rsp + 0xa8]
test rax, rax
jne 0x18003b1a0
mov dword [rsp + 0xe8], 0
jmp 0x18003b1ab
mov dword [rsp + 0xe8], 1
mov eax, dword [rsp + 0xe8]
not eax
movzx ecx, byte [str.not_a_stream]
cmp eax, ecx
jl 0x18003b1cc
mov dword [rsp + 0xf4], 1
jmp 0x18003b1d7
mov dword [rsp + 0xf4], 0
movzx eax, byte [0x1800c35d3]
cmp rax, qword [rsp + 0x140]
jb 0x18003b1f5
mov dword [rsp + 0xec], 1
jmp 0x18003b200
mov dword [rsp + 0xec], 0
cmp dword [rsp + 0xec], 1
jge 0x18003b217
mov dword [rsp + 0xf0], 1
jmp 0x18003b222
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xf4], eax
jl 0x18003b23f
mov dword [rsp + 0xf8], 1
jmp 0x18003b24a
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0xf8]
not eax
test eax, eax
je 0x18003b2ba
movzx eax, word [rsp + 0x28]
movzx eax, ax
test eax, eax
jne 0x18003b271
mov qword [rsp + 0x188], 1
jmp 0x18003b27d
mov qword [rsp + 0x188], 0
mov rax, qword [0x1800c36e0]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
movzx ecx, byte [rsp + 0x21]
movzx ecx, cl
movzx edx, word [rsp + 0x40]
movsx edx, dx
add ecx, edx
movsxd rcx, ecx
sub rax, rcx
movzx ecx, byte [rsp + 0x20]
xor rax, rcx
not rax
mov word [rsp + 0x28], ax
jmp 0x18003b326
cmp qword [0x1800c36a8], 0
je 0x18003b326
mov rax, qword [0x1800c36b8]
test rax, rax
jne 0x18003b2df
mov dword [rsp + 0xfc], 1
jmp 0x18003b2ea
mov dword [rsp + 0xfc], 0
movzx eax, byte [0x1800c35a6]
movsx eax, al
mov ecx, dword [rsp + 0xfc]
xor ecx, eax
mov eax, ecx
cdqe
mov qword [0x1800c36e0], rax
movsx rax, byte [0x1800c35a7]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
movzx eax, byte [0x1800c35eb]
movzx eax, al
mov ecx, dword [rsp + 0x58]
cmp eax, ecx
jge 0x18003b345
mov dword [rsp + 0x100], 1
jmp 0x18003b350
mov dword [rsp + 0x100], 0
mov eax, dword [rsp + 0x100]
cmp dword [0x1800c36c4], eax
jge 0x18003b36c
mov dword [rsp + 0x108], 1
jmp 0x18003b377
mov dword [rsp + 0x108], 0
cmp dword [0x1800c35d4], 0xd3
je 0x18003b390
mov dword [rsp + 0x104], 1
jmp 0x18003b39b
mov dword [rsp + 0x104], 0
mov eax, dword [rsp + 0x104]
cmp dword [rsp + 0x108], eax
jne 0x18003b403
xor eax, eax
mov word [rsp + 0x38], ax
mov rax, qword [0x1800c3660]
imul rax, qword [0x1800c3678]
mov qword [0x1800c3660], rax
mov eax, dword [rsp + 0x54]
sub eax, 0xb994f2
mov dword [0x1800c3594], eax
movsx eax, word [rsp + 0x38]
mov dword [rsp + 0x158], eax
cmp dword [rsp + 0x158], 0
je 0x18003b3ef
jmp 0x18003b401
movsx eax, byte [0x1800c35a5]
imul eax, eax, 0x4db7
mov word [rsp + 0x40], ax
jmp 0x18003b442
movzx eax, byte [0x1800c35eb]
movzx eax, al
test eax, eax
je 0x18003b442
mov eax, 0xc9
mov word [rsp + 0x3c], ax
movsx rax, word [0x1800c36d0]
movabs rcx, 0x4917721fd87f2
imul rax, rcx
movsx rcx, word [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov word [rsp + 0x38], ax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x68]
not eax
mov eax, eax
mov rcx, qword [0x1800c36b0]
add rax, rcx
not rax
movzx ecx, word [rsp + 0x48]
movsx rcx, cx
sub rcx, qword [0x1800c3698]
sub rax, rcx
xor rax, qword [0x1800c36a8]
mov byte [0x1800c35a5], al
movzx eax, byte [str.not_a_stream]
mov qword [0x1800c36d8], rax
mov eax, dword [rsp + 0x98]
add eax, 0x14d
mov dword [rsp + 0x1bc], eax
mov eax, dword [rsp + 0x98]
add eax, 0xd7
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x1d0]
lea rcx, str.IDS_FILE_INFO_NO_S
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cdqe
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x98]
add eax, 0x32f
mov dword [rsp + 0x1b8], eax
mov rax, qword [0x1800c3660]
mov rcx, qword [0x1800c3660]
cmp rax, rcx
jg 0x18003b51a
mov qword [rsp + 0x190], 1
jmp 0x18003b526
mov qword [rsp + 0x190], 0
mov rax, qword [rsp + 0x190]
cmp qword [0x1800c3670], rax
jle 0x18003b544
mov dword [rsp + 0x10c], 1
jmp 0x18003b54f
mov dword [rsp + 0x10c], 0
mov eax, dword [rsp + 0x10c]
not eax
test eax, eax
je 0x18003b55e
jmp 0x18003b5be
mov rax, qword [0x1800c36b8]
cmp rax, 0x8ab
je 0x18003b590
mov eax, dword [0x1806dc008]
mov dword [0x1800c36d4], eax
mov rax, qword [rsp + 0x138]
sub rax, 0x82
mov qword [0x1800c3660], rax
jmp 0x18003b5be
movzx eax, word [0x1800c35ec]
movsx rax, ax
cmp rax, qword [0x1800c3688]
jle 0x18003b5be
mov rax, qword [rsp + 0x78]
xor rax, 0x17
mov ecx, dword [rsp + 0x54]
movsxd rcx, ecx
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x54], eax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x9c], eax
movzx eax, word [rsp + 0x3c]
movzx eax, ax
mov ecx, dword [0x1800c36d4]
cmp eax, ecx
jae 0x18003b5ff
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov rax, qword [0x1800c36a0]
mov rcx, qword [rsp + 0x78]
sub rax, rcx
mov qword [0x1800c36a0], rax
jmp 0x18003b623
mov rax, qword [rsp + 0x128]
mov rcx, qword [0x1800c3688]
xor rcx, rax
mov rax, rcx
imul rax, qword [0x1800c3698]
mov qword [0x1800c36b8], rax
mov eax, dword [rsp + 0x9c]
add eax, 0xb9d3
mov dword [rsp + 0x148], eax
movsx eax, word [0x1800c360c]
movzx ecx, word [0x1800c35ec]
movsx ecx, cx
cmp eax, ecx
jle 0x18003b658
mov dword [rsp + 0x114], 1
jmp 0x18003b663
mov dword [rsp + 0x114], 0
movsx eax, word [0x1800c360c]
cmp eax, 0x26
jle 0x18003b67c
mov dword [rsp + 0x110], 1
jmp 0x18003b687
mov dword [rsp + 0x110], 0
mov eax, dword [rsp + 0x110]
mov eax, dword [rsp + 0x9c]
add eax, 0x3300
mov dword [rsp + 0x14c], eax
mov eax, dword [rsp + 0x68]
movsx ecx, word [rsp + 0x38]
cmp eax, ecx
jbe 0x18003b6bb
mov dword [rsp + 0x11c], 1
jmp 0x18003b6c6
mov dword [rsp + 0x11c], 0
mov eax, dword [rsp + 0x68]
cmp eax, 0x2d
jbe 0x18003b6dc
mov dword [rsp + 0x118], 1
jmp 0x18003b6e7
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x11c], eax
jg 0x18003b6f9
jmp 0x18003b73c
movzx eax, byte [0x1800c35a6]
movsx eax, al
test eax, eax
je 0x18003b73c
movsx eax, byte [0x1800c35a7]
mov ecx, dword [rsp + 0x58]
or ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xa8]
sub rax, rcx
movzx ecx, byte [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x9c]
add eax, 0xb71a
mov dword [rsp + 0x124], eax
cmp qword [0x1800c3680], 0
je 0x18003b7b9
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x18003b76c
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x21], al
jmp 0x18003b7b4
mov rax, qword [0x1800c36c8]
test rax, rax
je 0x18003b789
movzx eax, word [rsp + 0x40]
cwde
sub eax, 0xb
mov dword [0x1800c36c4], eax
jmp 0x18003b7b4
cmp qword [rsp + 0xb0], 0
je 0x18003b7b4
mov eax, dword [0x1800c35bc]
mov ecx, dword [0x1800c35bc]
xor ecx, eax
mov eax, ecx
mov ecx, dword [0x1800c35bc]
sub ecx, eax
mov eax, ecx
mov dword [0x1800c35bc], eax
jmp 0x18003b851
movzx eax, word [rsp + 0x3c]
movzx eax, ax
cmp rax, qword [0x1800c36a8]
jl 0x18003b851
movzx eax, word [0x1800c35ec]
cwde
not eax
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cdqe
movzx ecx, word [rsp + 0x3c]
movzx ecx, cx
mov rdx, qword [0x1800c3668]
xor rcx, rdx
xor rax, rcx
test rax, rax
jne 0x18003b809
mov dword [rsp + 0x120], 1
jmp 0x18003b814
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x58], eax
movsx rax, byte [0x1800c35a5]
mov rcx, qword [0x1800c36b0]
add rcx, rax
mov rax, rcx
mov ecx, dword [0x1800c3594]
movsxd rcx, ecx
mov rdx, qword [0x1800c36c8]
add rdx, rcx
mov rcx, rdx
add rax, rcx
mov byte [rsp + 0x21], al
lea rax, [rsp + 0x1e8]
lea rcx, str.interaction_requir
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cdqe
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x124]
mov ecx, dword [rsp + 0x124]
imul eax, ecx
mov ecx, dword [rsp + 0x148]
mov edx, dword [rsp + 0x14c]
or ecx, edx
add eax, ecx
mov eax, eax
mov ecx, dword [rsp + 0xa0]
mov edx, dword [rsp + 0xa0]
xor ecx, edx
mov edx, dword [rsp + 0xa0]
mov edi, dword [rsp + 0x150]
add edx, edi
imul ecx, edx
mov ecx, ecx
movabs rdx, 0xffffffff7d09158a
add rax, rdx
add rax, rcx
mov dword [rsp + 0x154], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 2]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
and eax, 1
test eax, eax
je 0x18003b949
mov rax, qword [rsp + 0x138]
sub rax, 0x150b05c7
mov dword [rsp + 0x5c], eax
movzx eax, word [rsp + 0x3c]
movzx eax, ax
and eax, 0xff
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x6c]
xor eax, ecx
mov ecx, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x6c]
sub ecx, edx
imul eax, ecx
mov ecx, dword [rsp + 0x154]
add eax, dword [rsp + 0x24]
add eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*2 + 4]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x2e0]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x2f0]
mov rdx, rax
mov rcx, qword [rsp + 0x2e0]
call fcn.18003a3b0
jmp 0x18003b999
mov eax, dword [rsp + 0xa4]
add rsp, 0x2c8
pop rdi
pop rsi
ret