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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, qword [rcx + 8]
mov r15d, edx
mov rsi, qword [rcx]
mov ebp, r8d
and dword [rsp + 0x80], 0
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov al, byte [r13 + 0x20]
lea r14, [r13 + 0x21]
mov r12d, dword [rsi + 0x44]
dec r12d
mov byte [rsp + 0x88], al
xor eax, eax
mov dword [rsp + 0x34], r12d
mov dword [rsi + 0x44], r12d
mov dword [rsp + 0x30], eax
lea edx, [rax + 2]
cmp r15d, edx
jne 0x1403a5718
cmp byte [r14], 0x5a
je 0x1403a5ab1
mov ecx, 0x39
test ebp, ebp
jle 0x1403a5799
cmp byte [r13 + 0x20], 0x59
jne 0x1403a5781
mov eax, dword [rdi + 0x90]
mov dword [rsp + 0x30], eax
cmp r15d, edx
jne 0x1403a575f
cmp byte [r14], 0x56
jne 0x1403a5743
mov r8d, dword [rbx + 0x34]
jmp 0x1403a5747
mov r8d, dword [rbx + 0x2c]
mov eax, 0x2c
mov edx, 0x37
cmovne edx, ecx
lea ecx, [rax + 8]
cmovne eax, ecx
mov ecx, dword [rax + rbx]
jmp 0x1403a576b
mov r8d, dword [rbx + 0x3c]
mov edx, 0x36
mov ecx, dword [rbx + 0x34]
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.1403a5acc
jmp 0x1403a5799
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov edx, 0x31
mov rcx, rdi
call fcn.1403821ec
cmp r15d, 1
jne 0x1403a57b3
cmp dword [r13 + 0x84], 0
jne 0x1403a57b3
xor edx, edx
mov rcx, rbx
call fcn.1403a4f2c
mov eax, dword [rdi + 0x90]
mov dword [rsp + 0x38], eax
mov al, byte [r13 + 0x22]
cmp byte [r14], al
jne 0x1403a58c2
test ebp, ebp
je 0x1403a58c2
cmp byte [r13 + 0x20], 0x59
jne 0x1403a58c2
mov al, byte [rsi + 0x1f]
lea rcx, [rsi + 0x38]
test al, al
jne 0x1403a57f0
mov ebp, dword [rcx]
inc ebp
mov dword [rcx], ebp
jmp 0x1403a5801
sub al, 1
movzx edx, al
mov byte [rsi + 0x1f], dl
mov ebp, dword [rsi + rdx*4 + 0xd8]
jne 0x1403a5808
inc dword [rcx]
mov r14d, dword [rcx]
jmp 0x1403a5818
dec dl
movzx eax, dl
mov byte [rsi + 0x1f], al
mov r14d, dword [rsi + rax*4 + 0xd8]
mov eax, 2
cmp r15d, eax
jne 0x1403a5859
mov r8d, dword [rbx + 0x2c]
mov r9d, ebp
and dword [rsp + 0x20], 0
mov edx, 0x87
mov rcx, rdi
call fcn.1403821ec
mov r8d, dword [rbx + 0x3c]
mov r9d, r14d
and dword [rsp + 0x20], 0
mov edx, 0x87
mov rcx, rdi
call fcn.1403821ec
mov r8d, r14d
jmp 0x1403a587c
cmp dword [rbx + 0x28], 0
je 0x1403a5890
and dword [rsp + 0x20], 0
mov r9d, ebp
mov r8d, dword [rbx + 0x3c]
mov edx, 0x87
mov rcx, rdi
call fcn.1403821ec
mov r8d, dword [rbx + 0x28]
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov edx, 0x39
mov rcx, rdi
call fcn.1403821ec
test ebp, ebp
je 0x1403a58a8
cmp byte [rsi + 0x1f], 8
jae 0x1403a58a8
movzx eax, byte [rsi + 0x1f]
mov dword [rsi + rax*4 + 0xd8], ebp
inc byte [rsi + 0x1f]
test r14d, r14d
je 0x1403a58c2
cmp byte [rsi + 0x1f], 8
jae 0x1403a58c2
movzx eax, byte [rsi + 0x1f]
mov dword [rsi + rax*4 + 0xd8], r14d
inc byte [rsi + 0x1f]
mov ecx, r15d
sub ecx, 1
je 0x1403a5938
cmp ecx, 1
je 0x1403a5907
cmp dword [r13 + 0x84], 0
mov r14d, dword [rbx + 0x3c]
mov r12d, dword [rbx + 0x40]
je 0x1403a5902
mov r8d, dword [r13 + 0x88]
mov r9d, 1
and dword [rsp + 0x20], 0
mov edx, 0x56
mov rcx, rdi
call fcn.1403821ec
jmp 0x1403a5948
xor r9d, r9d
jmp 0x1403a5921
mov r8d, dword [r13 + 0x84]
mov r9d, 1
mov r14d, dword [rbx + 0x2c]
mov r12d, dword [rbx + 0x30]
test r8d, r8d
jne 0x1403a58ee
mov eax, dword [rbx + 0x20]
mov r8d, r14d
mov rdx, r13
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1403a50a4
jmp 0x1403a5948
mov r14d, dword [rbx + 0x34]
mov rcx, rbx
mov r12d, dword [rbx + 0x38]
call fcn.1403a6354
cmp r15d, dword [rbx + 0x24]
jne 0x1403a5986
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r14d
mov edx, 0x82
mov rcx, rdi
call fcn.1403821ec
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1403a5986
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rsp + 0x98], 0
mov r8d, r14d
mov eax, dword [rdi + 0x90]
mov edx, 0x26
mov rcx, rdi
je 0x1403a59e0
and dword [rsp + 0x20], 0
lea r9d, [rax + 2]
call fcn.1403821ec
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 8]
call fcn.1403821ec
cmp byte [rsp + 0x88], 0x4c
mov r15d, eax
mov dword [rsp + 0x80], eax
je 0x1403a5a83
jmp 0x1403a5a22
xor r9d, r9d
cmp byte [rsp + 0x88], 0x4c
setne r9b
and dword [rsp + 0x20], 0
inc r9d
add r9d, eax
call fcn.1403821ec
cmp byte [rsp + 0x88], 0x4c
je 0x1403a5a7b
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, dword [rsp + 0x34]
mov rcx, rdi
lea edx, [r8 + 8]
call fcn.1403821ec
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x1403a5a40
mov ebp, dword [rax]
test ebp, ebp
je 0x1403a5a42
mov edx, ebp
mov rcx, rsi
call fcn.14036e014
mov r15d, eax
jmp 0x1403a5a45
xor ebp, ebp
xor r15d, r15d
mov r8d, r15d
mov edx, r14d
mov rcx, rbx
call fcn.1403a62c4
mov eax, dword [rsp + 0x38]
mov r9d, r12d
mov rdx, qword [r13 + 0x18]
mov r8d, r15d
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.1403a61f0
mov r8d, ebp
mov edx, r15d
mov rcx, rsi
call fcn.140379cf0
mov r15d, dword [rsp + 0x80]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1403a5aa2
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, eax
mov rcx, rdi
lea edx, [r8 + 8]
call fcn.1403821ec
mov edx, dword [rsp + 0x34]
mov rcx, rdi
call fcn.14038c910
mov eax, r15d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret