Function at 0x1401d2480
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, 0x298
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x2c8], 2
jne 0x1401d2500
mov rax, qword [rsp + 0x58]
sub rax, 0x10
mov qword [rsp + 0x178], rax
jmp 0x1401d2511
mov rax, qword [rsp + 0x58]
sub rax, 8
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0xf0]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0xfc], 5
jae 0x1401d25da
mov dword [rsp + 0xb4], 4
jmp 0x1401d25e5
mov dword [rsp + 0xb4], 5
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x128], eax
mov r8d, 1
mov edx, dword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401d69a0
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x2b0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x40], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x2b0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x30], rax
jne 0x1401d2665
mov qword [rsp + 0x180], 1
jmp 0x1401d2671
mov qword [rsp + 0x180], 0
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x2c8], 2
jne 0x1401d2704
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x100], 6
jae 0x1401d26bb
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x100]
mov dword [rsp + 0xb8], eax
jmp 0x1401d26c6
mov dword [rsp + 0xb8], 6
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401d6110
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401d3443
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
inc eax
mov r8d, dword [rsp + 0x88]
mov edx, eax
mov rcx, qword [rsp + 0x2a0]
call fcn.1401ca580
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x3c]
inc eax
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x78], eax
jae 0x1401d2798
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x188], rax
jmp 0x1401d27a5
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x208], rax
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x78]
cmp eax, 3
jb 0x1401d27eb
mov dword [rsp + 0xc0], 1
jmp 0x1401d27f6
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0x3c]
inc eax
sub eax, dword [rsp + 0x12c]
cmp dword [rsp + 0x40], eax
ja 0x1401d2816
mov dword [rsp + 0xbc], 1
jmp 0x1401d2821
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xbc]
mov ecx, dword [rsp + 0xc0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401d28f6
mov rax, qword [rsp + 0x30]
inc rax
mov rcx, rax
call fcn.1401adf50
mov dword [rsp + 0x130], eax
mov rcx, qword [rsp + 0x198]
call fcn.1401adf50
mov ecx, dword [rsp + 0x130]
cmp ecx, eax
jne 0x1401d28f6
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x78], eax
jae 0x1401d288a
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x190], rax
jmp 0x1401d2897
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x198]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 5
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x210]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401ca080
add rax, 4
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x2d0], 0
jne 0x1401d28f6
jmp 0x1401d317f
mov qword [rsp + 0x1a8], 0x3b9ac9ff
lea r9, [rsp + 0x1a8]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [rsp + 0x160]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x1a0], rax
jbe 0x1401d295e
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x48], 4
jae 0x1401d2991
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
sar rax, 8
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 1]
mov qword [rsp + 0x30], rax
jmp 0x1401d2704
cmp dword [rsp + 0x2d0], 1
jb 0x1401d302b
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401d302b
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x50], 0
je 0x1401d2beb
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401ca580
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x7c], eax
jae 0x1401d2a21
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1b0], rax
jmp 0x1401d2a2e
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x218], rax
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x218]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x7c]
cmp eax, 3
jb 0x1401d2a74
mov dword [rsp + 0xc8], 1
jmp 0x1401d2a7f
mov dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x40], eax
ja 0x1401d2aa1
mov dword [rsp + 0xc4], 1
jmp 0x1401d2aac
mov dword [rsp + 0xc4], 0
mov eax, dword [rsp + 0xc4]
mov ecx, dword [rsp + 0xc8]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401d2beb
mov rcx, qword [rsp + 0x30]
call fcn.1401adf50
mov dword [rsp + 0xf4], eax
mov rcx, qword [rsp + 0x1c0]
call fcn.1401adf50
mov ecx, dword [rsp + 0xf4]
cmp ecx, eax
jne 0x1401d2beb
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x7c], eax
jae 0x1401d2b0f
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1b8], rax
jmp 0x1401d2b1c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x1c0]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 4
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x220]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401ca080
add rax, 4
mov qword [rsp + 0x140], rax
imul rax, qword [rsp + 0x140], 3
mov dword [rsp + 0xfc], eax
imul rax, qword [rsp + 0x48], 3
mov qword [rsp + 0x228], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401ae000
mov eax, eax
mov rcx, qword [rsp + 0x228]
sub rcx, rax
mov rax, rcx
inc rax
mov dword [rsp + 0xf8], eax
cmp qword [rsp + 0x140], 4
jb 0x1401d2beb
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0xfc], eax
jle 0x1401d2beb
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x150], 0x3b9ac9ff
lea r9, [rsp + 0x150]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [rsp + 0x160]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
shl rax, 2
mov qword [rsp + 0x230], rax
mov ecx, dword [rsp + 0x150]
call fcn.1401ae000
mov eax, eax
mov rcx, qword [rsp + 0x230]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x48]
shl rax, 2
mov qword [rsp + 0x238], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401ae000
mov eax, eax
mov rcx, qword [rsp + 0x238]
sub rcx, rax
mov rax, rcx
add rax, 4
mov dword [rsp + 0x100], eax
cmp qword [rsp + 0x148], 4
jb 0x1401d2cd0
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x104], eax
jle 0x1401d2cd0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
jmp 0x1401d299f
cmp dword [rsp + 0x2d0], 2
jne 0x1401d3024
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
jae 0x1401d3024
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x50], 0
je 0x1401d2f3f
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401ca580
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x80], eax
jae 0x1401d2d66
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1c8], rax
jmp 0x1401d2d73
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x240], rax
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x240]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1d8], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x80]
cmp eax, 3
jb 0x1401d2dbf
mov dword [rsp + 0xd0], 1
jmp 0x1401d2dca
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0x108]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x40], eax
ja 0x1401d2dec
mov dword [rsp + 0xcc], 1
jmp 0x1401d2df7
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov ecx, dword [rsp + 0xd0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401d2f3f
mov rcx, qword [rsp + 0x30]
call fcn.1401adf50
mov dword [rsp + 0x10c], eax
mov rcx, qword [rsp + 0x1d8]
call fcn.1401adf50
mov ecx, dword [rsp + 0x10c]
cmp ecx, eax
jne 0x1401d2f3f
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x80], eax
jae 0x1401d2e5d
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1d0], rax
jmp 0x1401d2e6a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x1d8]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 4
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x248]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401ca080
add rax, 4
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
shl rax, 2
mov dword [rsp + 0x114], eax
mov rax, qword [rsp + 0x48]
shl rax, 2
mov qword [rsp + 0x250], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401ae000
mov eax, eax
mov rcx, qword [rsp + 0x250]
sub rcx, rax
mov rax, rcx
inc rax
mov dword [rsp + 0x110], eax
cmp qword [rsp + 0x158], 4
jb 0x1401d2f3f
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x114], eax
jle 0x1401d2f3f
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x170], 0x3b9ac9ff
lea r9, [rsp + 0x170]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
shl rax, 2
mov qword [rsp + 0x258], rax
mov ecx, dword [rsp + 0x170]
call fcn.1401ae000
mov eax, eax
mov rcx, qword [rsp + 0x258]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x124], eax
mov rax, qword [rsp + 0x48]
shl rax, 2
mov qword [rsp + 0x260], rax
mov ecx, dword [rsp + 0x50]
call fcn.1401ae000
mov eax, eax
mov rcx, qword [rsp + 0x260]
sub rcx, rax
mov rax, rcx
add rax, 7
mov dword [rsp + 0x118], eax
cmp qword [rsp + 0x168], 4
jb 0x1401d3024
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x124], eax
jle 0x1401d3024
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
jmp 0x1401d299f
jmp 0x1401d302b
cmp qword [rsp + 0x50], 3
jbe 0x1401d317f
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
sub rcx, 3
sub rax, rcx
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x84], eax
jae 0x1401d3086
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
jmp 0x1401d30a0
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x84], eax
jae 0x1401d30cf
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x1e8], rax
jmp 0x1401d30df
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x68], rax
jbe 0x1401d316a
mov rax, qword [rsp + 0x270]
cmp qword [rsp + 0xe0], rax
jbe 0x1401d316a
mov eax, 1
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0xe0]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x1401d316a
mov rax, qword [rsp + 0x68]
dec rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe0]
dec rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x1401d30ef
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x50]
sub rax, 3
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x2a8]
call fcn.1401caa10
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x30], rax
ja 0x1401d343e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x98], eax
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x2a0]
call fcn.1401ca580
mov dword [rsp + 0x11c], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jae 0x1401d3272
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1f0], rax
jmp 0x1401d327f
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x280], rax
mov eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x280]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x200], rax
mov eax, dword [rsp + 0x38]
dec eax
sub eax, dword [rsp + 0x8c]
cmp eax, 3
jb 0x1401d32cb
mov dword [rsp + 0xb0], 1
jmp 0x1401d32d6
mov dword [rsp + 0xb0], 0
mov eax, dword [rsp + 0x11c]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x60], eax
ja 0x1401d32fb
mov dword [rsp + 0xd4], 1
jmp 0x1401d3306
mov dword [rsp + 0xd4], 0
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0xb0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1401d3437
mov rcx, qword [rsp + 0x30]
call fcn.1401adf50
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x200]
call fcn.1401adf50
mov ecx, dword [rsp + 0x120]
cmp ecx, eax
jne 0x1401d3437
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x8c], eax
jae 0x1401d336c
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x1f8], rax
jmp 0x1401d3379
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x200]
add rax, 4
mov rcx, qword [rsp + 0x30]
add rcx, 4
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x288]
mov r8, qword [rsp + 0x58]
mov rdx, rax
call fcn.1401ca080
add rax, 4
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x2a8]
call fcn.1401caa10
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
jmp 0x1401d31f0
jmp 0x1401d343e
jmp 0x1401d2704
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x2b0]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x2b0]
mov edx, dword [rsp + 0x60]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
add rsp, 0x298
ret