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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbx
push rdi
push r14
push r15
sub rsp, 0x88
mov rdi, qword [rcx + 0x10]
xor r15d, r15d
mov r14, r8
mov r10d, edx
mov rbx, rcx
mov r8d, r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x40], r15d
cmp dword [rcx + 0x30], r15d
jne 0x18018611e
mov qword [rax - 0x28], rbp
mov qword [rax - 0x30], rsi
mov rsi, qword [r14 + 0x28]
mov qword [rsp + 0x48], rsi
mov byte [r14], 1
mov dword [rsp + 0xb0], r15d
cmp dword [r14 + 0x30], r15d
jle 0x18018600f
mov qword [rax - 0x38], r12
mov qword [rax - 0x40], r13
jmp 0x180185915
mov r8d, dword [rsp + 0x38]
mov rax, qword [rsi]
mov r13d, r15d
mov dword [rsp + 0x3c], r15d
mov ebp, r15d
test dword [rax + 4], 0x1000000
mov r14, qword [rax + 0x20]
mov qword [rsp + 0x50], r14
je 0x1801859f1
mov rax, qword [rax + 0x40]
mov rsi, qword [rax + 0x48]
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x24], r15d
je 0x1801859cc
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + 8]
test byte [rax + 4], 0x20
je 0x1801859cc
test r10d, r10d
je 0x1801859cc
test r8d, r8d
jne 0x180185974
inc dword [rbx + 0x38]
mov r8d, dword [rbx + 0x38]
mov dword [rsp + 0x38], r8d
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x18018599d
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, r10d
mov edx, 0x50
mov rcx, rdi
call fcn.1800cbd20
jmp 0x1801859cc
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x50
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
dec dword [rbx + 0x44]
mov r9d, 0x10
mov r12d, dword [rbx + 0x44]
mov rdx, rsi
mov r8d, r12d
mov dword [rsp + 0x3c], r12d
mov rcx, rbx
call fcn.1801176f0
mov rsi, qword [rsp + 0x48]
cmp dword [rsi + 0x18], r15d
jl 0x180185bca
mov rax, qword [rsi]
mov ebp, dword [r14]
cmp byte [rsi + 0x1d], r15b
mov dword [rsp + 0x34], ebp
mov rcx, qword [rax + 0x10]
mov r14, qword [rcx + 0x20]
mov eax, dword [r14]
lea r13d, [rax + 1]
cmovne r13d, eax
cmp byte [rsi + 0x1c], r15b
je 0x180185a25
add r13d, ebp
cmp byte [rsi + 0x1e], r15b
je 0x180185a2e
add r13d, ebp
inc r13d
cmp r13d, 1
jne 0x180185a5a
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180185a48
inc dword [rbx + 0x38]
mov r12d, dword [rbx + 0x38]
jmp 0x180185a82
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0xd8]
jmp 0x180185a82
mov ecx, dword [rbx + 0x28]
mov r12d, dword [rbx + 0x2c]
cmp r13d, ecx
jg 0x180185a75
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x180185a82
mov eax, dword [rbx + 0x38]
lea r12d, [rax + 1]
add eax, r13d
mov dword [rbx + 0x38], eax
xor r9d, r9d
mov dword [rsp + 0x30], r12d
mov r8d, r12d
mov byte [rsp + 0x20], 1
mov rdx, r14
mov rcx, rbx
call fcn.180112570
mov r14d, dword [r14]
cmp byte [rsi + 0x1d], r15b
jne 0x180185b05
movsxd rcx, dword [rdi + 0x90]
lea edx, [r14 + r12]
mov r8d, dword [rsi + 0x18]
cmp dword [rdi + 0x94], ecx
jg 0x180185ad4
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x7e
mov rcx, rdi
call fcn.1800cbd20
jmp 0x180185b02
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
inc r14d
cmp byte [rsi + 0x1c], r15b
je 0x180185b33
mov rdx, qword [rsp + 0x50]
lea esi, [r14 + r12]
mov r8d, esi
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rbx
call fcn.180112570
mov rsi, qword [rsp + 0x48]
add r14d, ebp
cmp byte [rsi + 0x1e], r15b
je 0x180185c4b
mov rdx, qword [rsp + 0x48]
mov esi, r12d
cmp byte [rdx + 0x1c], r15b
cmovne esi, dword [rsp + 0x30]
test ebp, ebp
jle 0x180185c48
lea ebp, [r14 + r12]
mov r14d, dword [rsp + 0x34]
nop
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x180185b89
mov r9d, ebp
mov dword [rsp + 0x20], r15d
mov r8d, esi
mov edx, 0xb5
mov rcx, rdi
call fcn.1800cbd20
jmp 0x180185bb6
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xb5
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
inc ebp
inc esi
sub r14, 1
jne 0x180185b60
mov rsi, qword [rsp + 0x48]
jmp 0x180185c4b
test r14, r14
je 0x180185c3e
mov ebp, dword [r14]
mov dword [rsp + 0x34], ebp
cmp ebp, 1
jne 0x180185bfe
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x180185bec
inc dword [rbx + 0x38]
mov r12d, dword [rbx + 0x38]
jmp 0x180185c23
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0xd8]
jmp 0x180185c23
mov ecx, dword [rbx + 0x28]
mov r12d, dword [rbx + 0x2c]
cmp ebp, ecx
jg 0x180185c17
lea eax, [r12 + rbp]
sub ecx, ebp
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x180185c23
mov eax, dword [rbx + 0x38]
lea r12d, [rax + 1]
add eax, ebp
mov dword [rbx + 0x38], eax
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8d, r12d
mov rdx, r14
mov rcx, rbx
mov ebp, r12d
call fcn.180112570
jmp 0x180185c54
mov dword [rsp + 0x34], r15d
mov r12d, r15d
jmp 0x180185c54
mov rsi, rdx
mov ebp, dword [rsp + 0x30]
mov r14, qword [rsp + 0x50]
cmp dword [rsi + 0x10], r15d
jl 0x180185c93
test r14, r14
je 0x180185c93
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x180185c71
dec dword [rbx + 0x44]
mov eax, dword [rbx + 0x44]
mov dword [rsp + 0x3c], eax
mov r8d, dword [rsi + 0x10]
mov r9d, eax
mov edx, dword [rsp + 0xc8]
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r14
call fcn.1800632b0
mov dword [rsi + 0x10], eax
cmp dword [rsi + 0x18], r15d
jl 0x180185da5
movsxd rcx, dword [rdi + 0x90]
lea ebp, [r13 - 1]
add ebp, r12d
lea esi, [r13 - 1]
cmp dword [rdi + 0x94], ecx
jg 0x180185cd0
mov r9d, esi
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x61
mov rcx, rdi
call fcn.1800cbd20
jmp 0x180185cfd
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r15
mov rdx, qword [rsp + 0x48]
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rdx + 0x18]
cmp dword [rdi + 0x94], ecx
jg 0x180185d49
mov r8d, edx
mov dword [rsp + 0x28], esi
mov edx, 0x8a
mov dword [rsp + 0x20], r12d
mov r9d, ebp
mov rcx, rdi
call fcn.180055110
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb0]
jmp 0x180185f76
mov r14, qword [rsp + 0xc0]
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], ebp
mov ebp, dword [rsp + 0xb0]
mov dword [rax + rcx*8 + 0x10], esi
mov rsi, qword [rsp + 0x48]
mov dword [rax + rcx*8], 0xfd8a
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], r12d
jmp 0x180185f76
cmp r13d, dword [rbx + 0x28]
jle 0x180185f98
mov dword [rbx + 0x28], r13d
mov dword [rbx + 0x2c], r12d
jmp 0x180185f98
mov rax, qword [rsi + 8]
mov r13d, dword [rsp + 0x34]
test byte [rax + 4], 0x20
je 0x180185eb6
mov rbp, r15
mov esi, r15d
add r14, 8
cmp esi, r13d
jge 0x180185de2
mov rdx, qword [r14]
mov rcx, rbx
call fcn.180116990
inc esi
add r14, 0x20
mov rbp, rax
test rax, rax
je 0x180185dc2
jmp 0x180185dee
test rbp, rbp
jne 0x180185dee
mov rax, qword [rbx]
mov rbp, qword [rax + 0x10]
mov r8d, dword [rsp + 0x38]
test r8d, r8d
jne 0x180185e12
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x24], r15d
je 0x180185e12
inc dword [rbx + 0x38]
mov r8d, dword [rbx + 0x38]
mov dword [rsp + 0x38], r8d
movsxd rdx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], edx
jg 0x180185e39
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov rcx, rdi
lea edx, [r9 + 0x55]
call fcn.1800cbd20
mov edx, eax
jmp 0x180185e63
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x55
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rdi]
cmp byte [rax + 0x67], r15b
jne 0x180185eb1
test edx, edx
jns 0x180185e78
mov edx, dword [rdi + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
cmp byte [rax + rcx*8 + 1], r15b
lea rdx, [rax + rcx*8]
je 0x180185ea4
mov r9d, 0xfffffffe
mov r8, rbp
mov rcx, rdi
call fcn.180188ed0
jmp 0x180185eb1
test rbp, rbp
je 0x180185eb1
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xfe
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xb0]
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [r14 + 0x20]
add edx, dword [r14 + 0xc]
add edx, ebp
cmp dword [rdi + 0x94], ecx
jg 0x180185ef7
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov edx, 0xa2
xor r8d, r8d
mov rcx, rdi
call fcn.1800cbd20
jmp 0x180185f21
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0xa2
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r15
mov rcx, qword [rdi]
mov rdx, qword [rsi + 8]
cmp byte [rcx + 0x67], r15b
je 0x180185f3b
test byte [rdx + 4], 0x10
je 0x180185f57
call fcn.18010d860
jmp 0x180185f57
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf9
mov qword [rax + rcx*8 - 8], rdx
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x180185f76
lea rcx, [rax + rax*2]
movzx edx, r13b
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp r13d, 1
jne 0x180185d8e
test r12d, r12d
je 0x180185f98
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180185f98
mov dword [rbx + rax*4 + 0xd8], r12d
inc byte [rbx + 0x1f]
mov edx, dword [rsp + 0x3c]
test edx, edx
je 0x180185fcb
mov rcx, qword [rdi + 0x18]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180185fbb
mov r8d, edx
mov rdx, rdi
call fcn.1800ef380
jmp 0x180185fcb
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r10d, dword [rsp + 0xb8]
inc ebp
add rsi, 0x20
mov dword [rsp + 0xb0], ebp
mov qword [rsp + 0x48], rsi
cmp ebp, dword [r14 + 0x30]
jl 0x180185910
mov edx, dword [rsp + 0x38]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
test edx, edx
je 0x180186007
lea rax, [r14 + 0x24]
jmp 0x180186023
mov r10d, dword [rsp + 0xb8]
lea rax, [r14 + 0x24]
mov rbp, rax
cmp dword [rax], r15d
je 0x180186082
mov edx, r10d
test r10d, r10d
je 0x180186082
movsxd r8, dword [rdi + 0x90]
mov rbp, rax
mov dword [rsp + 0x40], r8d
cmp dword [rdi + 0x94], r8d
jg 0x180186058
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0x10]
call fcn.1800cbd20
mov dword [rsp + 0x40], eax
jmp 0x180186082
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x10
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
mov rsi, qword [r14 + 0x18]
cmp dword [rbp], r15d
jle 0x1801860af
add rsi, 8
mov r8d, dword [r14 + 0xc]
mov rcx, rbx
mov rdx, qword [rsi]
add r8d, r15d
call fcn.1801124c0
inc r15d
lea rsi, [rsi + 0x18]
cmp r15d, dword [rbp]
jl 0x180186090
movsxd rcx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov byte [r14], 0
test ecx, ecx
je 0x18018611e
mov edx, dword [rdi + 0x90]
lea eax, [rdx - 1]
cmp ecx, eax
jne 0x1801860ea
mov dword [rdi + 0x90], eax
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rbx
ret
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x18018610b
lea rax, [0x180295120]
mov dword [rax + 8], edx
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rbx
ret
mov rax, qword [rdi + 0x88]
lea rcx, [rcx + rcx*2]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rbx
ret