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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r13d, r13d
mov edi, r9d
mov dword [rsp + 0x44], r13d
mov rbx, r8
mov dword [rsp + 0x40], r13d
mov r15, rdx
mov rsi, rcx
mov r14d, r13d
test r8, r8
je 0x18005b339
cmp qword [rcx + 0x280], r13
jne 0x18005b339
cmp qword [r8 + 0x70], r13
jne 0x18005b339
call fcn.18006df10
test rax, rax
jne 0x18005b339
test byte [r15 + 0x48], 0x10
jne 0x18005b339
cmp edi, 0xa
jne 0x18005b0a6
cmp word [r15 + 0x40], r13w
jl 0x18005b09b
movzx edi, byte [r15 + 0x49]
mov dword [rsp + 0xa8], edi
cmp edi, 0xa
jne 0x18005b0a6
mov dword [rsp + 0xa8], 2
mov r10, qword [rbx + 0x28]
cmp dword [r10], 1
jne 0x18005b339
cmp qword [r10 + 0x30], r13
jne 0x18005b339
cmp qword [rbx + 0x30], r13
jne 0x18005b339
cmp qword [rbx + 0x48], r13
jne 0x18005b339
cmp qword [rbx + 0x38], r13
jne 0x18005b339
cmp qword [rbx + 0x60], r13
jne 0x18005b339
cmp qword [rbx + 0x50], r13
jne 0x18005b339
test byte [rbx + 0xa], 1
jne 0x18005b339
mov rax, qword [rbx]
cmp dword [rax], 1
jne 0x18005b339
mov rax, qword [rax + 8]
mov rcx, qword [rax]
cmp byte [rcx], 0x74
jne 0x18005b339
mov r8, qword [r10 + 8]
test r8, r8
je 0x18005b164
mov r11, qword [rsi]
mov edx, r13d
movsxd rax, dword [r11 + 0x28]
test eax, eax
jle 0x18005b153
mov r9, rax
mov rcx, r13
mov rax, qword [r11 + 0x20]
add rax, 0x18
nop dword [rax + rax]
cmp qword [rax], r8
je 0x18005b153
inc edx
inc rcx
add rax, 0x20
cmp rcx, r9
jl 0x18005b140
mov rax, qword [r11 + 0x20]
movsxd rcx, edx
shl rcx, 5
mov r9, qword [rcx + rax]
jmp 0x18005b168
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor edx, edx
mov rcx, rsi
call fcn.1800457a0
mov qword [rsp + 0x48], rax
mov rbp, rax
test rax, rax
je 0x18005b339
cmp rax, r15
je 0x18005b339
movzx r8d, byte [rax + 0x48]
movzx ecx, byte [r15 + 0x48]
mov edx, r8d
shr edx, 5
shr ecx, 5
not edx
not ecx
xor edx, ecx
test dl, 1
jne 0x18005b339
test r8b, 0x10
jne 0x18005b339
cmp qword [rax + 0x18], r13
jne 0x18005b339
movsx rcx, word [r15 + 0x42]
cmp cx, word [rax + 0x42]
jne 0x18005b339
movzx eax, word [rax + 0x40]
cmp word [r15 + 0x40], ax
jne 0x18005b339
cmp r13w, cx
jge 0x18005b2fb
mov r10, qword [r15 + 8]
lea r12, [0x1800eec60]
mov r11, qword [rbp + 8]
add r10, 0x10
add r11, 0x10
mov rdi, rcx
mov rbx, r13
nop dword [rax + rax]
movzx eax, byte [r11 + 0x19]
cmp byte [r10 + 0x19], al
jne 0x18005b339
mov r9, qword [r10 + 0x10]
mov rax, qword [r11 + 0x10]
test r9, r9
jne 0x18005b231
test rax, rax
jmp 0x18005b286
test rax, rax
je 0x18005b339
movzx r8d, byte [r9]
test r8b, r8b
je 0x18005b276
movzx ecx, r8b
sub r9, rax
nop word [rax + rax]
movzx edx, cl
movzx r8d, cl
movzx ecx, byte [rax]
movzx ecx, byte [rcx + r12]
cmp byte [rdx + r12], cl
jne 0x18005b276
movzx ecx, byte [rax + r9 + 1]
inc rax
movzx r8d, cl
test cl, cl
jne 0x18005b250
movzx ecx, byte [rax]
movzx edx, r8b
movzx eax, byte [rcx + r12]
cmp byte [rdx + r12], al
mov r8d, r13d
sete r8b
test r8d, r8d
je 0x18005b339
cmp byte [r10 + 0x18], r13b
je 0x18005b2a6
cmp byte [r11 + 0x18], r13b
je 0x18005b339
test rbx, rbx
jle 0x18005b2e7
mov rdx, qword [r10]
mov ecx, r13d
mov r8, qword [r11]
test rdx, rdx
mov eax, r13d
sete cl
test r8, r8
sete al
cmp ecx, eax
jne 0x18005b339
test rdx, rdx
je 0x18005b2e7
sub r8, rdx
nop
movzx ecx, byte [rdx]
movzx eax, byte [rdx + r8]
sub ecx, eax
jne 0x18005b2e3
inc rdx
test eax, eax
jne 0x18005b2d0
test ecx, ecx
jne 0x18005b339
inc rbx
add r10, 0x30
add r11, 0x30
cmp rbx, rdi
jl 0x18005b210
mov rdi, qword [r15 + 0x10]
mov eax, 1
test rdi, rdi
je 0x18005b361
nop dword [rax]
cmp byte [rdi + 0x62], r13b
mov rbx, qword [rbp + 0x10]
cmovne r14d, eax
test rbx, rbx
je 0x18005b339
mov rdx, rbx
mov rcx, rdi
call fcn.18005aec0
test eax, eax
jne 0x18005b353
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005b321
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rdi + 0x28]
mov eax, 1
test rdi, rdi
jne 0x18005b310
mov rdx, qword [r15 + 0x30]
test rdx, rdx
je 0x18005b37d
mov rcx, qword [rbp + 0x30]
mov r8d, 0xffffffff
call fcn.18003fd20
test eax, eax
jne 0x18005b339
mov rax, qword [rsi]
mov ecx, dword [rax + 0x2c]
bt ecx, 0x13
jae 0x18005b38f
cmp qword [r15 + 0x20], r13
jne 0x18005b339
test cl, cl
js 0x18005b339
mov rdx, qword [rbp + 0x70]
mov r12d, 0xfff0bdc0
mov dword [rsp + 0x34], r12d
test rdx, rdx
je 0x18005b3de
movsxd rcx, dword [rax + 0x28]
mov r12d, r13d
mov dword [rsp + 0x34], r13d
test ecx, ecx
jle 0x18005b3de
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, r13
cmp qword [rax], rdx
je 0x18005b3d9
inc r12d
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x18005b3c5
mov dword [rsp + 0x34], r12d
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x18005b429
mov rcx, rsi
call fcn.180025760
mov qword [rsi + 0x10], rax
mov rdi, rax
test rax, rax
je 0x18005b413
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1800258c0
cmp qword [rsi + 0x1c0], r13
jne 0x18005b429
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x18005b429
mov byte [rsi + 0x23], 1
mov rax, qword [rsi + 0x1c0]
mov rcx, rsi
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x16c]
bt eax, r12d
jb 0x18005b47b
bts eax, r12d
movsxd r9, r12d
mov dword [rcx + 0x16c], eax
mov r8, r9
mov rax, qword [rcx]
shl r8, 5
mov rdx, qword [rax + 0x20]
mov rax, qword [r8 + rdx + 0x18]
mov edx, dword [rax]
mov dword [rcx + r9*4 + 0x170], edx
cmp r12d, 1
jne 0x18005b47b
call fcn.18004c720
mov ebx, dword [rsi + 0x50]
mov r8, r15
mov edx, dword [rsp + 0xb0]
mov rcx, rsi
mov dword [rsp + 0xa0], ebx
lea eax, [rbx + 1]
mov dword [rsp + 0x3c], eax
inc eax
mov dword [rsi + 0x50], eax
call fcn.180057510
movzx ecx, byte [rsi + 0x1f]
mov ebp, eax
test cl, cl
jne 0x18005b4c0
inc dword [rsi + 0x54]
mov ecx, dword [rsi + 0x54]
inc dword [rsi + 0x54]
mov r13d, dword [rsi + 0x54]
mov dword [rsp + 0x30], ecx
jmp 0x18005b4ea
dec cl
movzx eax, cl
mov byte [rsi + 0x1f], al
mov ecx, dword [rsi + rax*4 + 0x24]
mov dword [rsp + 0x30], ecx
test al, al
jne 0x18005b4dd
inc dword [rsi + 0x54]
mov r13d, dword [rsi + 0x54]
jmp 0x18005b4ea
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov r13d, dword [rsi + rax*4 + 0x24]
mov r8d, dword [rsp + 0xb0]
lea edx, [rbx + 1]
mov r9, r15
mov dword [rsp + 0x38], r13d
mov rcx, rsi
mov dword [rsp + 0x20], 0x37
call fcn.180057170
cmp word [r15 + 0x40], 0
jge 0x18005b51c
cmp qword [r15 + 0x10], 0
jne 0x18005b52f
test r14d, r14d
jne 0x18005b52f
mov eax, dword [rsp + 0xa8]
dec eax
cmp eax, 1
jbe 0x18005b59c
mov r14d, dword [rsp + 0x3c]
xor r9d, r9d
mov r8d, r14d
mov dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x6c]
call fcn.1800258c0
xor r9d, r9d
mov ebx, eax
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x10]
call fcn.1800258c0
mov r8d, dword [rdi + 0x3c]
mov dword [rsp + 0x44], eax
cmp r8d, ebx
jbe 0x18005b588
mov rcx, qword [rdi + 8]
lea rdx, [rbx + rbx*2]
mov dword [rcx + rdx*8 + 8], r8d
mov r8d, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [r8 - 1]
mov ebx, dword [rsp + 0xa0]
mov dword [rax + 0x64], ecx
jmp 0x18005b5a0
lea r14d, [rbx + 1]
mov r9, qword [rsp + 0x48]
mov rcx, rsi
test byte [r9 + 0x48], 0x20
jne 0x18005b7fe
mov r8d, r12d
mov dword [rsp + 0x20], 0x36
mov edx, ebx
call fcn.180057170
xor r12d, r12d
xor r9d, r9d
mov r8d, ebx
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r12 + 0x6c]
call fcn.1800258c0
mov r9d, r13d
mov dword [rsp + 0x40], eax
mov rcx, rdi
mov dword [rsp + 0x20], r12d
cmp word [r15 + 0x40], r12w
jl 0x18005b717
mov r8d, ebx
lea edx, [r12 + 0x67]
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, r14d
mov rcx, rdi
mov r12d, eax
lea edx, [r9 + 0x46]
call fcn.1800258c0
mov edx, dword [rsp + 0xa8]
mov r8, r15
mov rcx, rsi
mov ebx, eax
call fcn.18004cd70
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x18005b64b
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test ebp, ebp
jle 0x18005b675
mov rcx, qword [rsi + 0x10]
mov r9d, r13d
mov r8d, ebp
mov dword [rsp + 0x20], 0
mov edx, 0x88
call fcn.1800258c0
mov ebx, dword [rsp + 0xa0]
mov r9d, dword [rsp + 0x30]
mov r8d, ebx
mov edx, 0x66
mov dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.1800258c0
mov r9d, dword [rsp + 0x30]
mov r8d, r14d
mov edx, 0x4b
mov dword [rsp + 0x20], r13d
mov rcx, rdi
call fcn.1800258c0
mov r8, qword [rdi + 8]
test r8, r8
je 0x18005b6ce
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], 0xb
mov r8, qword [rdi + 8]
mov rbx, qword [r15]
mov rcx, qword [rdi]
test r8, r8
je 0x18005b79d
cmp byte [rcx + 0x50], 0
jne 0x18005b79d
movsxd rax, dword [rdi + 0x3c]
lea rdx, [rax + rax*2]
lea rbp, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 - 0x17]
mov r8, qword [rbp - 8]
call fcn.180025c40
mov qword [rbp - 8], 0
test rbx, rbx
jne 0x18005b747
mov byte [rbp - 0x17], bl
jmp 0x18005b7a7
cmp qword [r15 + 0x10], r12
jne 0x18005b732
mov r8d, r14d
mov edx, 0x4a
call fcn.1800258c0
mov r12d, eax
jmp 0x18005b67c
mov r8d, ebx
mov edx, 0x67
call fcn.1800258c0
mov r12d, eax
jmp 0x18005b67c
cmp byte [rbx], 0
mov rax, rbx
je 0x18005b758
nop
inc rax
cmp byte [rax], 0
jne 0x18005b750
mov rcx, qword [rdi]
sub eax, ebx
and eax, 0x3fffffff
mov r13d, eax
lea rdx, [rax + 1]
call fcn.180005180
mov r14, rax
test rax, rax
je 0x18005b789
mov r8d, r13d
mov rdx, rbx
mov rcx, rax
call fcn.1800b2f60
mov byte [r14 + r13], 0
mov r13d, dword [rsp + 0x38]
mov qword [rbp - 8], r14
mov r14d, dword [rsp + 0x3c]
mov byte [rbp - 0x17], 0xff
jmp 0x18005b7a7
mov r8, rbx
xor edx, edx
call fcn.180025c40
mov r8d, dword [rsp + 0xa0]
xor ebp, ebp
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov rcx, rdi
lea edx, [rbp + 9]
call fcn.1800258c0
mov r8d, dword [rsp + 0xa0]
lea edx, [rbp + 0x3d]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
lea edx, [rbp + 0x3d]
mov rcx, rdi
call fcn.1800258c0
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x48]
jmp 0x18005b838
mov rax, qword [r15]
mov r9b, 1
mov r8d, dword [r15 + 0x3c]
mov edx, dword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.180044ea0
mov rbx, qword [rsp + 0x48]
xor r9d, r9d
mov edx, r12d
mov rcx, rsi
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x3c]
mov qword [rsp + 0x20], rax
call fcn.180044ea0
mov rbp, qword [r15 + 0x10]
test rbp, rbp
je 0x18005ba7b
mov r13d, dword [rsp + 0xa0]
nop dword [rax]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x18005b878
nop dword [rax]
mov rdx, rbx
mov rcx, rbp
call fcn.18005aec0
test eax, eax
jne 0x18005b878
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005b860
mov r9d, dword [rbx + 0x58]
mov r8d, r13d
mov edx, 0x36
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.1800258c0
mov r15, qword [rsi + 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.18004d4e0
mov rcx, qword [r15]
mov r14, rax
mov rax, qword [r15 + 8]
test rax, rax
je 0x18005b8f0
cmp byte [rcx + 0x50], 0
jne 0x18005b8f0
movsxd rdx, dword [r15 + 0x3c]
lea r8, [rdx + rdx*2]
movsx edx, byte [rax + r8*8 - 0x17]
lea rbx, [rax + r8*8]
mov r8, qword [rax + r8*8 - 8]
call fcn.180025c40
test r14, r14
jne 0x18005b8e0
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], r14b
jmp 0x18005b8fd
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], 0xfa
jmp 0x18005b8fd
mov r8, r14
mov edx, 0xfffffffa
call fcn.180025c40
mov eax, dword [rsp + 0xb0]
lea r15d, [r13 + 1]
mov r9d, dword [rbp + 0x58]
mov r8d, r15d
mov edx, 0x37
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.1800258c0
mov rbx, qword [rsi + 0x10]
mov rdx, rbp
mov rcx, rsi
call fcn.18004d4e0
mov rcx, qword [rbx]
mov r14, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x18005b980
cmp byte [rcx + 0x50], 0
jne 0x18005b980
movsxd rdx, dword [rbx + 0x3c]
lea r8, [rdx + rdx*2]
movsx edx, byte [rax + r8*8 - 0x17]
lea rbx, [rax + r8*8]
mov r8, qword [rax + r8*8 - 8]
call fcn.180025c40
test r14, r14
jne 0x18005b96f
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], r14b
jmp 0x18005b98d
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], 0xfa
jmp 0x18005b98d
mov r8, r14
mov edx, 0xfffffffa
call fcn.180025c40
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x18005b9a3
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 1
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x6c]
call fcn.1800258c0
mov r14d, dword [rsp + 0x30]
mov r8d, r13d
mov r9d, r14d
mov ebx, eax
mov edx, 0x65
mov dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.1800258c0
mov r9d, r14d
mov dword [rsp + 0x20], 1
mov r8d, r15d
mov edx, 0x6e
mov rcx, rdi
call fcn.1800258c0
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 9
mov rcx, rdi
call fcn.1800258c0
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x18005ba2c
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
xor ebx, ebx
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov dword [rax + 0x64], ecx
mov rcx, rdi
lea edx, [rbx + 0x3d]
call fcn.1800258c0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r15d
lea edx, [rbx + 0x3d]
mov rcx, rdi
call fcn.1800258c0
mov rbp, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x48]
test rbp, rbp
jne 0x18005b850
mov r13d, dword [rsp + 0x38]
jmp 0x18005ba85
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18005baad
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x18005baa3
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r13d, r13d
je 0x18005bae3
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x18005bae3
xor ecx, ecx
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], r13d
je 0x18005badf
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005bac4
mov dword [rsi + rdx*4 + 0x24], r13d
inc byte [rsi + 0x1f]
jmp 0x18005bae3
mov byte [rax + 6], 1
test r14d, r14d
je 0x18005bb1f
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x18005bb1f
xor ecx, ecx
lea rax, [rsi + 0x88]
nop word [rax + rax]
cmp dword [rax + 0xc], r14d
je 0x18005bb1b
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005bb00
mov dword [rsi + rdx*4 + 0x24], r14d
inc byte [rsi + 0x1f]
jmp 0x18005bb1f
mov byte [rax + 6], 1
mov ebx, dword [rsp + 0x44]
test ebx, ebx
je 0x18005bb83
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x18]
call fcn.1800258c0
mov ecx, dword [rdi + 0x3c]
cmp ecx, ebx
jbe 0x18005bb58
mov rax, qword [rdi + 8]
lea r9, [rbx + rbx*2]
mov dword [rax + r9*8 + 8], ecx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea r9d, [rcx - 1]
mov r8d, r15d
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov dword [rax + 0x64], r9d
xor r9d, r9d
lea edx, [r9 + 0x3d]
call fcn.1800258c0
jmp 0x18005b339
mov eax, 1
jmp 0x18005b33b