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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x24], 0
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.180012cb0
movzx eax, byte [rsp + 0x4f0]
test eax, eax
je 0x18002b0ac
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x4f8]
call fcn.1800045b0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.18001ea20
mov rcx, rax
call fcn.180011be0
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x220]
call fcn.180003020
jmp 0x18002b100
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x4f8]
call fcn.1800045b0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.18001eb40
mov rcx, rax
call fcn.180011be0
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x200]
call fcn.180003020
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x320]
call fcn.18001fef0
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.180040410
lea rcx, [rsp + 0x2d0]
call fcn.180005f70
nop
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x4f8]
call fcn.1800045b0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.18001e120
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x210]
call fcn.180003020
lea rcx, [0x1800b21a0]
call fcn.18001dc90
mov qword [rsp + 0x110], rax
lea rcx, [0x1800b21a0]
call fcn.180011be0
mov qword [rsp + 0x118], rax
mov r9, qword [rsp + 0x500]
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xc8]
call fcn.1800409b0
mov qword [rsp + 0x70], 0
jmp 0x18002b1ec
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18002bebb
cmp qword [rsp + 0x70], 4
jae 0x18002bebb
mov rax, qword [rsp + 0x70]
movzx eax, byte [rsp + rax + 0x80]
mov byte [rsp + 0x5c], al
cmp byte [rsp + 0x5c], 0x20
je 0x18002be29
cmp byte [rsp + 0x5c], 0x24
je 0x18002b24e
cmp byte [rsp + 0x5c], 0x2b
je 0x18002b54a
cmp byte [rsp + 0x5c], 0x76
je 0x18002b953
cmp byte [rsp + 0x5c], 0x78
je 0x18002be29
jmp 0x18002beb6
lea rdx, [rsp + 0x2f8]
mov rcx, qword [rsp + 0x48]
call fcn.1800349a0
nop
lea rcx, [rsp + 0xd0]
call fcn.18001fb50
nop
mov rcx, qword [rsp + 0x4f8]
call fcn.180004520
and eax, 8
test eax, eax
jne 0x18002b2d1
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002b2d1
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x2f8]
call fcn.1800348f0
movzx eax, word [rax]
mov ecx, dword [rsp + 0xac]
cmp ecx, eax
jne 0x18002b33a
cmp qword [rsp + 0x70], 3
jne 0x18002b349
lea rcx, [rsp + 0x320]
call fcn.180040810
cmp rax, 1
ja 0x18002b349
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002b33a
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0x2f8]
call fcn.1800348f0
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb0]
cmp ecx, eax
je 0x18002b349
xor edx, edx
lea rcx, [rsp + 0x2f8]
call fcn.18003fa50
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x2f8]
call fcn.180034830
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call fcn.1800213b0
lea rcx, [rsp + 0x230]
call fcn.180020c60
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002b43b
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x2f8]
call fcn.18003f850
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0xd0]
call fcn.1800216e0
movzx eax, al
test eax, eax
jne 0x18002b43b
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
mov dword [rsp + 0xb4], eax
lea rcx, [rsp + 0xd0]
call fcn.180021940
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb4]
cmp ecx, eax
jne 0x18002b43b
mov dword [rsp + 0x8c], 1
jmp 0x18002b446
mov dword [rsp + 0x8c], 0
movzx eax, byte [rsp + 0x8c]
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x24]
and eax, 1
test eax, eax
je 0x18002b46f
and dword [rsp + 0x24], 0xfffffffe
lea rcx, [rsp + 0x248]
call fcn.180020c60
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x18002b497
lea rcx, [rsp + 0xd0]
call fcn.180021df0
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
jmp 0x18002b388
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x2f8]
call fcn.18003f850
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.1800216e0
movzx eax, al
test eax, eax
jne 0x18002b4dd
mov dword [rsp + 0x90], 1
jmp 0x18002b4e8
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0x260]
call fcn.180020c60
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x18002b50f
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0xd0]
call fcn.180020c40
nop
lea rcx, [rsp + 0x2f8]
call fcn.180020d30
jmp 0x18002beb6
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002b94e
lea rdx, [rsp + 0x398]
mov rcx, qword [rsp + 0x48]
call fcn.180040510
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x24]
or eax, 2
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x148]
call fcn.180040810
test rax, rax
jbe 0x18002b63b
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x48]
call fcn.180040510
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
xor edx, edx
mov rcx, qword [rsp + 0x160]
call fcn.180021730
movzx eax, word [rax]
mov dword [rsp + 0xb8], eax
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
mov ecx, dword [rsp + 0xb8]
cmp ecx, eax
jne 0x18002b63b
mov dword [rsp + 0x94], 1
jmp 0x18002b646
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x24]
and eax, 4
test eax, eax
je 0x18002b670
and dword [rsp + 0x24], 0xfffffffb
lea rcx, [rsp + 0x370]
call fcn.180020d30
nop
mov eax, dword [rsp + 0x24]
and eax, 2
test eax, eax
je 0x18002b68d
and dword [rsp + 0x24], 0xfffffffd
lea rcx, [rsp + 0x398]
call fcn.180020d30
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x18002b6e4
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
lea rdx, [rsp + 0x3c0]
mov rcx, qword [rsp + 0x48]
call fcn.180040510
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x320]
call fcn.1800214d0
lea rcx, [rsp + 0x3c0]
call fcn.180020d30
jmp 0x18002b94e
lea rdx, [rsp + 0x410]
mov rcx, qword [rsp + 0x48]
call fcn.180040460
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov eax, dword [rsp + 0x24]
or eax, 8
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x178]
call fcn.180040810
test rax, rax
jbe 0x18002b7b5
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x48]
call fcn.180040460
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov eax, dword [rsp + 0x24]
or eax, 0x10
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
xor edx, edx
mov rcx, qword [rsp + 0x190]
call fcn.180021730
movzx eax, word [rax]
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
mov ecx, dword [rsp + 0xbc]
cmp ecx, eax
jne 0x18002b7b5
mov dword [rsp + 0x98], 1
jmp 0x18002b7c0
mov dword [rsp + 0x98], 0
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x18002b7ea
and dword [rsp + 0x24], 0xffffffef
lea rcx, [rsp + 0x3e8]
call fcn.180020d30
nop
mov eax, dword [rsp + 0x24]
and eax, 8
test eax, eax
je 0x18002b807
and dword [rsp + 0x24], 0xfffffff7
lea rcx, [rsp + 0x410]
call fcn.180020d30
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x18002b863
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
lea rdx, [rsp + 0x438]
mov rcx, qword [rsp + 0x48]
call fcn.180040460
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x320]
call fcn.1800214d0
lea rcx, [rsp + 0x438]
call fcn.180020d30
mov byte [rsp + 0x28], 1
jmp 0x18002b94e
lea rdx, [rsp + 0x488]
mov rcx, qword [rsp + 0x48]
call fcn.180040510
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x24]
or eax, 0x20
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x1a8]
call fcn.180040810
test rax, rax
je 0x18002b8ee
lea rdx, [rsp + 0x460]
mov rcx, qword [rsp + 0x48]
call fcn.180040460
mov qword [rsp + 0x1b0], rax
mov eax, dword [rsp + 0x24]
or eax, 0x40
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x1b0]
call fcn.180040810
test rax, rax
jne 0x18002b8ee
mov dword [rsp + 0x9c], 1
jmp 0x18002b8f9
mov dword [rsp + 0x9c], 0
movzx eax, byte [rsp + 0x9c]
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x24]
and eax, 0x40
test eax, eax
je 0x18002b923
and dword [rsp + 0x24], 0xffffffbf
lea rcx, [rsp + 0x460]
call fcn.180020d30
nop
mov eax, dword [rsp + 0x24]
and eax, 0x20
test eax, eax
je 0x18002b940
and dword [rsp + 0x24], 0xffffffdf
lea rcx, [rsp + 0x488]
call fcn.180020d30
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x18002b94e
mov byte [rsp + 0x28], 1
jmp 0x18002beb6
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
call fcn.18003fad0
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x348]
mov rcx, qword [rsp + 0x48]
call fcn.18003fd70
nop
lea rcx, [rsp + 0x348]
call fcn.1800059a0
movzx eax, al
test eax, eax
je 0x18002b999
xor eax, eax
mov word [rsp + 0x50], ax
jmp 0x18002b9a8
mov rcx, qword [rsp + 0x48]
call fcn.1800408d0
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x54]
test eax, eax
je 0x18002b9d0
lea rcx, [rsp + 0x348]
call fcn.1800059d0
movzx eax, byte [rax]
cmp eax, 0x7f
jl 0x18002ba49
jmp 0x18002b9df
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002ba44
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx edx, ax
mov rcx, qword [rsp + 0x500]
call fcn.18001b240
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x18002ba44
lea rax, [0x1800b21a0]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
lea rcx, [rsp + 0x2d0]
call fcn.180022900
jmp 0x18002b9d2
jmp 0x18002bcdb
lea rcx, [rsp + 0x2a8]
call fcn.180005f70
nop
xor edx, edx
lea rcx, [rsp + 0x2a8]
call fcn.180013a80
mov qword [rsp + 0x30], 0
jmp 0x18002ba7e
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002bb89
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx edx, ax
mov rcx, qword [rsp + 0x500]
call fcn.18001b240
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x18002bb32
lea rax, [0x1800b21a0]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
lea rcx, [rsp + 0x2d0]
call fcn.180022900
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.1800059f0
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x18002bb30
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.1800059f0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax]
inc al
mov rcx, qword [rsp + 0xc0]
mov byte [rcx], al
jmp 0x18002bb84
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.1800059f0
movsx eax, byte [rax]
test eax, eax
je 0x18002bb64
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
movzx ecx, word [rsp + 0x54]
cmp eax, ecx
je 0x18002bb68
jmp 0x18002bb89
xor edx, edx
lea rcx, [rsp + 0x2a8]
call fcn.180013a80
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x18002ba71
cmp qword [rsp + 0x30], 0
je 0x18002bbbe
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.1800059f0
movsx eax, byte [rax]
test eax, eax
jle 0x18002bbb9
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x18002bbbe
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x348]
call fcn.1800059d0
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18002bca5
cmp qword [rsp + 0x30], 0
jbe 0x18002bca5
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
cmp eax, 0x7f
jne 0x18002bbfb
jmp 0x18002bca5
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x18002bc3f
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
mov dword [rsp + 0xa0], eax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.1800059f0
movsx eax, byte [rax]
mov ecx, dword [rsp + 0xa0]
cmp ecx, eax
jne 0x18002bc76
cmp qword [rsp + 0x30], 0
jne 0x18002bc7d
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
mov dword [rsp + 0xa4], eax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.1800059f0
movsx eax, byte [rax]
mov ecx, dword [rsp + 0xa4]
cmp ecx, eax
jge 0x18002bc7d
mov byte [rsp + 0x20], 1
jmp 0x18002bca0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x18002bca0
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
jmp 0x18002bbd0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18002bcce
lea rcx, [rsp + 0x2a8]
call fcn.180005b60
nop
lea rcx, [rsp + 0x348]
call fcn.180005b60
jmp 0x18002beb6
lea rcx, [rsp + 0x2a8]
call fcn.180005b60
mov rcx, qword [rsp + 0x48]
call fcn.180012f40
mov word [rsp + 0x58], ax
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002bdc7
movzx eax, word [rsp + 0x58]
test eax, eax
je 0x18002bdc7
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x18002bdc7
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
mov rdx, qword [rsp + 0x4e8]
mov rcx, rax
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002bdb8
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x18002bdb8
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx edx, ax
mov rcx, qword [rsp + 0x500]
call fcn.18001b240
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x18002bdb8
lea rax, [0x1800b21a0]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
lea rcx, [rsp + 0x2d0]
call fcn.180022900
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x18002bd34
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x18002bdc7
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x2d0]
call fcn.1800059a0
movzx eax, al
test eax, eax
je 0x18002bde2
mov byte [rsp + 0x20], 1
jmp 0x18002be09
jmp 0x18002bdee
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x18002be09
mov dl, 0x30
lea rcx, [rsp + 0x2d0]
call fcn.180022900
jmp 0x18002bde4
lea rcx, [rsp + 0x348]
call fcn.180005b60
jmp 0x18002beb6
cmp qword [rsp + 0x70], 3
jne 0x18002be36
jmp 0x18002beb6
mov byte [rsp + 0x29], 0
jmp 0x18002be4a
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002be96
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx r8d, ax
mov dx, 0x48
mov rcx, qword [rsp + 0xc8]
call fcn.180040030
movzx eax, al
test eax, eax
je 0x18002be96
mov byte [rsp + 0x29], 1
jmp 0x18002be3d
mov rax, qword [rsp + 0x70]
movsx eax, byte [rsp + rax + 0x80]
cmp eax, 0x20
jne 0x18002beb6
movzx eax, byte [rsp + 0x29]
test eax, eax
jne 0x18002beb6
mov byte [rsp + 0x20], 1
jmp 0x18002b1df
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18002c0a3
lea rcx, [rsp + 0x320]
call fcn.180040810
cmp rax, 1
jbe 0x18002c0a3
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x320]
call fcn.180034830
nop
lea rcx, [rsp + 0x1e8]
call fcn.1800221b0
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x320]
call fcn.18003f850
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x24]
bts eax, 7
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
call fcn.1800216e0
movzx eax, al
test eax, eax
jne 0x18002bfca
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.18001b010
movzx eax, al
test eax, eax
jne 0x18002bfca
mov rcx, qword [rsp + 0x4e0]
call fcn.180021d40
movzx eax, ax
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x1e8]
call fcn.180021d00
movzx eax, word [rax]
mov ecx, dword [rsp + 0xa8]
cmp ecx, eax
jne 0x18002bfca
mov dword [rsp + 0x84], 1
jmp 0x18002bfd5
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x24]
and eax, 0x80
test eax, eax
je 0x18002c003
and dword [rsp + 0x24], 0xffffff7f
lea rcx, [rsp + 0x278]
call fcn.180020c60
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x18002c01e
mov rcx, qword [rsp + 0x4e0]
call fcn.1800221f0
jmp 0x18002bef5
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x320]
call fcn.18003f850
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x1e8]
call fcn.1800216e0
movzx eax, al
test eax, eax
jne 0x18002c064
mov dword [rsp + 0x88], 1
jmp 0x18002c06f
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x3e], al
lea rcx, [rsp + 0x290]
call fcn.180020c60
movzx eax, byte [rsp + 0x3e]
test eax, eax
je 0x18002c096
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x1e8]
call fcn.180020c60
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18002c0bd
xor edx, edx
lea rcx, [rsp + 0x2d0]
call fcn.18003fa10
jmp 0x18002c0de
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x18002c0de
mov r9b, 0x2d
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x2d0]
call fcn.18000b0c0
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x4d8]
call fcn.180005c00
mov eax, dword [rsp + 0x24]
bts eax, 8
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x2d0]
call fcn.180005b60
nop
lea rcx, [rsp + 0x320]
call fcn.180020d30
mov rax, qword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.18000f340
add rsp, 0x4c8
ret