Function at 0x18003ae60
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rdx]
mov r15, rcx
movzx ebx, byte [rdx + 0x20]
mov rsi, rdx
mov rdi, qword [rcx + 0x10]
not ebx
and ebx, 1
mov r12d, dword [rax]
inc dword [rcx + 0x58]
mov eax, dword [rcx + 0x58]
mov ecx, dword [rdx + 8]
lea ebp, [r12 + rbx]
mov dword [rsp + 0x88], eax
add ebp, dword [rsp + 0xa8]
cmp dword [rsp + 0xb0], 0
mov dword [rsp + 0x80], ecx
je 0x18003aec5
mov r14d, r9d
sub r14d, r12d
sub r14d, ebx
jmp 0x18003aecf
lea r14d, [rax + 1]
add eax, ebp
mov dword [r15 + 0x58], eax
mov r13d, dword [r8 + 0x14]
test r13d, r13d
je 0x18003aedd
inc r13d
jmp 0x18003aee1
mov r13d, dword [r8 + 0x10]
mov rcx, rdi
call fcn.180020a8c
mov r9d, dword [rsp + 0xa0]
mov r8d, r14d
mov rdx, qword [rsi]
mov rcx, r15
mov dword [rsi + 0x1c], eax
mov byte [rsp + 0x20], 5
call fcn.18002ec80
test ebx, ebx
je 0x18003af25
and dword [rsp + 0x20], 0
lea r9d, [r14 + r12]
mov r8d, dword [rsi + 0xc]
mov edx, 0x6f
mov rcx, rdi
call fcn.180020968
cmp dword [rsp + 0xb0], 0
jne 0x18003af4d
mov r9d, dword [rsp + 0xa8]
lea r8d, [r14 + r12]
mov edx, dword [rsp + 0x98]
add r8d, ebx
mov rcx, r15
call fcn.18002de70
mov eax, dword [rsp + 0x80]
mov edx, 0x60
sub ebp, eax
mov rcx, rdi
mov r9d, ebp
lea r8d, [r14 + rax]
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call fcn.180020968
xor ebp, ebp
cmp dword [rsp + 0x80], ebp
jle 0x18003b137
mov eax, dword [r15 + 0x58]
mov ebp, r12d
and dword [rsp + 0x20], 0
inc eax
mov dword [rsp + 0x90], eax
xor r9d, r9d
mov eax, dword [rsi + 8]
mov rcx, rdi
add dword [r15 + 0x58], eax
sub ebp, dword [rsi + 8]
add ebp, ebx
test ebx, ebx
je 0x18003afb9
lea r8d, [r14 + r12]
lea edx, [r9 + 0x16]
jmp 0x18003afc2
mov r8d, dword [rsi + 0xc]
mov edx, 0x6b
call fcn.180020968
mov r12d, dword [rsp + 0x90]
mov r9d, r14d
mov dword [rsp + 0xb0], eax
mov r8d, r12d
mov eax, dword [rsi + 8]
mov edx, 0x5d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180020968
mov edx, dword [rsi + 0x18]
mov rcx, rdi
call fcn.180020dec
mov rcx, qword [r15]
mov qword [rsp + 0x90], rax
cmp byte [rcx + 0x55], 0
jne 0x18003b1c6
mov rbx, qword [rax + 0x10]
xor edx, edx
mov ecx, dword [rsp + 0xa8]
add ecx, ebp
mov dword [rax + 8], ecx
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.180071c60
mov r9d, 0xfffffffa
mov r8, rbx
or edx, 0xffffffff
mov rcx, rdi
call fcn.180020d74
movzx r9d, word [rbx + 8]
mov rcx, r15
mov r8d, dword [rsp + 0x80]
dec r9d
mov rdx, qword [rsi]
call fcn.18003ba84
mov rcx, qword [rsp + 0x90]
xor r9d, r9d
mov qword [rcx + 0x10], rax
lea edx, [r9 + 0x13]
mov ebx, dword [rdi + 0x3c]
mov rcx, rdi
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], r8d
call fcn.180020968
mov rcx, rdi
call fcn.180020a8c
mov dword [rsi + 0x14], eax
xor ebp, ebp
mov r8d, dword [r15 + 0x58]
mov rcx, rdi
inc r8d
mov dword [rsp + 0x20], ebp
mov dword [r15 + 0x58], r8d
mov r9d, dword [rsi + 0x14]
lea edx, [rbp + 0xe]
mov dword [rsi + 0x10], r8d
call fcn.180020968
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov edx, Ordinal_133
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180020968
test r13d, r13d
je 0x18003b0e8
mov r9d, dword [rsi + 0x1c]
lea edx, [rbp + 0x16]
mov r8d, r13d
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180020968
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov edx, dword [rsp + 0xb0]
mov dword [rax + 0x6c], ecx
mov rcx, rdi
call fcn.180020dec
mov ecx, dword [rdi + 0x3c]
mov r8d, r12d
mov edx, r14d
mov dword [rax + 8], ecx
mov rcx, r15
mov r9d, dword [rsi + 8]
call fcn.18002de70
mov ecx, dword [rdi + 0x3c]
mov edx, ebx
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov rcx, rdi
call fcn.180020dec
mov ecx, dword [rdi + 0x3c]
mov dword [rax + 8], ecx
mov al, byte [rsi + 0x20]
mov rcx, rdi
mov r9d, dword [rsp + 0x88]
and al, 1
mov r8d, dword [rsi + 0xc]
neg al
mov dword [rsp + 0x20], ebp
sbb edx, edx
add edx, 0x7c
call fcn.180020968
test r13d, r13d
je 0x18003b1c6
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8d, r13d
mov rcx, rdi
lea edx, [r9 + 0x41]
call fcn.180020968
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], ebp
mov ebx, eax
lea edx, [r9 + 0x34]
call fcn.180020968
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x73]
call fcn.180020968
mov ecx, dword [rdi + 0x3c]
mov edx, ebx
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov rcx, rdi
call fcn.180020dec
mov ecx, dword [rdi + 0x3c]
mov dword [rax + 8], ecx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret