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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbp, qword [rcx]
mov rsi, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
mov eax, dword [rbp + 0x44]
mov r13, rcx
mov edi, edx
mov r14d, r8d
movzx r12d, byte [rsi + 0x20]
mov dword [rsp + 0xb8], r9d
mov dword [rsp + 0x40], eax
sub eax, 1
cmp edx, 2
mov dword [rsp + 0x44], eax
mov dword [rbp + 0x44], eax
je 0x1401e4cb0
test r8d, r8d
jle 0x1401e4add
cmp r12b, 0x59
jne 0x1401e4ac0
mov ecx, dword [rbx + 0x90]
mov dword [rsp + 0x28], eax
mov r9d, r8d
mov edx, 0x36
mov eax, dword [r13 + 0x34]
mov dword [rsp + 0x3c], ecx
mov rcx, r13
mov dword [rsp + 0x20], eax
mov r8d, dword [r13 + 0x3c]
call fcn.140184ec0
test r14d, r14d
setne r14b
cmp edi, 1
je 0x1401e4af5
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsi + 0x22]
cmp byte [rsi + 0x21], al
jne 0x1401e4933
test r14b, r14b
jne 0x1401e4da0
cmp edi, 2
je 0x1401e4d1c
mov r9d, dword [rsi + 0x84]
mov eax, dword [r13 + 0x40]
mov r14d, dword [r13 + 0x3c]
test r9d, r9d
mov dword [rsp + 0x48], eax
je 0x1401e4d70
mov r8d, dword [rsi + 0x88]
mov dword [rsp + 0x20], 0
mov r9d, 1
mov edx, 0x56
mov rcx, rbx
call fcn.140177290
cmp dword [r13 + 0x24], edi
jne 0x1401e4bde
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r14d
mov edx, 0x82
mov rcx, rbx
call fcn.140177290
mov eax, dword [rbx + 0x90]
test eax, eax
jle 0x1401e4be4
mov rcx, qword [rbx + 0x88]
movsxd rdx, eax
mov r8d, 2
lea rdx, [rdx + rdx*2]
lea rdx, [rcx + rdx*8]
mov word [rdx - 0x16], r8w
mov edx, dword [rsp + 0xb8]
test edx, edx
jne 0x1401e4bf3
nop dword [rax]
xor edx, edx
mov dword [rsp + 0x20], 0
mov r8d, r14d
mov rcx, rbx
cmp r12b, 0x4c
setne dl
xor r15d, r15d
lea r9d, [rax + rdx + 1]
mov edx, 0x27
call fcn.140177290
cmp r12b, 0x4c
je 0x1401e4c60
mov r9d, dword [rsp + 0x44]
xor r8d, r8d
mov edx, 9
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.140177290
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1401e4a43
mov edi, dword [rax]
test edi, edi
jne 0x1401e4db0
mov rdx, qword [r13 + 8]
xor r9d, r9d
mov r8d, r14d
xor edi, edi
mov rcx, qword [r13]
xor r12d, r12d
call fcn.140177630
mov eax, dword [rsp + 0x4c]
xor r8d, r8d
mov rcx, rbp
mov rdx, qword [rsi + 0x18]
mov r9d, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.140184d50
cmp dword [rbp + 0x28], edi
jge 0x1401e4c60
mov eax, dword [rsp + 0x3c]
mov dword [rbp + 0x28], edi
mov dword [rbp + 0x2c], r12d
test eax, eax
je 0x1401e4c6c
nop dword [rax + rax]
mov r9d, dword [rsp + 0x3c]
xor r8d, r8d
mov edx, 9
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.140177290
jmp 0x1401e4c6c
mov r9d, dword [rsp + 0x44]
mov r8d, r14d
mov edx, 0x3b
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.140177290
test r14d, r14d
mov dword [rsp + 0x3c], 0
setne r14b
cmp edi, 1
jne 0x1401e4917
mov r11d, dword [rsi + 0x84]
test r11d, r11d
je 0x1401e4e20
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsi + 0x21]
cmp byte [rsi + 0x22], al
jne 0x1401e4bc0
test r14b, r14b
je 0x1401e4bc0
cmp byte [rsi + 0x20], 0x59
jne 0x1401e4bc0
movzx eax, byte [rbp + 0x1f]
test al, al
je 0x1401e4e90
lea edx, [rax - 1]
movzx ecx, dl
test dl, dl
mov byte [rbp + 0x1f], dl
mov r14d, dword [rbp + rcx*4 + 0xe8]
je 0x1401e4fc8
sub eax, 2
mov byte [rbp + 0x1f], al
movzx eax, al
mov r15d, dword [rbp + rax*4 + 0xe8]
cmp edi, 2
je 0x1401e4f10
mov r10d, dword [r13 + 0x28]
test r10d, r10d
jne 0x1401e4ed0
test r14d, r14d
je 0x1401e4b9a
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1401e4f90
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r14d
test r15d, r15d
je 0x1401e4bb5
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1401e4bb5
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r15d
cmp edi, 1
jne 0x1401e4933
nop
mov eax, dword [r13 + 0x38]
mov rcx, r13
mov r14d, dword [r13 + 0x34]
mov dword [rsp + 0x48], eax
call fcn.1401e3e30
cmp dword [r13 + 0x24], edi
je 0x1401e4984
mov eax, dword [rbx + 0x90]
mov edx, dword [rsp + 0xb8]
test edx, edx
je 0x1401e49e0
mov dword [rsp + 0x20], 0
lea r9d, [rax + 2]
mov r8d, r14d
mov rcx, rbx
mov edx, 0x27
call fcn.140177290
mov r15d, dword [rbx + 0x90]
cmp r15d, dword [rbx + 0x94]
jge 0x1401e4e50
lea eax, [r15 + 1]
mov dword [rbx + 0x90], eax
movsxd rax, r15d
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 9
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
cmp r12b, 0x4c
jne 0x1401e4a30
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x1401e4a98
mov rcx, qword [rbx + 0x18]
mov r8d, dword [rsp + 0x40]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1401e4d60
mov edx, dword [rbx + 0x90]
movsxd r8, r8d
mov rax, qword [rcx + 0x50]
mov dword [rax + r8*4], edx
mov eax, r15d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rsi + 0x21]
xor r15d, r15d
cmp al, 0x5a
je 0x1401e4c95
test r8d, r8d
jle 0x1401e4d90
cmp r12b, 0x59
jne 0x1401e4ac0
mov edx, dword [rbx + 0x90]
cmp al, 0x56
mov eax, dword [rsp + 0x44]
mov r8d, dword [rcx + 0x2c]
mov dword [rsp + 0x3c], edx
mov edx, dword [rcx + 0x34]
mov dword [rsp + 0x28], eax
je 0x1401e4eb0
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x39
call fcn.140184ec0
movzx eax, byte [rsi + 0x21]
mov ecx, dword [rbx + 0x90]
cmp byte [rsi + 0x22], al
mov dword [rsp + 0x4c], ecx
jne 0x1401e4d1c
test r14d, r14d
jne 0x1401e4e78
mov r8d, dword [rsi + 0x84]
mov eax, dword [r13 + 0x30]
mov r14d, dword [r13 + 0x2c]
test r8d, r8d
mov dword [rsp + 0x48], eax
jne 0x1401e495f
mov eax, dword [r13 + 0x20]
mov r9d, 1
mov r8d, r14d
mov rdx, rsi
mov rcx, qword [r13]
mov dword [rsp + 0x20], eax
call fcn.1401e3620
jmp 0x1401e4bd4
mov rdx, rbx
call fcn.14017a070
jmp 0x1401e4c95
mov eax, dword [r13 + 0x20]
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
mov rcx, qword [r13]
mov dword [rsp + 0x20], eax
call fcn.1401e3620
jmp 0x1401e4bd4
mov dword [rsp + 0x3c], 0
jmp 0x1401e4d04
cmp byte [rsi + 0x20], 0x59
jne 0x1401e4933
jmp 0x1401e4b2f
mov edx, edi
mov rcx, rbp
call fcn.140150b10
mov rdx, qword [r13 + 8]
mov r8d, r14d
mov rcx, qword [r13]
mov r9d, eax
mov r12d, eax
call fcn.140177630
mov eax, dword [rsp + 0x4c]
mov r8d, r12d
mov rcx, rbp
mov rdx, qword [rsi + 0x18]
mov r9d, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.140184d50
cmp edi, 1
jne 0x1401e4a77
test r12d, r12d
je 0x1401e4c60
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1401e4c60
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r12d
jmp 0x1401e4c60
mov rdx, qword [r13 + 8]
xor r8d, r8d
mov rcx, qword [r13]
call fcn.1401773e0
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsi + 0x22]
cmp byte [rsi + 0x21], al
je 0x1401e4b1c
jmp 0x1401e4bc0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 9
mov rcx, rbx
call fcn.1401771f0
mov r15d, eax
jmp 0x1401e4c56
cmp byte [rsi + 0x20], 0x59
jne 0x1401e4d1c
jmp 0x1401e4b2f
mov eax, dword [rbp + 0x38]
lea r14d, [rax + 1]
mov eax, r14d
lea r15d, [rax + 1]
mov dword [rbp + 0x38], r15d
jmp 0x1401e4b65
mov dword [rsp + 0x20], r8d
mov r9d, r14d
mov r8d, edx
mov edx, 0x37
call fcn.140184ec0
movzx eax, byte [rsi + 0x21]
jmp 0x1401e4d04
mov dword [rsp + 0x20], 0
mov r8d, dword [r13 + 0x3c]
mov r9d, r14d
mov rcx, rbx
mov edx, 0x87
call fcn.140177290
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsp + 0x44]
mov rcx, rbx
mov r8d, dword [r13 + 0x28]
mov edx, 0x39
call fcn.140177290
jmp 0x1401e4b7b
mov dword [rsp + 0x20], 0
mov r8d, dword [r13 + 0x2c]
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
call fcn.140177290
mov r9d, r15d
mov edx, 0x87
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov r8d, dword [r13 + 0x3c]
call fcn.140177290
mov r9d, dword [rsp + 0x44]
mov r8d, r15d
mov rcx, rbx
mov dword [rsp + 0x20], r14d
mov edx, 0x39
call fcn.140177290
test r14d, r14d
je 0x1401e4fa0
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1401e4d1c
lea edx, [rax + 1]
test r15d, r15d
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r14d
jne 0x1401e4b9f
jmp 0x1401e4d1c
cmp edi, 1
jne 0x1401e493c
jmp 0x1401e4bc0
test r15d, r15d
je 0x1401e4d1c
movzx eax, byte [rbp + 0x1f]
cmp al, 7
ja 0x1401e4d1c
lea edx, [rax + 1]
mov byte [rbp + 0x1f], dl
mov dword [rbp + rax*4 + 0xe8], r15d
jmp 0x1401e4d1c
mov eax, dword [rbp + 0x38]
jmp 0x1401e4e9a