Function at 0x18003b9e0
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, 0x268
mov dword [rsp + 0x170], 0x1072
movzx eax, byte [0x1800c36a8]
mov byte [rsp + 0x23], al
movsx rax, word [0x1800c36d0]
mov qword [rsp + 0xb0], rax
movzx eax, byte [0x1800c35d3]
mov byte [rsp + 0x40], al
mov eax, dword [0x1800c35d4]
mov qword [rsp + 0x68], rax
movsxd rax, dword [0x1800c36c4]
mov qword [rsp + 0x110], rax
mov eax, 0x1f9f
mov word [rsp + 0x4c], ax
movzx eax, word [0x1800c3680]
mov word [rsp + 0x30], ax
movzx eax, word [0x1800c3680]
mov word [rsp + 0x44], ax
mov rax, qword [0x1800c3680]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x48], 0x8d
movzx eax, byte [0x1800c35a5]
mov byte [rsp + 0x34], al
mov rax, qword [0x1800c36b8]
mov byte [rsp + 0x21], al
movzx eax, byte [str.not_a_stream]
mov qword [rsp + 0xb8], rax
movzx eax, byte [0x1800c35a3]
movsx rax, al
mov qword [rsp + 0x88], rax
movzx eax, byte [0x1800c35a3]
movsx ax, al
mov word [rsp + 0x38], ax
mov rax, qword [0x1800c3690]
mov byte [rsp + 0x20], al
mov rax, qword [0x1800c3680]
mov qword [rsp + 0x70], rax
mov eax, 0x150
mov word [rsp + 0x3c], ax
movzx eax, byte [str.not_a_stream]
mov dword [rsp + 0xa8], eax
mov rax, qword [0x1800c3690]
mov byte [rsp + 0x22], al
movabs rax, 0x9e9302382487e
mov qword [rsp + 0x140], rax
movzx eax, word [0x1800c360c]
mov word [rsp + 0x124], ax
mov dword [rsp + 0x174], 0x29b9004b
mov rax, qword [0x1800c36d8]
mov byte [rsp + 0x90], al
mov rax, qword [0x1800c36b8]
mov byte [rsp + 0x91], al
movzx eax, byte [str.not_a_stream]
mov qword [rsp + 0x198], rax
mov eax, 0x7bdf
mov word [rsp + 0x120], ax
movzx eax, word [0x1800c35ec]
movsx rax, ax
mov qword [rsp + 0x1a0], rax
mov byte [rsp + 0x92], 0xfc
movzx eax, word [rsp + 0x38]
movzx eax, ax
mov rcx, qword [0x1800c36d8]
cmp rax, rcx
jne 0x18003bb9b
mov dword [rsp + 0xf4], 1
jmp 0x18003bba6
mov dword [rsp + 0xf4], 0
movzx eax, word [rsp + 0x38]
movzx eax, ax
cmp eax, 8
jne 0x18003bbc0
mov dword [rsp + 0xf0], 1
jmp 0x18003bbcb
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xf4], eax
jg 0x18003bc2a
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x18003bc1a
movzx eax, byte [0x1800c35eb]
movzx eax, al
mov ecx, dword [0x1800c35bc]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x1800c35bc]
sub ecx, eax
mov eax, ecx
mov dword [0x1800c35bc], eax
mov qword [rsp + 0x110], 0x36d5
jmp 0x18003bc28
mov rax, qword [0x1800c36d8]
mov qword [0x1800c36c8], rax
jmp 0x18003bc44
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x18003bc44
mov rax, qword [0x1800c3690]
add rax, 6
mov qword [0x1800c3688], rax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
cmp rax, rcx
jbe 0x18003bc65
jmp 0x18003bc8f
mov eax, dword [rsp + 0x48]
test eax, eax
jne 0x18003bc77
cmp qword [0x1800c3688], 0
je 0x18003bc8f
mov eax, dword [0x1800c3678]
mov dword [0x1800c3594], eax
movzx eax, word [0x1806dc008]
mov word [rsp + 0x3c], ax
mov eax, dword [rsp + 0x94]
add eax, 0x332
mov dword [rsp + 0x178], eax
mov eax, dword [rsp + 0x94]
add eax, 0x2d4
mov dword [rsp + 0x12c], eax
movzx eax, byte [rsp + 0x23]
movsx eax, al
movzx ecx, word [rsp + 0x44]
movsx ecx, cx
cmp eax, ecx
je 0x18003bcd6
mov dword [rsp + 0xfc], 1
jmp 0x18003bce1
mov dword [rsp + 0xfc], 0
movzx eax, byte [rsp + 0x23]
movsx eax, al
cmp eax, 0x17
je 0x18003bcfb
mov dword [rsp + 0xf8], 1
jmp 0x18003bd06
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0xf8]
mov eax, dword [rsp + 0x94]
add eax, 0x45
mov dword [rsp + 0x80], eax
movzx eax, byte [rsp + 0x22]
movsx eax, al
test eax, eax
je 0x18003be2f
cmp qword [rsp + 0x68], 0
je 0x18003bd78
mov eax, dword [rsp + 0x48]
mov eax, eax
mov rcx, qword [0x1800c3680]
lea rax, [rax + rcx - 0x9e32]
mov dword [rsp + 0x48], eax
mov rax, qword [0x1800c36b0]
movzx ecx, word [rsp + 0x38]
movzx ecx, cx
movabs rdx, 0x46c35134950f7
add rcx, rdx
add rax, rcx
mov word [rsp + 0x38], ax
jmp 0x18003be2d
mov rax, qword [rsp + 0x140]
test rax, rax
je 0x18003bd97
movzx eax, byte [0x1806dc008]
mov byte [0x1800c35a4], al
jmp 0x18003be2d
movsx rax, byte [0x1800c35a7]
mov rcx, qword [0x1800c36b8]
not rcx
cmp rax, rcx
jne 0x18003bdd2
mov rax, qword [0x1800c3668]
shr rax, 1
mov byte [rsp + 0x21], al
mov rax, qword [0x1800c3670]
add rax, 0x28c09aeb
mov qword [0x1800c3670], rax
jmp 0x18003be2d
movzx eax, byte [rsp + 0x20]
movsx eax, al
test eax, eax
je 0x18003be2d
mov rax, qword [0x1800c3660]
not rax
test rax, rax
je 0x18003be2d
movzx eax, word [rsp + 0x30]
cwde
test eax, eax
jne 0x18003be2d
mov rax, qword [0x1800c36c8]
mov ecx, 0xd84fe499
xor rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x140]
xor rax, 0x68110ef4
movzx ecx, byte [rsp + 0x20]
movsx rcx, cl
add rax, rcx
mov qword [rsp + 0xb8], rax
jmp 0x18003be46
mov rax, qword [0x1800c3690]
mov ecx, 0xc3801526
add rax, rcx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x88]
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x20]
movsx eax, al
test eax, eax
jne 0x18003be77
mov dword [rsp + 0x100], 1
jmp 0x18003be82
mov dword [rsp + 0x100], 0
movzx eax, word [rsp + 0x30]
cwde
movzx ecx, byte [rsp + 0x20]
movsx ecx, cl
sub eax, ecx
cdqe
movzx ecx, byte [rsp + 0x34]
movzx ecx, cl
mov edx, dword [rsp + 0x100]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
movzx edx, word [rsp + 0x38]
movzx edx, dx
imul rdx, qword [0x1800c3670]
add rcx, rdx
sub rax, rcx
mov qword [rsp + 0x70], rax
movsx eax, byte [0x1800c35a7]
shl eax, 4
mov byte [0x1800c35a7], al
mov dword [rsp + 0x58], 0
mov qword [rsp + 0xb0], 0
mov rax, qword [0x1800c36e0]
test rax, rax
jne 0x18003bf02
mov dword [rsp + 0xc0], 1
jmp 0x18003bf0d
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x96c270a
mov ecx, 0xffffe575
sub ecx, dword [rsp + 0xc0]
movsxd rcx, ecx
imul rax, rcx
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0
je 0x18003bf50
jmp 0x18003bf75
movzx eax, word [0x1800c35ec]
movsx rax, ax
sub rax, qword [0x1800c3680]
mov byte [rsp + 0x34], al
mov rax, qword [rsp + 0x78]
sub rax, 0x2f
mov dword [0x1800c35d4], eax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x108], rax
mov eax, 0x6cf280f4
sub rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x108]
add rax, 4
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x40], 1
movzx eax, word [rsp + 0x4c]
cwde
test eax, eax
je 0x18003bfc5
movzx eax, word [0x1800c36d0]
mov word [rsp + 0x54], ax
jmp 0x18003bfcf
movzx eax, word [rsp + 0x4c]
mov word [rsp + 0x54], ax
movsx rax, word [rsp + 0x54]
mov qword [0x1800c36e0], rax
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0xc4], al
cmp byte [rsp + 0xc4], 0
je 0x18003c005
cmp byte [rsp + 0xc4], 1
je 0x18003c0a1
jmp 0x18003c0b6
movzx eax, word [rsp + 0x30]
cwde
movzx ecx, byte [rsp + 0x20]
movsx ecx, cl
sub eax, ecx
test eax, eax
jne 0x18003c026
mov dword [rsp + 0xc8], 1
jmp 0x18003c031
mov dword [rsp + 0xc8], 0
movzx eax, word [rsp + 0x3c]
cwde
not eax
cdqe
mov rcx, qword [rsp + 0xb8]
movabs rdx, 0xfaaafbaef4d0c
add rcx, rdx
add rax, rcx
movzx ecx, byte [0x1800c35a4]
movzx edx, word [rsp + 0x3c]
movsx edx, dx
imul ecx, edx
mov edx, dword [rsp + 0xc8]
sub edx, ecx
mov ecx, edx
movsxd rcx, ecx
imul rax, rcx
mov byte [str.not_a_stream], al
movzx eax, word [0x1800c35ec]
cwde
mov ecx, dword [0x1800c35bc]
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x1800c35bc]
sub ecx, eax
mov eax, ecx
mov dword [0x1800c35bc], eax
jmp 0x18003c0b6
mov rax, qword [0x1800c3680]
add rax, 0x5da9
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x1c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x98
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x30]
movsx rax, ax
add rax, qword [rsp + 0x110]
movzx ecx, word [rsp + 0x30]
movsx rcx, cx
or rcx, rax
mov rax, rcx
mov word [rsp + 0x30], ax
mov qword [0x1800c3688], 4
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x78]
sar rax, 5
mov dword [0x1800c36d4], eax
mov dword [rsp + 0x24], 0
mov rax, qword [0x1800c36b0]
test rax, rax
je 0x18003c181
cmp dword [0x1800c35bc], 0
je 0x18003c166
movzx eax, byte [rsp + 0x21]
movsx eax, al
not eax
movzx ecx, byte [rsp + 0x20]
movsx ecx, cl
imul eax, ecx
cdqe
movsx rcx, word [0x1800c360c]
mov rdx, qword [0x1800c36d8]
add rcx, rdx
xor rax, rcx
not rax
mov word [0x1800c36d0], ax
jmp 0x18003c17c
mov rax, qword [0x1800c3690]
test rax, rax
je 0x18003c17c
mov dword [0x1800c3594], 0x857ee38d
jmp 0x18003c268
movzx eax, byte [rsp + 0x21]
movsx eax, al
test eax, eax
je 0x18003c1a6
movzx eax, word [rsp + 0x38]
movzx eax, ax
test eax, eax
je 0x18003c1a6
mov dword [rsp + 0xd0], 1
jmp 0x18003c1b1
mov dword [rsp + 0xd0], 0
cmp dword [0x1800c35d4], 0
je 0x18003c1d0
xor eax, eax
cmp eax, 0x9e2c
je 0x18003c1d0
mov dword [rsp + 0xcc], 1
jmp 0x18003c1db
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
cmp dword [rsp + 0xd0], eax
jg 0x18003c268
mov rax, qword [0x1800c3668]
test rax, rax
jne 0x18003c204
mov dword [rsp + 0xd4], 1
jmp 0x18003c20f
mov dword [rsp + 0xd4], 0
mov eax, dword [rsp + 0xd4]
and eax, 0x332e621b
cdqe
mov rcx, qword [0x1800c3668]
imul rcx, rcx, 0xf362
imul rax, rcx
mov ecx, dword [rsp + 0xa8]
movsxd rcx, ecx
mov rdx, qword [0x1800c3690]
sub rcx, rdx
movabs rdx, 0xff510ced2fe6d
xor rcx, rdx
not rcx
sub rax, rcx
mov dword [0x1800c36d4], eax
mov rax, qword [0x1800c3690]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 2]
mov dword [rsp + 0x128], eax
mov eax, 2
imul rax, rax, 0x12
lea rcx, [0x1806ff900]
movzx eax, word [rcx + rax]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
sub rax, rcx
mov rcx, qword [rsp + 0x70]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], 0
movzx eax, byte [0x1800c35a4]
test eax, eax
je 0x18003c2ea
movzx eax, byte [rsp + 0x21]
movsx eax, al
imul eax, eax, 0x3e
mov dword [0x1800c36c4], eax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x290]
mov dword [rax], 0
mov rax, qword [0x1800c36b8]
sub rax, 0x78e0bd31
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov eax, dword [0x1800c35d4]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x290]
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
mov r8d, 0x98
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.180039930
movzx eax, byte [0x1800c35a3]
movsx eax, al
xor eax, 0x9e50
mov word [rsp + 0x30], ax
movzx eax, byte [0x1800c35a3]
movsx eax, al
mov ecx, dword [rsp + 0x48]
imul eax, ecx
mov byte [0x1800c35a3], al
mov eax, dword [rsp + 0x128]
cmp dword [rsp + 0x24], eax
jae 0x18003c80e
mov qword [rsp + 0x70], 0x58cc927a
mov rax, qword [0x1800c3678]
sar rax, 4
mov qword [0x1800c3670], rax
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and al, 0xf
movzx eax, al
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0xa
ja case.default.0x18003c3ef
movsxd rax, dword [rsp + 0xd8]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x3cef4]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 4
jne 0x18003c40e
xor eax, eax
jmp 0x18003ceea
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 5
jne 0x18003c434
cmp dword [rsp + 0x58], 0
je 0x18003c434
xor eax, eax
jmp 0x18003ceea
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 5
jne 0x18003c460
mov rax, qword [rsp + 0x290]
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x290]
mov eax, dword [rax]
add eax, 8
mov rcx, qword [rsp + 0x290]
mov dword [rcx], eax
jmp case.default.0x18003c3ef
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
test eax, eax
jne 0x18003c4c2
mov eax, dword [rsp + 0x50]
shl eax, 3
mov dword [rsp + 0x50], eax
jmp 0x18003c4f1
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
shl eax, 0x10
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x290]
mov eax, dword [rax]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x290]
mov dword [rcx], eax
jmp case.default.0x18003c3ef
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
mov rcx, qword [rsp + 0x290]
mov ecx, dword [rcx]
lea eax, [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x290]
mov dword [rcx], eax
jmp case.default.0x18003c3ef
xor eax, eax
jmp 0x18003ceea
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 4
jne 0x18003c56a
xor eax, eax
jmp 0x18003ceea
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 2]
mov rcx, qword [rsp + 0x290]
mov ecx, dword [rcx]
lea eax, [rcx + rax*8]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 1]
shr cl, 4
and cl, 0xf
movzx ecx, cl
mov dword [rsp + rcx*4 + 0x1c0], eax
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 5
je 0x18003c5da
mov rax, qword [rsp + 0x290]
mov ecx, dword [rsp + 0x5c]
mov dword [rax], ecx
jmp case.default.0x18003c3ef
cmp dword [rsp + 0x58], 0
je 0x18003c5e8
xor eax, eax
jmp 0x18003ceea
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
mov eax, dword [rsp + rax*4 + 0x1c0]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x290]
mov ecx, dword [rsp + 0x5c]
mov dword [rax], ecx
jmp case.default.0x18003c3ef
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 4
jne 0x18003c63c
xor eax, eax
jmp 0x18003ceea
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 2]
mov rcx, qword [rsp + 0x290]
add eax, dword [rcx]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 1]
shr cl, 4
and cl, 0xf
movzx ecx, cl
mov dword [rsp + rcx*4 + 0x1c0], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 4]
shl ecx, 0x10
add ecx, dword [rsp + rax*4 + 0x1c0]
mov eax, ecx
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 1]
shr cl, 4
and cl, 0xf
movzx ecx, cl
mov dword [rsp + rcx*4 + 0x1c0], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
cmp eax, 5
je 0x18003c6d0
mov rax, qword [rsp + 0x290]
mov ecx, dword [rsp + 0x5c]
mov dword [rax], ecx
jmp case.default.0x18003c3ef
cmp dword [rsp + 0x58], 0
je 0x18003c6de
xor eax, eax
jmp 0x18003ceea
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
mov eax, dword [rsp + rax*4 + 0x1c0]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x290]
mov ecx, dword [rsp + 0x5c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
jmp case.default.0x18003c3ef
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp case.default.0x18003c3ef
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
jmp case.default.0x18003c3ef
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
shr al, 4
and al, 0xf
movzx eax, al
test eax, eax
jne 0x18003c786
mov rax, qword [rsp + 0x290]
mov eax, dword [rax]
add eax, 0x40
mov rcx, qword [rsp + 0x290]
mov dword [rcx], eax
jmp case.default.0x18003c3ef
mov rax, qword [rsp + 0x290]
mov eax, dword [rax]
add eax, 0x48
mov rcx, qword [rsp + 0x290]
mov dword [rcx], eax
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x20]
movsx eax, al
mov ecx, dword [rsp + 0x48]
cmp eax, ecx
jb 0x18003c7c8
mov dword [rsp + 0xe0], 1
jmp 0x18003c7d3
mov dword [rsp + 0xe0], 0
movzx eax, byte [rsp + 0x20]
movsx eax, al
cmp eax, 0x3d
jl 0x18003c7ed
mov dword [rsp + 0xdc], 1
jmp 0x18003c7f8
mov dword [rsp + 0xdc], 0
mov eax, dword [rsp + 0xdc]
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x18003c37f
mov eax, dword [rsp + 0x12c]
mov ecx, dword [rsp + 0x80]
mov edx, dword [rsp + 0x80]
sub ecx, edx
mov edx, dword [rsp + 0x80]
mov edi, dword [rsp + 0x80]
imul edx, edi
sub ecx, edx
cmp eax, ecx
je 0x18003cee6
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax]
shr al, 3
and al, 0x1f
movzx eax, al
sar eax, 2
and eax, 1
test eax, eax
je 0x18003cee6
movzx eax, word [rsp + 0x44]
dec ax
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x3c]
cwde
mov ecx, 4
imul rcx, rcx, 0xc7ea
lea rdx, [0x1808594b0]
mov dword [rdx + rcx], eax
mov rax, qword [0x1800c36e0]
imul rax, rax, 0xd1ef
mov byte [str.not_a_stream], al
mov rax, qword [rsp + 0x68]
mov rcx, qword [0x1800c3678]
sub rcx, rax
mov rax, rcx
mov qword [0x1800c3678], rax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0x98], eax
movzx eax, byte [rsp + 0x23]
movsx eax, al
mov ecx, dword [0x1800c36d4]
cmp eax, ecx
je 0x18003c8e3
mov dword [rsp + 0xe8], 1
jmp 0x18003c8ee
mov dword [rsp + 0xe8], 0
movzx eax, byte [rsp + 0x23]
movsx eax, al
cmp eax, 0x40
je 0x18003c908
mov dword [rsp + 0xe4], 1
jmp 0x18003c913
mov dword [rsp + 0xe4], 0
mov eax, dword [rsp + 0xe4]
cmp dword [rsp + 0xe8], eax
jge 0x18003c967
mov rax, qword [rsp + 0xb0]
sub rax, 0xcc
mov dword [rsp + 0xa8], eax
mov rax, qword [0x1800c36b0]
mov ecx, 0xf58a419b
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x48]
mov ecx, ecx
mov rdx, qword [rsp + 0xb8]
sub rcx, rdx
imul rax, rcx
mov byte [0x1800c35a3], al
jmp 0x18003c992
movzx eax, byte [rsp + 0x34]
movzx eax, al
test eax, eax
je 0x18003c992
movzx eax, word [rsp + 0x4c]
mov byte [0x1800c35a3], al
mov rax, qword [0x1800c36e0]
add rax, 0x3020f586
mov qword [0x1800c3688], rax
mov eax, dword [rsp + 0x98]
add eax, 0x2ef
mov dword [rsp + 0x134], eax
mov eax, dword [rsp + 0x98]
add eax, 0xf3
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x98]
add eax, 0x102
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x9c]
mov ecx, dword [rsp + 0x130]
sub eax, ecx
mov ecx, dword [rsp + 0x9c]
or eax, ecx
mov ecx, dword [rsp + 0x9c]
mov edx, dword [rsp + 0x134]
sub ecx, edx
cmp eax, ecx
je 0x18003cee6
mov eax, dword [0x1800c3594]
and eax, 0xf7e2
mov word [0x1800c3624], ax
mov eax, dword [0x1806dc008]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rsp + 0x22]
movsx rax, al
cmp rax, qword [0x1800c3678]
jge 0x18003ca2f
jmp 0x18003ca78
movabs rax, 0x8b6689856a550
mov qword [0x1800c3688], rax
movzx eax, word [0x1800c3624]
movzx eax, ax
test eax, eax
je 0x18003ca5f
mov rax, qword [0x1800c36d8]
mov qword [rsp + 0x148], rax
jmp 0x18003ca6c
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x148], rax
movzx eax, byte [rsp + 0x148]
mov byte [rsp + 0x23], al
mov eax, dword [rsp + 0xa0]
add eax, 0x287
mov dword [rsp + 0xac], eax
movzx eax, byte [rsp + 0x21]
movsx eax, al
sub eax, 0x1eba
mov byte [rsp + 0x22], al
mov byte [rsp + 0x21], 1
mov eax, dword [rsp + 0xa0]
add eax, 0x1d
mov dword [rsp + 0x17c], eax
movzx eax, word [rsp + 0x38]
movzx eax, ax
mov rcx, qword [0x1800c3668]
cmp rax, rcx
jne 0x18003cacb
jmp 0x18003cbd8
cmp qword [rsp + 0x110], 0
je 0x18003cae7
mov rax, qword [rsp + 0x78]
not rax
test rax, rax
jne 0x18003cb72
movzx eax, byte [rsp + 0x22]
movsx rax, al
imul rax, qword [rsp + 0x68]
test rax, rax
jne 0x18003cb09
mov qword [rsp + 0x150], 1
jmp 0x18003cb15
mov qword [rsp + 0x150], 0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
sub rax, rcx
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x78]
not rcx
movzx edx, word [rsp + 0x30]
movsx rdx, dx
imul rcx, rdx
movzx edx, byte [rsp + 0x22]
movsx edx, dl
mov edi, dword [0x1800c36c0]
add edi, edx
mov edx, edi
movsxd rdx, edx
imul rcx, rdx
not rcx
add rax, rcx
mov dword [0x1800c35bc], eax
jmp 0x18003cbd8
mov rax, qword [rsp + 0x140]
movabs rcx, 0xfffed62aa143a10d
cmp rax, rcx
je 0x18003cb97
mov qword [rsp + 0x158], 1
jmp 0x18003cba3
mov qword [rsp + 0x158], 0
mov rax, qword [0x1800c3690]
not rax
imul rax, qword [rsp + 0x158]
test rax, rax
je 0x18003cbd8
movabs rax, 0x18d9b760b288f
mov rcx, qword [0x1800c3698]
add rcx, rax
mov rax, rcx
mov byte [0x1800c35a5], al
mov eax, dword [rsp + 0xa0]
add eax, 0x2bb
mov dword [rsp + 0x180], eax
lea rax, [rsp + 0x1a8]
lea rcx, str.The_server_refuses
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [rsp + 0x22], al
mov eax, dword [0x1806dc008]
mov dword [rsp + 0xa4], eax
cmp qword [rsp + 0x68], 0
je 0x18003cc4b
mov rax, qword [0x1800c3660]
not rax
test rax, rax
je 0x18003cc4b
mov qword [rsp + 0x160], 1
jmp 0x18003cc57
mov qword [rsp + 0x160], 0
mov rax, qword [0x1800c36c8]
mov ecx, 0xf941be53
add rax, rcx
mov rcx, qword [rsp + 0x160]
sub rcx, rax
mov rax, rcx
test rax, rax
je 0x18003ccc5
movzx eax, byte [rsp + 0x20]
movsx eax, al
test eax, eax
je 0x18003cca1
mov dword [rsp + 0x48], 4
mov rax, qword [rsp + 0x88]
and rax, 7
mov byte [0x1800c35a7], al
jmp 0x18003ccc5
mov eax, dword [rsp + 0x48]
mov eax, eax
mov rcx, qword [0x1800c3688]
not rcx
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
sub rax, rcx
mov byte [0x1800c35a6], al
mov eax, dword [rsp + 0xa4]
add eax, 0x33
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0xa4]
add eax, 0xb0
mov dword [rsp + 0x184], eax
movzx eax, byte [rsp + 0x21]
movsx rax, al
movabs rcx, 0xa84e92c72402b
sub rax, rcx
mov word [rsp + 0x3c], ax
mov eax, dword [rsp + 0xa4]
add eax, 0x8482
mov dword [rsp + 0x138], eax
mov qword [rsp + 0xb8], 3
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
je 0x18003cd64
cmp qword [rsp + 0x118], 1
je 0x18003cd84
cmp qword [rsp + 0x118], 2
je 0x18003cda1
cmp qword [rsp + 0x118], 3
je 0x18003cdb5
jmp 0x18003cdf1
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
jmp 0x18003cdf1
movzx eax, word [rsp + 0x4c]
movsx rax, ax
movabs rcx, 0xce72f0510e43c
add rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x18003cdf1
mov rax, qword [rsp + 0xb0]
and rax, 0x34
mov byte [0x1800c35d3], al
jmp 0x18003cdf1
movzx eax, byte [0x1800c35a3]
movsx eax, al
test eax, eax
je 0x18003cdd5
mov eax, dword [0x1800c36d4]
mov eax, eax
mov qword [rsp + 0x168], rax
jmp 0x18003cde4
mov rax, qword [0x1800c3668]
mov qword [rsp + 0x168], rax
movzx eax, word [rsp + 0x168]
mov word [rsp + 0x44], ax
mov eax, dword [rsp + 0xec]
mov ecx, dword [rsp + 0x138]
add eax, ecx
mov ecx, dword [rsp + 0xec]
sub ecx, 0x7b41
sub eax, ecx
mov ecx, 0xffc4
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x13c], eax
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 2]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
and eax, 1
test eax, eax
je 0x18003ce9a
mov eax, dword [rsp + 0xa8]
add eax, 0x1df8
cdqe
mov qword [rsp + 0xb0], rax
movzx eax, byte [0x1800c35a6]
movsx eax, al
movzx ecx, word [rsp + 0x44]
movsx ecx, cx
mov eax, dword [rsp + 0xac]
mov ecx, dword [rsp + 0xac]
sub eax, ecx
mov ecx, dword [rsp + 0xac]
sub ecx, 0x278
imul eax, ecx
mov ecx, dword [rsp + 0x13c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x108]
lea rax, [rcx + rax*2 + 4]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x280]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x290]
mov rdx, rax
mov rcx, qword [rsp + 0x280]
call fcn.18003a3b0
jmp 0x18003ceea
mov eax, dword [rsp + 0x60]
add rsp, 0x268
pop rdi
pop rsi
ret