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

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, qword [rcx]
mov rsi, rcx
mov r9, qword [rcx + 8]
sub r9, rdi
je 0x139a20420
movzx eax, byte [rdi]
mov byte [rcx + 0x3c], al
cmp r9, 1
jbe 0x139a20426
movzx eax, byte [rdi + 1]
mov r8d, 2
mov byte [rcx + 0x3d], al
mov r10d, r8d
mov qword [rsp + 0x78], rbp
mov eax, r8d
xor ebp, ebp
mov r11d, ebp
mov ecx, ebp
nop dword [rax]
cmp r8, r9
jae 0x139a2041a
movzx edx, byte [r10 + rdi]
lea r8, [rax + 1]
mov rax, rdx
mov r10, r8
and eax, 0x7f
shl rax, cl
add ecx, 7
or r11, rax
mov rax, r8
test dl, dl
js 0x139a1fdb0
lea rax, [r8 + 0x20]
mov qword [rsi + 0x40], r11
lea rcx, [r8 + 0x20]
cmp rax, r9
ja 0x139a2042c
lea rax, [rdi + r8]
mov qword [rsi + 0x48], rax
lea rax, [r8 + 0x24]
mov qword [rsi + 0x50], 0x20
mov dword [rsi + 0x1c], ecx
lea rcx, [r8 + 0x24]
cmp rax, r9
ja 0x139a20432
mov qword [rsp + 0x50], r13
mov r8, rcx
mov r13d, dword [rsi + 0x18]
mov rax, rcx
mov r10, rcx
cmp r13d, 7
jne 0x139a2017e
cmp byte [rsi + 0x3c], 0x12
jb 0x139a1fe76
lea rax, [rcx + 0x40]
cmp rax, r9
ja 0x139a20438
lea rax, [rdi + rcx]
mov qword [rsi + 0x58], rax
lea rax, [rcx + 0x42]
mov qword [rsi + 0x60], 0x40
cmp rax, r9
ja 0x139a2043e
movzx eax, word [rcx + rdi + 0x40]
add rcx, 0x42
mov word [rsi + 0x68], ax
mov r10, rcx
mov rax, rcx
mov r8, rcx
mov dword [rsi + 0x20], ecx
mov r11, rbp
mov ecx, ebp
nop
cmp r8, r9
jae 0x139a2040e
movzx edx, byte [rax + rdi]
lea r8, [r10 + 1]
mov rax, rdx
mov r10, r8
and eax, 0x7f
shl rax, cl
add ecx, 7
or r11, rax
mov rax, r8
test dl, dl
js 0x139a1fe80
mov qword [rsi + 0x70], r11
mov r10, rbp
mov ecx, ebp
cmp r8, r9
jae 0x139a204f8
movzx edx, byte [rdi + r8]
inc r8
mov rax, rdx
and eax, 0x7f
shl rax, cl
add ecx, 7
or r10, rax
test dl, dl
js 0x139a1feb3
mov qword [rsi + 0x78], r10
mov ecx, ebp
mov r10, rbp
mov rax, r8
mov r11, r8
cmp r8, r9
jae 0x139a204f2
movzx edx, byte [r11 + rdi]
lea r8, [rax + 1]
mov rax, rdx
mov r11, r8
and eax, 0x7f
shl rax, cl
add ecx, 7
or r10, rax
mov rax, r8
test dl, dl
js 0x139a1fee6
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
mov qword [rsi + 0x80], r10
cmp r10, 1
jne 0x139a2040a
cmp r8, r9
jae 0x139a20444
movzx eax, byte [r8 + rdi]
inc r8
mov byte [rsi + 0x88], al
cmp al, 0xff
jne 0x139a2040a
mov r10, rbp
mov ecx, ebp
nop dword [rax]
cmp r8, r9
jae 0x139a204ec
movzx edx, byte [rdi + r8]
inc r8
mov rax, rdx
and eax, 0x7f
shl rax, cl
add ecx, 7
or r10, rax
test dl, dl
js 0x139a1ff60
mov qword [rsi + 0x90], r10
mov ecx, ebp
mov r10, rbp
cmp r8, r9
jae 0x139a204e6
movzx edx, byte [rdi + r8]
inc r8
mov rax, rdx
and eax, 0x7f
shl rax, cl
add ecx, 7
or r10, rax
test dl, dl
js 0x139a1ff90
cmp r13d, 8
mov qword [rsi + 0x98], r10
mov rax, rbp
sete al
inc rax
cmp r10, rax
jne 0x139a2040a
mov r10, rbp
mov ecx, ebp
mov r11, r8
mov rax, r8
nop dword [rax]
cmp r8, r9
jae 0x139a204e0
movzx edx, byte [rdi + r11]
lea r8, [rax + 1]
mov rax, rdx
mov r11, r8
and eax, 0x7f
shl rax, cl
add ecx, 7
or r10, rax
mov rax, r8
test dl, dl
js 0x139a1ffe0
mov qword [rsi + 0xa0], r10
cmp r8, r9
jae 0x139a2044a
movzx eax, byte [r8 + rdi]
lea r10, [r8 + 1]
mov byte [rsi + 0xa8], al
sub al, 2
cmp al, 1
ja 0x139a2040a
lea rax, [r10 + 0x20]
mov dword [rsi + 0x28], r10d
cmp rax, r9
ja 0x139a20450
lea rax, [rdi + r10]
add r10, 0x20
mov qword [rsi + 0xb0], rax
mov qword [rsi + 0xb8], 0x20
movzx eax, byte [rsi + 0xa8]
cmp r13d, 8
jne 0x139a2019a
cmp al, 2
jne 0x139a2040a
mov r8, rbp
mov ecx, ebp
mov rax, r10
mov r11, r10
cmp r10, r9
jae 0x139a20486
movzx edx, byte [rdi + r11]
lea r10, [rax + 1]
mov rax, rdx
mov r11, r10
and eax, 0x7f
shl rax, cl
add ecx, 7
or r8, rax
mov rax, r10
test dl, dl
js 0x139a20083
lea rax, [r8 + r10]
cmp rax, r9
ja 0x139a20456
lea rcx, [r8 + r10]
cmp rcx, r9
jae 0x139a2045c
movzx eax, byte [rcx + rdi]
mov byte [rsi + 0xc0], al
lea rax, [rcx + 1]
mov r8, rax
mov rcx, rax
nop dword [rax]
lea rdx, [rcx]
cmp rax, r9
jae 0x139a20480
lea rax, [r8 + 1]
mov rcx, rax
mov r8, rax
cmp byte [rdi + rdx], bpl
jl 0x139a200e0
cmp rax, r9
jae 0x139a20462
cmp byte [rdi + rax], 2
jne 0x139a2040a
lea r8, [rax + 0x21]
add rax, 0x21
cmp rax, r9
ja 0x139a20468
mov r10, rbp
mov ecx, ebp
mov rax, r8
mov r11, r8
nop dword [rax + rax]
cmp r8, r9
jae 0x139a2047a
movzx edx, byte [r11 + rdi]
lea r8, [rax + 1]
mov rax, rdx
mov r11, r8
and eax, 0x7f
shl rax, cl
add ecx, 7
or r10, rax
mov rax, r8
test dl, dl
js 0x139a20130
lea rax, [r10 + r8]
lea rcx, [r8 + r10]
cmp rax, r9
ja 0x139a2046e
cmp rcx, r9
jae 0x139a20474
lea r10, [rcx + 1]
mov rbx, r10
jmp 0x139a201bc
cmp r13d, 8
jne 0x139a1fe76
add rcx, 0x18
cmp rcx, r9
ja 0x139a20414
jmp 0x139a1fe6d
mov rbx, r10
cmp al, 3
jne 0x139a201bc
cmp r10, r9
jae 0x139a2048c
movzx eax, byte [r10 + rdi]
lea rbx, [r10 + 1]
mov byte [rsi + 0xc0], al
mov r10, rbx
mov r11, rbp
mov ecx, ebp
mov rax, r10
cmp r10, r9
jae 0x139a204da
movzx edx, byte [rbx + rdi]
lea r10, [rax + 1]
mov rax, rdx
mov rbx, r10
and eax, 0x7f
shl rax, cl
add ecx, 7
or r11, rax
mov rax, r10
test dl, dl
js 0x139a201c4
mov r15d, r10d
lea rax, [r11 + r10]
add r15, rdi
mov qword [rsi + 0xc8], r11
mov dword [rsi + 0x2c], r10d
mov r8, rbp
cmp rax, r9
ja 0x139a20492
add r10, r11
mov r12b, 1
test r11, r11
je 0x139a2033d
nop
mov rbx, rbp
mov ecx, ebp
cmp r8, r11
jae 0x139a204bc
movzx edx, byte [r8 + r15]
inc r8
mov rax, rdx
and eax, 0x7f
shl rax, cl
add ecx, 7
or rbx, rax
test dl, dl
js 0x139a20225
sub rbx, 1
je 0x139a20316
sub rbx, 1
je 0x139a202bf
cmp rbx, 1
jne 0x139a2040a
mov r14, rbp
mov ecx, ebp
mov rbx, r8
nop dword [rax + rax]
cmp rbx, r11
jae 0x139a204a4
movzx edx, byte [r8 + r15]
inc r8
mov rax, rdx
mov rbx, r8
and eax, 0x7f
shl rax, cl
add ecx, 7
or r14, rax
test dl, dl
js 0x139a20270
mov ecx, dword [rsi + 0x2c]
add r8, r14
add ecx, ebx
mov dword [rsi + 0x38], ecx
cmp r8, r11
ja 0x139a2049e
lea rax, [r15 + rbx]
mov qword [rsi + 0xe0], rax
mov qword [rsi + 0xe8], r14
jmp 0x139a20334
mov r14, rbp
mov ecx, ebp
mov rbx, r8
cmp rbx, r11
jae 0x139a204b0
movzx edx, byte [r8 + r15]
inc r8
mov rax, rdx
mov rbx, r8
and eax, 0x7f
shl rax, cl
add ecx, 7
or r14, rax
test dl, dl
js 0x139a202c7
mov ecx, dword [rsi + 0x2c]
add r8, r14
add ecx, ebx
mov dword [rsi + 0x34], ecx
cmp r8, r11
ja 0x139a204aa
lea rax, [r15 + rbx]
mov qword [rsi + 0xd0], rax
mov qword [rsi + 0xd8], r14
jmp 0x139a20334
test r12b, r12b
je 0x139a20327
mov ecx, dword [rsi + 0x2c]
xor r12b, r12b
add ecx, r8d
mov dword [rsi + 0x30], ecx
add r8, 0x20
cmp r8, r11
ja 0x139a204b6
cmp r8, r11
jb 0x139a20220
cmp r13d, 8
jne 0x139a2038a
cmp r10, r9
jae 0x139a204ce
lea rax, [rdi + r10]
inc r10
cmp byte [rax], bpl
jl 0x139a20343
nop dword [rax + rax]
cmp r10, r9
jae 0x139a204c8
lea rax, [rdi + r10]
inc r10
cmp byte [rax], bpl
jl 0x139a20360
cmp r10, r9
jae 0x139a204c2
lea rax, [rdi + r10]
inc r10
cmp byte [rax], bpl
jl 0x139a20375
mov dword [rsi + 0x24], r10d
cmp r10, r9
jae 0x139a20498
lea r8, [r10 + 1]
cmp byte [rdi + r10], bpl
jne 0x139a2040a
mov ecx, r10d
lea rax, [rcx + 1]
cmp r8, rax
jne 0x139a2040a
cmp byte [rcx + rdi], bpl
jne 0x139a2040a
mov ecx, ebp
cmp r8, r9
jae 0x139a204d4
movzx edx, byte [rdi + r8]
inc r8
mov rax, rdx
and eax, 0x7f
shl rax, cl
add ecx, 7
or rbp, rax
test dl, dl
js 0x139a203b5
mov qword [rsi + 0xf0], rbp
mov al, 1
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x78]
add rsp, 0x58
pop rdi
pop rsi
ret
xor al, al
jmp 0x139a203e2
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3
call fcn.139a20500
int3