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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push r12
push r13
lea rbp, [rax - 0x68]
sub rsp, 0x148
mov qword [rax - 0x28], rsi
xor r13d, r13d
mov qword [rax - 0x30], rdi
mov qword [rax - 0x38], r14
mov r14d, r13d
mov qword [rax - 0x40], r15
mov r15, rcx
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], r13d
call fcn.180123c90
mov rsi, qword [r15 + 0x90]
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], rax
test rsi, rsi
je 0x18012b563
dec dword [rsi]
cmp dword [rsi], r13d
jg 0x18012b55c
mov edi, r13d
cmp dword [rsi + 0x1c], r13d
jle 0x18012b554
lea rbx, [rsi + 0x28]
mov rcx, qword [rbx]
call fcn.18002a420
inc edi
lea rbx, [rbx + 0x10]
cmp edi, dword [rsi + 0x1c]
jl 0x18012b541
mov rcx, rsi
call fcn.18002a420
mov qword [r15 + 0x90], r13
mov rsi, qword [rsp + 0x50]
cmp dword [rsi + 0x10], r13d
je 0x18012bceb
mov rdx, r12
mov rcx, r15
call fcn.180128810
mov dword [rsp + 0x58], eax
mov edx, eax
test eax, eax
je 0x18012bceb
mov rcx, qword [r15]
mov r8d, edx
lea rdx, [rbp - 0x80]
mov eax, dword [rcx + 0x88]
mov dword [rbp + 0x80], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0xb0]
mov rcx, r15
mov dword [rbp + 0x88], eax
call fcn.180129270
mov eax, dword [r15 + 0x3c]
lea r13, [r15 + 0x3c]
mov qword [rbp + 0x10], r13
test eax, eax
jne 0x18012bb99
lea r9, [rsi + 0x18]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.180122f00
mov dword [r13], eax
test eax, eax
jne 0x18012bb99
mov r14d, dword [rbp - 0x68]
mov rdi, qword [rsi + 0x18]
test rdi, rdi
je 0x18012bb94
lea r12, [rdi + 0x30]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x60], r12
nop
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18012b610
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.1801226e0
mov r9d, dword [rdi + 0x18]
lea eax, [rbx + 1]
mov r8d, dword [r13]
sub r9d, ebx
movsxd rsi, eax
mov rax, 0xffffffffffffffff
add rsi, r12
sub r9d, 0x31
mov qword [rsp + 0x48], rsi
mov dword [rbp + 0x78], r9d
inc rax
cmp byte [r12 + rax], 0
jne 0x18012b650
mov ebx, dword [rbp + 0x88]
mov edx, r8d
mov qword [rbp], rax
test ebx, ebx
jne 0x18012b6ce
mov r9, r12
lea rdx, [rbp - 0x80]
mov r8d, eax
mov rcx, r15
call fcn.180128ea0
mov r8d, dword [r13]
mov edx, r8d
test r8d, r8d
jne 0x18012bb94
movsxd r9, dword [rbp + 0x78]
movsxd r14, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x58]
add ecx, r14d
lea eax, [r9 + 1]
add eax, ecx
cmp dword [rbp + 0x80], eax
jl 0x18012b6ce
mov rcx, r14
mov r8, r9
add rcx, qword [rbp - 0x70]
mov rdx, rsi
call fcn.18013fe80
add r14d, dword [rbp + 0x78]
mov eax, dword [r13]
mov edx, eax
mov dword [rbp - 0x68], r14d
jmp 0x18012bb6c
xor ecx, ecx
test ebx, ebx
mov qword [rsp + 0x70], rcx
mov eax, ecx
mov esi, ecx
sete al
mov r12d, ecx
mov dword [rsp + 0x38], eax
test r8d, r8d
jne 0x18012bb87
mov ebx, ecx
jmp 0x18012b6f4
xor ecx, ecx
mov eax, ebx
cmp r12d, r9d
jge 0x18012bb6c
mov rdi, qword [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rcx
movsxd rcx, r12d
add rcx, rdi
call fcn.180139f70
add rsi, qword [rsp + 0x30]
movzx eax, al
add r12d, eax
mov qword [rbp + 0x18], rsi
cmp dword [rbp + 0x88], 0
mov dword [rsp + 0x20], r12d
je 0x18012b793
cmp dword [rsp + 0x3c], 1
jne 0x18012b7fd
cmp r12d, dword [rbp + 0x78]
jge 0x18012b793
movsxd rax, r12d
cmp byte [rax + rdi], 0
jne 0x18012b793
mov r8, qword [rsp + 0x60]
mov r9, rsi
mov rdx, qword [rsp + 0x68]
mov rcx, r15
call fcn.18012b380
mov r9d, dword [rbp + 0x78]
inc r12d
cmp r12d, r9d
jge 0x18012bb5c
movsxd rax, r12d
cmp byte [rax + rdi], 0
jne 0x18012bb5c
mov ebx, dword [r13]
inc r12d
xor eax, eax
mov dword [rsp + 0x20], r12d
mov dword [rbp + 0x78], eax
test ebx, ebx
jne 0x18012b7c3
mov rbx, qword [rsp + 0x60]
cmp dword [rsp + 0x38], 0
jne 0x18012b7c3
mov r8d, dword [rbp]
lea rdx, [rbp - 0x80]
mov r9, rbx
mov rcx, r15
call fcn.180128ea0
mov r14d, dword [rbp - 0x68]
mov eax, 1
mov dword [rsp + 0x38], eax
cmp byte [rbp - 0x37], 0
movsxd rcx, r14d
je 0x18012b888
mov rdx, qword [rbp - 0x70]
movzx eax, word [rbp - 0x68]
add rcx, rdx
shr ax, 8
mov byte [rdx], al
movzx eax, byte [rbp - 0x68]
mov byte [rdx + 1], al
cmp rsi, 0x7f
ja 0x18012b838
movzx eax, sil
and al, 0x7f
mov byte [rcx], al
mov eax, 1
jmp 0x18012b864
movsxd rax, r12d
add rdi, rax
test byte [rdi], 1
je 0x18012b793
mov rbx, qword [rsp + 0x60]
mov r9, rsi
mov rdx, qword [rsp + 0x68]
mov r8, rbx
mov rcx, r15
call fcn.18012b380
cmp dword [r13], 0
jne 0x18012b830
cmp byte [rdi], 1
jne 0x18012b79c
inc r12d
jmp 0x18012bb58
cmp rsi, 0x3fff
ja 0x18012b85c
mov rax, rsi
shr rax, 7
or al, 0x80
mov byte [rcx], al
movzx eax, sil
and al, 0x7f
mov byte [rcx + 1], al
mov eax, 2
jmp 0x18012b864
mov rdx, rsi
call fcn.1800304c0
add r14d, eax
mov byte [rbp - 0x37], 0
mov r8, rsi
mov dword [rbp - 0x68], r14d
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.180128b60
mov r11, qword [rbp - 0x70]
mov r14d, dword [rbp - 0x68]
jmp 0x18012b8d6
mov r11, qword [rbp - 0x70]
mov rdx, rsi
sub rdx, qword [rsp + 0x70]
add rcx, r11
cmp rdx, 0x7f
ja 0x18012b8a9
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
jmp 0x18012b8cf
cmp rdx, 0x3fff
ja 0x18012b8ca
mov rax, rdx
shr rax, 7
or al, 0x80
and dl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dl
mov eax, 2
jmp 0x18012b8cf
call fcn.1800304c0
add r14d, eax
mov dword [rbp - 0x68], r14d
mov eax, dword [r13]
mov edx, eax
test eax, eax
jne 0x18012bb87
cmp dword [rsp + 0x3c], 1
mov qword [rsp + 0x70], rsi
jne 0x18012b95c
mov r9d, dword [rbp + 0x78]
cmp r12d, r9d
jge 0x18012b935
mov rdi, qword [rsp + 0x48]
movsxd rax, r12d
cmp byte [rax + rdi], dl
jne 0x18012b935
movsxd rax, r14d
inc r12d
inc r14d
mov dword [rbp - 0x68], r14d
mov byte [rax + r11], dl
cmp r12d, r9d
jge 0x18012b935
movsxd rax, r12d
cmp byte [rax + rdi], dl
jne 0x18012b935
movsxd rax, r14d
inc r14d
mov dword [rbp - 0x68], r14d
inc r12d
mov byte [rax + r11], dl
mov ecx, dword [rbp - 0x58]
add ecx, r14d
cmp ecx, dword [rbp + 0x80]
jl 0x18012bb5c
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.180128d60
mov r14d, dword [rbp - 0x68]
jmp 0x18012bb58
movsxd r8, r12d
mov ebx, 1
add r8, qword [rsp + 0x48]
movzx ecx, byte [r8]
test cl, cl
jns 0x18012b9c3
movzx edx, byte [r8 + 1]
test dl, dl
js 0x18012b989
and ecx, 0x7f
mov ebx, 2
shl ecx, 7
or ecx, edx
jmp 0x18012b9c3
movzx eax, byte [r8 + 2]
shl ecx, 0xe
or eax, ecx
test al, al
js 0x18012b9ad
mov ecx, edx
and eax, 0x1fc07f
and ecx, 0x7f
mov ebx, 3
shl ecx, 7
or ecx, eax
jmp 0x18012b9c3
lea rdx, [rbp + 8]
mov rcx, r8
call fcn.180139f70
mov ecx, dword [rbp + 8]
btr ecx, 0x1f
movzx ebx, al
mov r13d, ecx
shr r13d, 1
test cl, 1
je 0x18012b9fb
cmp dword [rbp + 0x88], 0
je 0x18012b9fb
mov r8d, r13d
lea rdi, [r15 + 0x3c]
add r8, r8
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.18011b310
mov r14d, dword [rbp - 0x68]
add r12d, ebx
mov dword [rsp + 0x20], r12d
jmp 0x18012ba02
add r13d, ebx
lea rdi, [r15 + 0x3c]
mov ecx, dword [rbp - 0x58]
mov eax, dword [rbp + 0x80]
add ecx, r14d
movsxd rdx, r12d
add ecx, r13d
add rdx, qword [rsp + 0x48]
cmp ecx, eax
jg 0x18012ba38
movsxd rcx, r14d
add rcx, qword [rbp - 0x70]
movsxd r8, r13d
call fcn.18013fe80
add r14d, r13d
mov dword [rbp - 0x68], r14d
jmp 0x18012bb51
xor r15d, r15d
cmp dword [rdi], r15d
jne 0x18012bb4d
mov r12, rdx
jmp 0x18012ba56
mov eax, dword [rbp + 0x80]
mov edi, eax
mov ebx, r13d
sub edi, r14d
sub ebx, r15d
sub edi, dword [rbp - 0x58]
cmp ebx, edi
jle 0x18012baf4
movsxd rsi, r15d
add rsi, r12
cmp byte [rsi], 0
jl 0x18012ba7e
mov ebx, 1
jmp 0x18012baa8
cmp byte [rsi + 1], 0
jl 0x18012ba8b
mov ebx, 2
jmp 0x18012baa8
cmp byte [rsi + 2], 0
jl 0x18012ba98
mov ebx, 3
jmp 0x18012baa8
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180139f70
movzx ebx, al
cmp ebx, edi
jge 0x18012baf4
nop dword [rax]
movsxd rcx, ebx
add rcx, rsi
cmp byte [rcx], 0
jl 0x18012bac2
mov eax, 1
jmp 0x18012bae9
cmp byte [rcx + 1], 0
jl 0x18012bacf
mov eax, 2
jmp 0x18012bae9
cmp byte [rcx + 2], 0
jl 0x18012badc
mov eax, 3
jmp 0x18012bae9
lea rdx, [rsp + 0x30]
call fcn.180139f70
movzx eax, al
lea ecx, [rax + rbx]
cmp ecx, edi
jg 0x18012baf4
mov ebx, ecx
jmp 0x18012bab0
movsxd rdx, r15d
movsxd rcx, r14d
add rdx, r12
add rcx, qword [rbp - 0x70]
movsxd r8, ebx
call fcn.18013fe80
mov ecx, dword [rbp - 0x58]
add r14d, ebx
add ecx, r14d
mov dword [rbp - 0x68], r14d
add r15d, ebx
cmp ecx, dword [rbp + 0x80]
jl 0x18012bb32
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp - 0x80]
call fcn.180128d60
mov r14d, dword [rbp - 0x68]
cmp r15d, r13d
jge 0x18012bb44
mov rax, qword [rbp + 0x10]
cmp dword [rax], 0
je 0x18012ba50
mov r12d, dword [rsp + 0x20]
mov rsi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x70]
add r12d, r13d
lea r13, [r15 + 0x3c]
mov r9d, dword [rbp + 0x78]
mov eax, dword [r13]
mov edx, eax
mov ebx, eax
test eax, eax
je 0x18012b6f2
test eax, eax
jne 0x18012bb87
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 8]
mov qword [rsi + 0x18], rcx
mov edx, dword [r13]
jmp 0x18012bb8c
mov rsi, qword [rsp + 0x50]
test edx, edx
je 0x18012b5f1
mov r12, qword [rsp + 0x68]
lea r8, [rsp + 0x40]
mov rcx, r15
lea rdx, [rbp - 0x80]
call fcn.180129130
mov r14d, dword [rsp + 0x40]
test r14d, r14d
jle 0x18012bce8
cmp dword [r12 + 0x1c], 0
jne 0x18012bc1f
lea rdx, [rsp + 0x28]
mov rcx, r13
call fcn.180123430
cmp dword [r13], 0
mov r12, qword [rsp + 0x28]
jne 0x18012bc1f
movsxd rbx, dword [r12 + 0x1c]
call fcn.1800e74e0
test eax, eax
jne 0x18012bc17
lea rdx, [rbx + 4]
mov rcx, r12
shl rdx, 4
call fcn.18002a5c0
test rax, rax
je 0x18012bc17
lea rcx, [rbx + 2]
mov qword [rsp + 0x28], rax
add rcx, rcx
xorps xmm0, xmm0
mov r12, rax
movups xmmword [rax + rcx*8], xmm0
inc dword [rax + 0x1c]
jmp 0x18012bc1f
mov dword [r13], 7
mov eax, dword [r13]
test eax, eax
jne 0x18012bcdb
mov eax, dword [r12 + 0x24]
mov rdi, qword [r12 + 0x28]
inc eax
cdqe
imul rbx, rax, 0x38
call fcn.1800e74e0
test eax, eax
jne 0x18012be33
mov rdx, rbx
mov rcx, rdi
call fcn.18002a5c0
test rax, rax
je 0x18012be33
movsxd rcx, dword [r12 + 0x24]
xorps xmm0, xmm0
imul rdx, rcx, 0x38
xor ecx, ecx
add rdx, rax
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
mov qword [rdx + 0x30], rcx
mov qword [r12 + 0x28], rax
mov eax, dword [r13]
test eax, eax
jne 0x18012bcdb
movsxd rcx, dword [r12 + 0x24]
imul rdx, rcx, 0x38
lea eax, [rcx + 1]
add rdx, qword [r12 + 0x28]
mov dword [r12 + 0x24], eax
mov eax, dword [rsp + 0x58]
mov dword [rdx], eax
mov dword [rdx + 4], 1
mov dword [rdx + 8], r14d
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x18012bcd6
mov qword [rdx + 0x10], rax
mov rax, qword [r12 + 0x10]
mov qword [rdx + 0x18], rax
movsxd rax, dword [r15 + 0x38]
mov qword [rdx + 0x30], rax
inc qword [r12 + 0x10]
inc dword [r12 + 0x18]
mov r8, r12
xor edx, edx
mov rcx, r15
call fcn.180124460
xor r13d, r13d
cmp dword [r15 + 0x3c], 0
jne 0x18012bd5a
mov rax, qword [r15]
cmp dword [rax + 0x8c], 0
jle 0x18012bd5a
test r12, r12
je 0x18012bd5a
movsxd r8, dword [r15 + 0x10]
xor edx, edx
mov ecx, dword [r15 + 0x34]
mov rax, qword [r12 + 8]
add ecx, r14d
movsxd r10, ecx
add r10, rax
div r8
xor edx, edx
mov qword [r12 + 8], r10
mov r9, qword [r15]
mov rcx, rax
mov rax, r10
div r8
mov r9d, dword [r9 + 0x8c]
lea rdx, [rsp + 0x28]
sub eax, ecx
mov rcx, r15
imul eax, dword [r12 + 0x1c]
imul eax, dword [r15 + 0x10]
mov r8d, eax
call fcn.18012a290
mov r12, qword [rsp + 0x28]
mov rax, qword [r15]
mov r14, qword [rsp + 0x130]
mov qword [rbp + 0x70], r12
mov esi, dword [rax + 0x90]
test r12, r12
je 0x18012bdc7
cmp dword [r12 + 0x1c], 0
jle 0x18012bdc7
cmp dword [r15 + 0x3c], 0
mov ebx, r13d
jne 0x18012bdc7
mov rdi, r13
nop dword [rax]
cmp dword [r12 + rdi + 0x24], esi
jl 0x18012bdc7
xor r9d, r9d
lea rdx, [rbp + 0x70]
mov r8d, ebx
mov rcx, r15
call fcn.1801298a0
mov r12, qword [rbp + 0x70]
inc ebx
mov edx, ebx
mov r8, r12
mov rcx, r15
call fcn.180124460
add rdi, 0x10
cmp dword [r15 + 0x3c], 0
je 0x18012bd90
mov rdx, r12
mov rcx, r15
call fcn.180123dd0
mov r15, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x140]
test r12, r12
je 0x18012be25
dec dword [r12]
cmp dword [r12], 0
jg 0x18012be25
cmp dword [r12 + 0x1c], 0
jle 0x18012be1d
lea rbx, [r12 + 0x28]
mov rcx, qword [rbx]
call fcn.18002a420
inc r13d
lea rbx, [rbx + 0x10]
cmp r13d, dword [r12 + 0x1c]
jl 0x18012be07
mov rcx, r12
call fcn.18002a420
add rsp, 0x148
pop r13
pop r12
pop rbx
pop rbp
ret
mov dword [r13], 7
jmp 0x18012bcdb