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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea r14d, [r8 + 0x197]
mov rdi, r9
mov rsi, rdx
mov r15, rcx
cmp r8d, r14d
jae 0x180091890
mov r13, qword [rsp + 0x90]
lea ebp, [r8 - 0x103]
mov ebx, dword [rsp + 0x80]
lea r9, [0x180000000]
mov r12, qword [rsp + 0x30]
mov r10d, 0x1f4
xor r8d, r8d
mov edx, 0x1f40
cmp ebp, 0x74
ja case.0x1800915a2.11
movzx eax, byte [r9 + rbp + 0x918f8]
mov ecx, dword [r9 + rax*4 + 0x918c8]
add rcx, r9
jmp rcx
mov ecx, r8d
mov rax, r15
mov edx, 0xa
nop
add ecx, dword [rax]
lea rax, [rax + 4]
sub rdx, 1
jne 0x1800915b0
cmp ecx, r10d
jge 0x1800915ce
add word [rdi + 0x124], 0xa
jmp case.0x1800915a2.11
mov word [rdi + 0x124], r8w
jmp case.0x1800915a2.11
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x38], eax
mov dword [rdi + 0x34], 0xfffffffe
mov dword [rdi + 0x3c], r8d
jmp case.0x1800915a2.11
mov dword [rdi + 0x48], r8d
jmp case.0x1800915a2.11
cmp dword [rdi + 0x1c], 0
mov edx, r8d
jl 0x180091625
mov rcx, r8
mov rax, qword [rdi]
lea rcx, [rcx + 4]
inc edx
mov dword [rcx + rax - 4], 0x2800
mov rax, qword [rdi + 0x40]
mov dword [rcx + rax - 4], r8d
cmp edx, dword [rdi + 0x1c]
jle 0x180091606
mov dword [rdi + 0x20], 0x4000
mov dword [rdi + 0x24], 0x4000
mov dword [rdi + 0x28], 0xfffffffe
jmp case.0x1800915a2.11
movzx eax, word [rdi + 0x12c]
test ax, ax
jle case.0x1800915a2.11
sub ax, 0xa
mov word [rdi + 0x12c], ax
jmp case.0x1800915a2.11
movsxd r8, dword [rdi + 0x1c]
xor edx, edx
mov rcx, qword [rdi + 8]
shl r8, 2
call sub.VCRUNTIME140.dll_memset
movsxd r8, dword [rdi + 0x18]
xor edx, edx
mov rcx, qword [rdi + 0x10]
shl r8, 2
call sub.VCRUNTIME140.dll_memset
jmp 0x180091871
mov ebx, 0xffffffff
mov r12, rdi
test rdi, rdi
jne case.0x1800915a2.11
mov eax, 0xffffffff
jmp 0x180091897
mov eax, dword [rsi]
cmp eax, 0xbb80
jne 0x1800916da
mov eax, dword [r13]
lea rdx, [rsp + 0x80]
mov r9, r15
mov dword [rsp + 0x80], eax
mov r8d, 0xb9
mov rcx, r12
call fcn.1800620b0
mov rbx, rax
jmp 0x180091871
cmp eax, 0x7d00
jne 0x180091710
mov eax, dword [r13]
lea r9, [rsp + 0x80]
mov r8, r12
mov dword [rsp + 0x80], eax
mov rdx, r15
mov dword [rsp + 0x20], 0x10a
xor ecx, ecx
call fcn.1800906f0
mov ebx, eax
jmp 0x180091871
cmp eax, 0x3e80
jne 0x180091742
mov eax, dword [r13]
lea rdx, [rsp + 0x80]
mov r9, r15
mov dword [rsp + 0x80], eax
mov r8d, 0xc5
mov rcx, r12
call fcn.1800620b0
mov ebx, eax
jmp 0x180091871
cmp eax, edx
jne case.0x1800915a2.11
mov eax, dword [r13]
lea rdx, [rsp + 0x80]
mov r9, r12
mov dword [rsp + 0x80], eax
mov r8d, 0x54
mov rcx, r15
call fcn.180061860
mov ebx, eax
jmp 0x180091871
cmp word [rdi + 0x124], r10w
jle case.0x1800915a2.11
mov r9d, 0xc5
nop dword [rax]
mov eax, r9d
sub eax, 0xc5
je 0x18009181f
sub eax, 1
je 0x1800917cb
sub eax, 1
je 0x1800917c1
sub eax, 1
je 0x1800917bb
cmp eax, 1
jne 0x18009180d
mov word [rdi + 0x12c], dx
jmp 0x18009180d
mov dword [rdi + 0x70], r8d
jmp 0x18009180d
mov word [rdi + 0x12a], r8w
jmp 0x18009180d
mov eax, dword [rdi + 0x144]
mov r8d, dword [rsi]
inc eax
add eax, dword [rdi + 0x14c]
cdq
sub eax, edx
mov edx, 0x1f40
sar eax, 1
cmp r8d, eax
jge 0x18009180a
imul ecx, r8d, 0x466
sar ecx, 0xa
mov dword [rsi], ecx
mov eax, dword [rdi + 0x154]
cmp ecx, eax
cmovge ecx, eax
mov dword [rsi], ecx
mov dword [rdi + 0x13c], ecx
xor r8d, r8d
inc r9d
cmp r9d, 0xca
jb 0x180091790
jmp 0x180091877
mov word [rdi + 0x124], r8w
jmp 0x18009180d
cmp dword [r12 + 0x2dc], 0x2a
jne 0x18009169b
test r15, r15
je 0x18009169b
mov eax, dword [r13]
lea r8, [rsp + 0x80]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x30]
mov eax, dword [rsi]
mov edx, 0x56
mov dword [rsp + 0x80], eax
call fcn.180091970
test eax, eax
jne 0x18009169b
mov r10d, 0x1f4
lea r9, [0x180000000]
add ebp, 0x25
lea eax, [rbp + 0x103]
cmp eax, r14d
jb 0x18009157d
mov eax, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 1
test ebx, ebx
cmovg ebx, eax
mov eax, ebx
jmp 0x180091897