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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
push r13
push r15
sub rsp, 0x40
mov r13, qword [rcx]
mov r11, qword [rcx + 8]
xor esi, esi
mov r10, qword [r13]
mov rbx, qword [r13 + 0x10]
mov r12, rcx
mov qword [rsp + 0x80], r11
lea rdx, [r13 + 0x9c]
lea r9d, [rsi + 0xa]
mov qword [rsp + 0x78], r10
nop dword [rax]
mov r8d, dword [rdx]
test r8d, r8d
je 0x18007cacd
cmp byte [rdx - 6], sil
je 0x18007cac7
movzx eax, byte [r13 + 0x1f]
cmp al, 8
jae 0x18007cac3
movzx eax, al
mov dword [r13 + rax*4 + 0x28], r8d
inc byte [r13 + 0x1f]
mov byte [rdx - 6], sil
mov dword [rdx], esi
dec byte [r13 + 0x25]
add rdx, 0x14
dec r9
jne 0x18007caa0
movzx eax, byte [rcx + 0x3b]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x38], rdi
dec eax
mov qword [rsp + 0x30], r14
movsxd r15, eax
js 0x18007d096
mov r14, qword [rsp + 0x70]
imul rax, r15, 0x78
lea r12, [r11 + 0x50]
add r12, rax
add r14, 0x35c
imul rax, r15, 0x58
add r14, rax
nop word [rax + rax]
mov rdx, qword [rbx + 0x30]
mov rbp, qword [r14 + 0x34]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18007cb48
movsxd rax, dword [r14 + 4]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
movzx eax, byte [r14 + 0x19]
cmp al, 0xa0
je 0x18007cbd2
movsxd rcx, dword [rbx + 0x3c]
movzx r10d, byte [r14 + 0x1a]
mov r9d, dword [r14 + 0x20]
mov r8d, dword [r14 + 0x1c]
movzx edx, al
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x18007cb85
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1800296a0
jmp 0x18007cbb4
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x18007cbd2
movsxd rax, dword [rbx + 0x3c]
mov rcx, qword [rbx + 8]
lea rdx, [rax + rax*2]
movzx eax, byte [r14 + 0x1b]
mov byte [rcx + rdx*8 - 0x15], al
test dword [rbp + 0x28], 0x800
je 0x18007cd29
cmp dword [r14 + 0x24], 0
jle 0x18007cd29
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18007cc0e
movsxd rax, dword [r14 - 4]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
mov esi, dword [r14 + 0x24]
lea eax, [rsi - 1]
movsxd rcx, eax
mov rax, qword [r14 + 0x2c]
lea rdx, [rcx + rcx*2]
lea rdi, [rax + rdx*4]
test esi, esi
jle 0x18007cd27
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rdi + 4]
mov rax, qword [rbx + 0x30]
dec ecx
inc edx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x18007cc5b
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007cc6d
lea rax, [0x1800bf8b8]
jmp 0x18007cc7c
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
movzx edx, byte [rdi + 8]
cmp dword [rax + 0x64], ecx
jg 0x18007ccaa
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.1800296a0
jmp 0x18007ccd9
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], dl
xor edx, edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rdi + 4]
mov rax, qword [rbx + 0x30]
dec ecx
dec edx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x18007ccf4
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007cd06
lea rax, [0x1800bf8b8]
jmp 0x18007cd15
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
dec esi
sub rdi, 0xc
mov dword [rax + 8], r8d
test esi, esi
jg 0x18007cc40
xor esi, esi
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18007cd4d
movsxd rax, dword [r14 - 8]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
mov edx, dword [r14]
test edx, edx
je 0x18007ce30
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18007cd85
xor r8d, r8d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], esi
call fcn.1800296a0
jmp 0x18007cdaf
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov ecx, dword [rbx + 0x3c]
mov edx, dword [r14]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
test edx, edx
jns 0x18007cdca
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007cddc
lea rax, [0x1800bf8b8]
jmp 0x18007cdeb
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov ecx, dword [rbx + 0x3c]
mov edx, dword [r14]
mov rax, qword [rbx + 0x30]
dec ecx
sub edx, 2
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x18007ce0b
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007ce1d
lea rax, [0x1800bf8b8]
jmp 0x18007ce2c
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov r8d, dword [r14 + 0x14]
test r8d, r8d
je 0x18007ce90
mov edx, dword [r14 + 0x10]
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
shr edx, 1
cmp dword [rax + 0x64], ecx
jg 0x18007ce65
mov r9d, r8d
mov r8d, edx
mov rcx, rbx
mov edx, 0x43
mov dword [rsp + 0x20], esi
call fcn.1800296a0
jmp 0x18007ce90
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x43
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov edx, dword [r14 - 0x14]
test edx, edx
je 0x18007d073
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edi
jg 0x18007cec3
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x41]
mov dword [rsp + 0x20], esi
call fcn.1800296a0
mov edi, eax
jmp 0x18007ceee
lea rcx, [rdi + rdi*2]
lea eax, [rdi + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x41
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
test byte [rbp + 0x28], 0x40
jne 0x18007cf48
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [r12]
cmp dword [rax + 0x64], ecx
jg 0x18007cf1d
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x7b]
mov dword [rsp + 0x20], esi
call fcn.1800296a0
jmp 0x18007cf48
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x7b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
test dword [rbp + 0x28], 0x200
je 0x18007cfa5
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [r14 - 0xc]
cmp dword [rax + 0x64], ecx
jg 0x18007cf7a
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x7b]
mov dword [rsp + 0x20], esi
call fcn.1800296a0
jmp 0x18007cfa5
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x7b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
cmp byte [r14 + 0x19], 0x47
mov edx, dword [r14 + 8]
movsxd rcx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
jne 0x18007cff2
mov r8d, dword [r14 + 0x1c]
cmp dword [rax + 0x64], ecx
jg 0x18007cfd7
mov r9d, edx
mov rcx, rbx
mov edx, 0xe
mov dword [rsp + 0x20], esi
call fcn.1800296a0
jmp 0x18007d039
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0xe
mov dword [rax + rcx*8 + 4], r8d
jmp 0x18007d027
cmp dword [rax + 0x64], ecx
jg 0x18007d00f
xor r8d, r8d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], esi
call fcn.1800296a0
jmp 0x18007d039
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0xd
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov dword [rax + rcx*8 + 0xc], esi
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test edi, edi
jns 0x18007d04f
lea edi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007d061
lea rax, [0x1800bf8b8]
jmp 0x18007d070
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
sub r14, 0x58
sub r12, 0x78
dec r15
jns 0x18007cb20
mov r12, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x80]
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18007d0bb
movsxd rax, dword [r12 + 0x48]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
mov r15d, esi
dec eax
mov dword [rdx + 0x6c], eax
cmp byte [r12 + 0x3b], 0
jbe 0x18007d3d4
lea r14, [r12 + 0x390]
nop word [rax + rax]
movzx eax, byte [r14 - 0x1c]
mov rsi, qword [r14]
imul rax, rax, 0x78
add rax, r11
test byte [rax + 0x48], 0x10
mov rbp, qword [rax + 0x28]
je 0x18007d19e
cmp byte [r10 + 0x55], 0
jne 0x18007d19e
mov r8d, dword [r14 - 0x28]
mov r10d, dword [rax + 0x40]
mov r9d, dword [r14 - 0x44]
mov ecx, r8d
test r8d, r8d
jns 0x18007d121
mov ecx, dword [rbx + 0x3c]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007d133
lea rdx, [0x1800bf8b8]
jmp 0x18007d142
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov eax, dword [rbx + 0x3c]
cmp r8d, eax
jge 0x18007d194
add rdx, 4
sub eax, r8d
mov r8d, eax
cmp dword [rdx], r9d
jne 0x18007d18b
movzx eax, byte [rdx - 4]
cmp al, 0x5f
jne 0x18007d17c
mov ecx, dword [rdx + 4]
mov eax, dword [rdx + 8]
mov byte [rdx - 4], 0x53
add ecx, r10d
mov dword [rdx + 4], eax
mov dword [rdx + 8], 0
mov dword [rdx], ecx
jmp 0x18007d18b
cmp al, 0x7a
jne 0x18007d18b
xor eax, eax
mov byte [rdx - 4], 0x4e
mov dword [rdx], eax
mov dword [rdx + 8], eax
add rdx, 0x18
dec r8
jne 0x18007d154
mov r10, qword [rsp + 0x78]
jmp 0x18007d3be
test byte [rbp + 0x46], 2
jne 0x18007d29b
cmp qword [rbp + 0x18], 0
jne 0x18007d29b
test byte [r12 + 0x34], 0x20
jne 0x18007d29b
cmp byte [r12 + 0x38], 0
mov edi, dword [rsi + 0x28]
jne 0x18007d1fa
test dil, 0x40
jne 0x18007d1fa
mov edx, dword [rax + 0x50]
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18007d244
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x6e]
mov dword [rsp + 0x20], 0
call fcn.1800296a0
xor r8d, r8d
bt edi, 9
jae 0x18007d29b
test edi, 0x4100
jne 0x18007d29b
mov edx, dword [r14 - 0x40]
cmp edx, dword [r12 + 0x54]
je 0x18007d29b
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18007d270
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
lea edx, [r9 + 0x6e]
mov rcx, rbx
call fcn.1800296a0
jmp 0x18007d29b
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r8d, r8d
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x6e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x18007d1fd
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x6e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov eax, dword [rsi + 0x28]
test eax, 0x240
je 0x18007d2ab
mov r11, qword [rsi + 0x20]
jmp 0x18007d2b9
bt eax, 0xd
jae 0x18007d3b1
mov r11, qword [r14 - 0x10]
test r11, r11
je 0x18007d3b1
cmp byte [r12 + 0x38], 0
je 0x18007d2d8
mov rax, qword [r11 + 0x18]
test byte [rax + 0x46], 0x20
je 0x18007d3b1
mov r10, qword [rsp + 0x78]
cmp byte [r10 + 0x55], 0
jne 0x18007d3b6
mov r9d, dword [r14 - 0x28]
mov r8d, dword [rbx + 0x3c]
mov ecx, r9d
test r9d, r9d
jns 0x18007d2fc
lea ecx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007d30e
lea rdx, [0x1800bf8b8]
jmp 0x18007d31d
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
cmp r9d, r8d
jge 0x18007d3b6
sub r8d, r9d
add rdx, 4
or r12d, 0xffffffff
mov edi, r8d
mov eax, dword [r14 - 0x44]
cmp dword [rdx], eax
jne 0x18007d3a3
movzx eax, byte [rdx - 4]
cmp al, 0x5f
jne 0x18007d395
test byte [rbp + 0x46], 0x20
movsxd r9, dword [rdx + 4]
je 0x18007d35f
mov rcx, rbp
call fcn.18005ee70
mov rax, qword [rax + 8]
movsx r9d, word [rax + r9*2]
movzx r8d, word [r11 + 0x60]
xor ecx, ecx
test r8d, r8d
jle 0x18007d381
mov r10, qword [r11 + 8]
nop
movsxd rax, ecx
cmp r9w, word [r10 + rax*2]
je 0x18007d385
inc ecx
cmp ecx, r8d
jl 0x18007d370
movzx ecx, r12w
movsx eax, cx
test eax, eax
js 0x18007d3a3
mov dword [rdx + 4], eax
mov eax, dword [r14 - 0x40]
jmp 0x18007d3a1
cmp al, 0x7a
jne 0x18007d3a3
mov eax, dword [r14 - 0x40]
mov byte [rdx - 4], 0x80
mov dword [rdx], eax
add rdx, 0x18
dec rdi
jne 0x18007d334
mov r12, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x80]
movzx eax, byte [r12 + 0x3b]
inc r15d
add r14, 0x58
cmp r15d, eax
jl 0x18007d0e0
mov eax, dword [r12 + 0x4c]
mov rdx, r12
mov rcx, r10
mov dword [r13 + 0x1dc], eax
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rsi
pop rbx
jmp fcn.180088480