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

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4afbd8
push rbp
mov rbp, rsp
sub rsp, 0x98
cmp word [rax + 0xa0], 0x8664
jne 0x4af908
mov rdx, qword [rax + 0xb8]
lea rsi, [0x004ce860]
cmp rdx, rsi
jne 0x4afbc5
mov rdx, qword [rax + 0xc0]
mov edx, dword [rdx + 0x3c]
jmp 0x4af929
mov rdx, qword [rax + 0xb8]
lea rsi, [0x004ce820]
cmp rdx, rsi
jne 0x4afbb1
mov rsi, qword [rax + 0xc0]
mov edx, dword [rsi + 0x3c]
mov rsi, rcx
xor edi, edi
jmp 0x4af936
mov byte [rcx + rdi], r8b
inc edi
cmp edx, edi
jbe 0x4af965
mov r8, qword [rbx + 8]
nop
cmp rdi, r8
jae 0x4afba7
test byte [rcx], al
mov r8, qword [rbx]
movzx r8d, byte [rdi + r8]
mov r9d, 0xffffffff
cmp rdi, r9
jb 0x4af930
nop
jmp 0x4afb9d
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x60], rcx
mov rdx, qword [rax + 0xc8]
mov qword [rsp + 0x58], rdx
mov rbx, qword [rax + 0xd0]
mov qword [rsp + 0x38], rbx
xor edi, edi
jmp 0x4af996
inc rdi
cmp rdi, rbx
jge 0x4afa01
mov r8, qword [rdx + rdi*8]
cmp dword [r8 + 0x20], 0
je 0x4af993
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x50], r8
mov rax, r8
call fcn.004ae7a0
test rdi, rdi
jne 0x4af9f2
mov rdx, qword [rsp + 0x50]
mov edx, dword [rdx + 0x1c]
mov rsi, qword [rsp + 0x40]
add rdx, rsi
xor ecx, ecx
jmp 0x4afb6b
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
jmp 0x4af993
mov rax, rdi
mov rbx, rsi
add rsp, 0x98
pop rbp
ret
nop
lea rax, [0x004dfd00]
call fcn.0040ce80
mov qword [rsp + 0x48], rax
mov qword [rax], 0
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x100]
mov rbx, qword [rcx + 0x108]
mov rsi, qword [rcx + 0x110]
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rsi
mov rbx, rax
lea rdi, [0x0063cd60]
lea rsi, [0x004d0720]
lea r8, [rsp + 0x80]
lea rax, [0x0051bdd8]
lea rcx, [0x0051c608]
call fcn.0049eea0
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x118]
mov rbx, qword [rcx + 0x120]
mov rsi, qword [rcx + 0x128]
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
lea rax, [0x0051bdd8]
mov rbx, qword [rsp + 0x48]
lea rdi, [0x0063cd60]
lea rsi, [0x004d61c0]
lea r8, [rsp + 0x68]
lea rcx, [0x0051c608]
call fcn.0049eea0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + 8]
mov rax, qword [rcx + 0x18]
nop
cmp rax, rdx
ja 0x4afb5a
mov rsi, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov r8, rax
sub rax, rdi
sar rax, 0x3f
and rax, r8
sub rdx, r8
add rsi, rax
mov rdi, qword [rsp + 0xa8]
mov r8, qword [rsp + 0x60]
xor eax, eax
jmp 0x4afb16
mov byte [r8 + r9], r10b
inc eax
cmp eax, edx
jae 0x4afb3d
mov r9d, dword [rdi + 0xa8]
add r9d, eax
cmp rax, rdx
jae 0x4afb52
test byte [r8], al
movzx r10d, byte [rax + rsi]
mov ecx, 0xffffffff
cmp rcx, r9
ja 0x4afb10
jmp 0x4afb4a
xor eax, eax
xor ebx, ebx
add rsp, 0x98
pop rbp
ret
mov eax, r9d
call fcn.00461a20
mov rcx, rdx
call fcn.00461a20
mov rcx, rdx
nop dword [rax]
call fcn.00461ae0
mov byte [rdx + rcx], dil
inc ecx
cmp ebx, ecx
jbe 0x4af9d4
cmp rbx, rcx
jbe 0x4afb93
test byte [rdx], al
movzx edi, byte [rax + rcx]
mov r8d, 0xffffffff
cmp rcx, r8
jb 0x4afb65
mov eax, ecx
mov rcx, r8
call fcn.00461a20
mov eax, ecx
mov rcx, rbx
call fcn.00461a20
mov eax, edi
mov rcx, r9
call fcn.00461a20
mov eax, edi
mov rcx, r8
call fcn.00461a20
mov rax, rdx
mov rbx, rsi
lea rcx, [0x004d5b00]
nop
call fcn.0040a2e0
mov rax, rdx
mov rbx, rsi
lea rcx, [0x004d5b00]
call fcn.0040a2e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f7a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax + rax]
jmp fcn.004af8c0