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

Disassembly:
jmp 0x1400471a0
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 [0x1403a2fe0]
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.140001028
movzx eax, byte [rsp + 0x4f0]
test eax, eax
je 0x14004724c
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x4f8]
call fcn.1400038b4
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.14000662c
mov rcx, rax
call fcn.1400018ca
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x220]
call fcn.1400038be
jmp 0x1400472a0
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x4f8]
call fcn.1400038b4
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140004ee4
mov rcx, rax
call fcn.1400046f1
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x200]
call fcn.1400038be
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x320]
call fcn.140004c7d
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.140002ecd
lea rcx, [rsp + 0x2d0]
call fcn.140005e89
nop
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x4f8]
call fcn.1400038b4
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.1400034e0
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x210]
call fcn.1400038be
lea rcx, [0x14032cfd8]
call fcn.14000194c
mov qword [rsp + 0x110], rax
lea rcx, [0x14032cfd8]
call fcn.140001258
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.14000286a
mov qword [rsp + 0x70], 0
jmp 0x14004738c
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140048057
cmp qword [rsp + 0x70], 4
jae 0x140048057
mov rax, qword [rsp + 0x70]
movzx eax, byte [rsp + rax + 0x80]
mov byte [rsp + 0x5c], al
cmp byte [rsp + 0x5c], 0x20
je 0x140047fc5
cmp byte [rsp + 0x5c], 0x24
je 0x1400473ee
cmp byte [rsp + 0x5c], 0x2b
je 0x1400476ea
cmp byte [rsp + 0x5c], 0x76
je 0x140047af3
cmp byte [rsp + 0x5c], 0x78
je 0x140047fc5
jmp 0x140048052
lea rdx, [rsp + 0x2f8]
mov rcx, qword [rsp + 0x48]
call fcn.14000296e
nop
lea rcx, [rsp + 0xd0]
call fcn.14000658c
nop
mov rcx, qword [rsp + 0x4f8]
call fcn.140001cc6
and eax, 8
test eax, eax
jne 0x140047471
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140047471
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x2f8]
call fcn.140002af4
movzx eax, word [rax]
mov ecx, dword [rsp + 0xac]
cmp ecx, eax
jne 0x1400474da
cmp qword [rsp + 0x70], 3
jne 0x1400474e9
lea rcx, [rsp + 0x320]
call fcn.140001d7a
cmp rax, 1
ja 0x1400474e9
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x1400474da
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0x2f8]
call fcn.140002af4
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb0]
cmp ecx, eax
je 0x1400474e9
xor edx, edx
lea rcx, [rsp + 0x2f8]
call fcn.140005d49
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x2f8]
call fcn.1400035b2
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call fcn.140002a45
lea rcx, [rsp + 0x230]
call fcn.140003c7e
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x1400475db
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x2f8]
call fcn.140004c4b
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.1400058b7
movzx eax, al
test eax, eax
jne 0x1400475db
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
mov dword [rsp + 0xb4], eax
lea rcx, [rsp + 0xd0]
call fcn.140001299
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb4]
cmp ecx, eax
jne 0x1400475db
mov dword [rsp + 0x8c], 1
jmp 0x1400475e6
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 0x14004760f
and dword [rsp + 0x24], 0xfffffffe
lea rcx, [rsp + 0x248]
call fcn.140003c7e
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140047637
lea rcx, [rsp + 0xd0]
call fcn.1400024eb
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
jmp 0x140047528
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x2f8]
call fcn.140004c4b
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.1400058b7
movzx eax, al
test eax, eax
jne 0x14004767d
mov dword [rsp + 0x90], 1
jmp 0x140047688
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0x260]
call fcn.140003c7e
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400476af
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0xd0]
call fcn.140004e8a
nop
lea rcx, [rsp + 0x2f8]
call fcn.1400052ea
jmp 0x140048052
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140047aee
lea rdx, [rsp + 0x398]
mov rcx, qword [rsp + 0x48]
call fcn.14000315c
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.140001d7a
test rax, rax
jbe 0x1400477db
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x48]
call fcn.14000315c
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.140001906
movzx eax, word [rax]
mov dword [rsp + 0xb8], eax
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
mov ecx, dword [rsp + 0xb8]
cmp ecx, eax
jne 0x1400477db
mov dword [rsp + 0x94], 1
jmp 0x1400477e6
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 0x140047810
and dword [rsp + 0x24], 0xfffffffb
lea rcx, [rsp + 0x370]
call fcn.1400052ea
nop
mov eax, dword [rsp + 0x24]
and eax, 2
test eax, eax
je 0x14004782d
and dword [rsp + 0x24], 0xfffffffd
lea rcx, [rsp + 0x398]
call fcn.1400052ea
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x140047884
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
lea rdx, [rsp + 0x3c0]
mov rcx, qword [rsp + 0x48]
call fcn.14000315c
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x320]
call fcn.140004dfe
lea rcx, [rsp + 0x3c0]
call fcn.1400052ea
jmp 0x140047aee
lea rdx, [rsp + 0x410]
mov rcx, qword [rsp + 0x48]
call fcn.1400011d6
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.140001d7a
test rax, rax
jbe 0x140047955
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x48]
call fcn.1400011d6
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.140001906
movzx eax, word [rax]
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
mov ecx, dword [rsp + 0xbc]
cmp ecx, eax
jne 0x140047955
mov dword [rsp + 0x98], 1
jmp 0x140047960
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 0x14004798a
and dword [rsp + 0x24], 0xffffffef
lea rcx, [rsp + 0x3e8]
call fcn.1400052ea
nop
mov eax, dword [rsp + 0x24]
and eax, 8
test eax, eax
je 0x1400479a7
and dword [rsp + 0x24], 0xfffffff7
lea rcx, [rsp + 0x410]
call fcn.1400052ea
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x140047a03
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
lea rdx, [rsp + 0x438]
mov rcx, qword [rsp + 0x48]
call fcn.1400011d6
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x320]
call fcn.140004dfe
lea rcx, [rsp + 0x438]
call fcn.1400052ea
mov byte [rsp + 0x28], 1
jmp 0x140047aee
lea rdx, [rsp + 0x488]
mov rcx, qword [rsp + 0x48]
call fcn.14000315c
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.140001d7a
test rax, rax
je 0x140047a8e
lea rdx, [rsp + 0x460]
mov rcx, qword [rsp + 0x48]
call fcn.1400011d6
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.140001d7a
test rax, rax
jne 0x140047a8e
mov dword [rsp + 0x9c], 1
jmp 0x140047a99
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 0x140047ac3
and dword [rsp + 0x24], 0xffffffbf
lea rcx, [rsp + 0x460]
call fcn.1400052ea
nop
mov eax, dword [rsp + 0x24]
and eax, 0x20
test eax, eax
je 0x140047ae0
and dword [rsp + 0x24], 0xffffffdf
lea rcx, [rsp + 0x488]
call fcn.1400052ea
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x140047aee
mov byte [rsp + 0x28], 1
jmp 0x140048052
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
call fcn.140004291
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x348]
mov rcx, qword [rsp + 0x48]
call fcn.140003aee
nop
lea rcx, [rsp + 0x348]
call fcn.14000480e
test rax, rax
jne 0x140047b37
xor eax, eax
mov word [rsp + 0x50], ax
jmp 0x140047b46
mov rcx, qword [rsp + 0x48]
call fcn.1400065d7
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x54]
test eax, eax
je 0x140047b6e
lea rcx, [rsp + 0x348]
call fcn.140001726
movzx eax, byte [rax]
cmp eax, 0x7f
jl 0x140047be7
jmp 0x140047b7d
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140047be2
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx edx, ax
mov rcx, qword [rsp + 0x500]
call fcn.140002338
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x140047be2
lea rax, [0x14032cfd8]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
lea rcx, [rsp + 0x2d0]
call fcn.140003909
jmp 0x140047b70
jmp 0x140047e79
lea rcx, [rsp + 0x2a8]
call fcn.140005e89
nop
xor edx, edx
lea rcx, [rsp + 0x2a8]
call fcn.140002b35
mov qword [rsp + 0x30], 0
jmp 0x140047c1c
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140047d27
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx edx, ax
mov rcx, qword [rsp + 0x500]
call fcn.140002338
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x140047cd0
lea rax, [0x14032cfd8]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
lea rcx, [rsp + 0x2d0]
call fcn.140003909
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.140001a0f
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x140047cce
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.140001a0f
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 0x140047d22
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.140001a0f
movsx eax, byte [rax]
test eax, eax
je 0x140047d02
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
movzx ecx, word [rsp + 0x54]
cmp eax, ecx
je 0x140047d06
jmp 0x140047d27
xor edx, edx
lea rcx, [rsp + 0x2a8]
call fcn.140002b35
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x140047c0f
cmp qword [rsp + 0x30], 0
je 0x140047d5c
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2a8]
call fcn.140001a0f
movsx eax, byte [rax]
test eax, eax
jle 0x140047d57
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x140047d5c
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x348]
call fcn.140001726
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140047e43
cmp qword [rsp + 0x30], 0
jbe 0x140047e43
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
cmp eax, 0x7f
jne 0x140047d99
jmp 0x140047e43
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x140047ddd
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.140001a0f
movsx eax, byte [rax]
mov ecx, dword [rsp + 0xa0]
cmp ecx, eax
jne 0x140047e14
cmp qword [rsp + 0x30], 0
jne 0x140047e1b
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.140001a0f
movsx eax, byte [rax]
mov ecx, dword [rsp + 0xa4]
cmp ecx, eax
jge 0x140047e1b
mov byte [rsp + 0x20], 1
jmp 0x140047e3e
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x140047e3e
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
jmp 0x140047d6e
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140047e6c
lea rcx, [rsp + 0x2a8]
call fcn.140001ea1
nop
lea rcx, [rsp + 0x348]
call fcn.140001ea1
jmp 0x140048052
lea rcx, [rsp + 0x2a8]
call fcn.140001ea1
mov rcx, qword [rsp + 0x48]
call fcn.140001a4b
mov word [rsp + 0x58], ax
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140047f65
movzx eax, word [rsp + 0x58]
test eax, eax
je 0x140047f65
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x140047f65
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
mov rdx, qword [rsp + 0x4e8]
mov rcx, rax
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140047f56
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x140047f56
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx edx, ax
mov rcx, qword [rsp + 0x500]
call fcn.140002338
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x140047f56
lea rax, [0x14032cfd8]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
lea rcx, [rsp + 0x2d0]
call fcn.140003909
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x140047ed2
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x140047f65
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x2d0]
call fcn.14000480e
test rax, rax
jne 0x140047f7e
mov byte [rsp + 0x20], 1
jmp 0x140047fa5
jmp 0x140047f8a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x140047fa5
mov dl, 0x30
lea rcx, [rsp + 0x2d0]
call fcn.140003909
jmp 0x140047f80
lea rcx, [rsp + 0x348]
call fcn.140001ea1
jmp 0x140048052
cmp qword [rsp + 0x70], 3
jne 0x140047fd2
jmp 0x140048052
mov byte [rsp + 0x29], 0
jmp 0x140047fe6
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140048032
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx r8d, ax
mov dx, 0x48
mov rcx, qword [rsp + 0xc8]
call fcn.140002c7f
movzx eax, al
test eax, eax
je 0x140048032
mov byte [rsp + 0x29], 1
jmp 0x140047fd9
mov rax, qword [rsp + 0x70]
movsx eax, byte [rsp + rax + 0x80]
cmp eax, 0x20
jne 0x140048052
movzx eax, byte [rsp + 0x29]
test eax, eax
jne 0x140048052
mov byte [rsp + 0x20], 1
jmp 0x14004737f
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004823f
lea rcx, [rsp + 0x320]
call fcn.140001d7a
cmp rax, 1
jbe 0x14004823f
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x320]
call fcn.1400035b2
nop
lea rcx, [rsp + 0x1e8]
call fcn.140005a15
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x320]
call fcn.140004c4b
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.1400058b7
movzx eax, al
test eax, eax
jne 0x140048166
mov rdx, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4e0]
call fcn.1400062df
movzx eax, al
test eax, eax
jne 0x140048166
mov rcx, qword [rsp + 0x4e0]
call fcn.140002eeb
movzx eax, ax
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x1e8]
call fcn.140004386
movzx eax, word [rax]
mov ecx, dword [rsp + 0xa8]
cmp ecx, eax
jne 0x140048166
mov dword [rsp + 0x84], 1
jmp 0x140048171
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 0x14004819f
and dword [rsp + 0x24], 0xffffff7f
lea rcx, [rsp + 0x278]
call fcn.140003c7e
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x1400481ba
mov rcx, qword [rsp + 0x4e0]
call fcn.14000162c
jmp 0x140048091
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x320]
call fcn.140004c4b
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x1e8]
call fcn.1400058b7
movzx eax, al
test eax, eax
jne 0x140048200
mov dword [rsp + 0x88], 1
jmp 0x14004820b
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x3e], al
lea rcx, [rsp + 0x290]
call fcn.140003c7e
movzx eax, byte [rsp + 0x3e]
test eax, eax
je 0x140048232
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x1e8]
call fcn.140003c7e
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140048259
xor edx, edx
lea rcx, [rsp + 0x2d0]
call fcn.140005b8c
jmp 0x14004827a
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14004827a
mov r9b, 0x2d
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x2d0]
call fcn.14000234c
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x4d8]
call fcn.1400059b1
mov eax, dword [rsp + 0x24]
bts eax, 8
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x2d0]
call fcn.140001ea1
nop
lea rcx, [rsp + 0x320]
call fcn.1400052ea
mov rax, qword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400035e4
add rsp, 0x4c8
ret