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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov eax, dword [rcx + 0x50]
mov ebp, r8d
mov rdi, qword [rdx + 0x18]
mov r14, rdx
mov r10, qword [rcx]
mov rsi, rcx
mov dword [rsp + 0x90], eax
mov ebx, 0xfff0bdc0
add eax, 2
mov qword [rsp + 0x98], rdi
mov dword [rcx + 0x50], eax
mov r9, qword [rdx + 0x30]
test r9, r9
je 0x18004a7a3
movsxd rax, dword [r10 + 0x28]
xor ebx, ebx
test eax, eax
jle 0x18004a7a3
mov rdx, rax
xor ecx, ecx
mov rax, qword [r10 + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], r9
je 0x18004a7a3
inc ebx
inc rcx
add rax, 0x20
cmp rcx, rdx
jl 0x18004a790
mov rax, qword [r10 + 0x20]
xor r9d, r9d
mov r8, qword [r14]
movsxd rcx, ebx
shl rcx, 5
lea edx, [r9 + 0x1b]
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.180045640
test eax, eax
jne 0x18004ac6a
mov rax, qword [rdi]
mov r9b, 1
mov r8d, dword [rdi + 0x3c]
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180045700
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x18004a842
mov rcx, rsi
call fcn.180025fc0
mov qword [rsi + 0x10], rax
mov rdi, rax
test rax, rax
je 0x18004a822
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026120
cmp qword [rsi + 0x1c0], 0
jne 0x18004a839
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x18004a839
mov byte [rsi + 0x23], 1
test rdi, rdi
je 0x18004ac6a
mov qword [rsp + 0x58], r12
mov r12d, ebp
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r15
test ebp, ebp
jns 0x18004a85c
mov r12d, dword [r14 + 0x58]
mov rdx, r14
mov rcx, rsi
call fcn.18004dd40
mov r13d, dword [rsi + 0x50]
mov r15, rax
lea ecx, [r13 + 1]
mov dword [rsi + 0x50], ecx
test rax, rax
je 0x18004a87c
inc dword [rax]
movzx ecx, word [r14 + 0x5e]
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x3a]
call fcn.180026120
mov r9d, 0xfffffffa
mov r8, r15
mov edx, eax
mov rcx, rdi
call fcn.180026760
mov r9, qword [rsp + 0x98]
mov r8d, ebx
mov edx, dword [rsp + 0x90]
mov rcx, rsi
mov dword [rsp + 0x20], 0x36
call fcn.1800579d0
mov r8d, dword [rsp + 0x90]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea edx, [r9 + 0x6c]
call fcn.180026120
movzx ecx, byte [rsi + 0x1f]
mov dword [rsp + 0x98], eax
test cl, cl
jne 0x18004a902
inc dword [rsi + 0x54]
mov ebp, dword [rsi + 0x54]
jmp 0x18004a90e
dec cl
movzx eax, cl
mov byte [rsi + 0x1f], al
mov ebp, dword [rsi + rax*4 + 0x24]
mov r8d, dword [rsp + 0x90]
lea rax, [rsp + 0xa8]
xor ecx, ecx
mov r9d, ebp
mov dword [rsp + 0x38], ecx
mov rdx, r14
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1800506e0
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 0x6d
mov rcx, rdi
call fcn.180026120
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x18004a99b
mov rdx, qword [rsi + 0x10]
not eax
mov r9, qword [rdx + 0x30]
test eax, eax
js 0x18004a98a
mov r8, qword [r9 + 0x80]
test r8, r8
je 0x18004a98a
movsxd rcx, eax
mov eax, dword [rdx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rdx + 0x3c]
mov rcx, rsi
dec eax
mov dword [r9 + 0x64], eax
call fcn.18003dca0
mov r9d, dword [rsp + 0x98]
mov edx, 9
mov r8d, dword [rsp + 0x90]
inc r9d
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.180026120
mov eax, dword [rsp + 0x98]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x18004a9e0
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
cmp dword [rsp + 0xa0], 0
lea ecx, [rdx - 1]
mov rax, qword [rdi + 0x30]
mov dword [rax + 0x64], ecx
jge 0x18004aa0f
mov r9d, ebx
mov dword [rsp + 0x20], 0
mov r8d, r12d
mov edx, 0x76
mov rcx, rdi
call fcn.180026120
mov r8d, dword [rsp + 0x90]
mov r9d, r12d
inc r8d
mov dword [rsp + 0x20], ebx
mov edx, 0x37
mov rcx, rdi
call fcn.180026120
mov r9d, 0xfffffffa
mov r8, r15
mov edx, eax
mov rcx, rdi
call fcn.180026760
mov r8, qword [rdi + 8]
test r8, r8
je 0x18004aa6c
cmp dword [rsp + 0xa0], 0
mov eax, 3
mov edx, 1
cmovge edx, eax
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x6a]
call fcn.180026120
cmp byte [r14 + 0x62], 0
mov r12d, eax
je 0x18004ab56
test r15, r15
je 0x18004ab56
mov ebx, dword [rdi + 0x3c]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r9d, [rbx + 3]
lea edx, [r8 + 0x10]
call fcn.180026120
mov eax, dword [rdi + 0x3c]
lea r9d, [rbx + 3]
movzx r15d, word [r14 + 0x5e]
mov r8d, r13d
mov edx, 0x63
mov dword [rsp + 0x98], eax
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.180026120
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x18004ab30
cmp byte [rcx + 0x50], 0
jne 0x18004ab30
test eax, eax
jns 0x18004aafd
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1800264a0
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x10], r15d
mov byte [rbx + 1], 0xf2
jmp 0x18004ab3d
mov r8, r15
mov edx, 0xfffffff2
call fcn.1800264a0
mov r8, r14
mov edx, 2
mov rcx, rsi
call fcn.18004d340
mov ebx, dword [rsp + 0x98]
jmp 0x18004ab59
mov ebx, dword [rdi + 0x3c]
mov r15d, dword [rsp + 0x90]
mov r9d, ebp
mov r8d, r13d
mov edx, 0x64
mov rcx, rdi
lea r14d, [r15 + 1]
mov dword [rsp + 0x20], r14d
call fcn.180026120
mov r9d, ebp
mov dword [rsp + 0x20], 1
mov r8d, r14d
mov edx, 0x6e
mov rcx, rdi
call fcn.180026120
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x18004abae
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
test ebp, ebp
je 0x18004abe1
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x18004abe1
xor ecx, ecx
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], ebp
je 0x18004abdd
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18004abc4
mov dword [rsi + rdx*4 + 0x24], ebp
inc byte [rsi + 0x1f]
jmp 0x18004abe1
mov byte [rax + 6], 1
xor esi, esi
mov r9d, ebx
mov r8d, r13d
mov dword [rsp + 0x20], esi
mov rcx, rdi
lea edx, [rsi + 5]
call fcn.180026120
mov edx, dword [rdi + 0x3c]
cmp edx, r12d
jbe 0x18004ac0f
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov dword [rax + 0x64], ecx
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.180026120
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r14d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.180026120
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.180026120
mov r15, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret