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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, qword [rcx + 0x10]
mov rdi, rcx
mov r12, r9
mov eax, dword [rsi + 0x3c]
mov rcx, rsi
mov rbp, r8
mov dword [rsp + 0x30], eax
mov r15, rdx
call fcn.18001ec9c
mov r14d, dword [rsp + 0xa8]
mov ebx, eax
mov dword [rsp + 0x80], eax
test r14d, r14d
je 0x18004b5d5
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r14d
lea edx, [r9 + 0x2d]
mov rcx, rsi
call fcn.18001eb5c
mov r13, qword [rsp + 0xb0]
mov r15d, eax
test r13, r13
je 0x18004b51d
inc dword [r13]
mov eax, dword [rbp + 0xc]
mov r8d, dword [rbp + 8]
lea r9d, [r14 + 1]
mov edx, 0x29
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18001eb5c
mov r9d, 0xfffffffa
mov r8, r13
mov edx, eax
mov rcx, rsi
mov ebx, eax
call fcn.18001f128
lea r8d, [rbx + 2]
mov ebx, dword [rsp + 0x80]
mov r9d, ebx
mov edx, 0x2a
mov rcx, rsi
mov dword [rsp + 0x20], r8d
call fcn.18001eb5c
mov r11d, dword [rsi + 0x3c]
cmp r11d, r15d
jbe 0x18004b584
mov rax, qword [rsi + 8]
lea rcx, [r15 + r15*2]
mov dword [rax + rcx*8 + 8], r11d
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea r9d, [r14 + 1]
dec ecx
mov edx, 0x21
mov dword [rax + 0x64], ecx
mov eax, dword [rbp + 0xc]
mov r8d, dword [rbp + 8]
dec eax
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18001eb5c
and dword [rsp + 0x20], 0
mov r9d, r14d
mov r14d, 1
mov rcx, rsi
lea edx, [r14 + 0x18]
mov r8d, r14d
call fcn.18001eb5c
mov r15, qword [rsp + 0x88]
jmp 0x18004b5db
mov r14d, 1
mov rax, qword [rdi]
cmp byte [rax + 0x50], 0
je 0x18004b5eb
xor eax, eax
jmp 0x18004b858
mov edx, dword [r15 + 0x10]
mov r8d, ebx
mov rcx, rsi
call fcn.180048b2c
movzx r11d, byte [r12]
sub r11d, 0xa
je 0x18004b7fb
sub r11d, r14d
je 0x18004b768
sub r11d, r14d
je 0x18004b6aa
sub r11d, r14d
je 0x18004b657
cmp r11d, r14d
je 0x18004b6aa
mov r9d, dword [rbp + 0xc]
mov r8d, dword [rbp + 8]
and dword [rsp + 0x20], 0
mov edx, 0x23
mov rcx, rsi
call fcn.18001eb5c
mov r8d, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
mov rcx, rdi
call fcn.18002f6fc
jmp 0x18004b80e
cmp dword [r12 + 8], 0
jne 0x18004b677
mov edx, dword [rbp + 0xc]
mov rcx, rdi
call fcn.180031948
mov dword [r12 + 8], eax
mov eax, dword [rbp + 0xc]
mov dword [r12 + 0xc], eax
mov r9d, dword [r12 + 0xc]
mov r8d, dword [r12 + 8]
mov edx, dword [rbp + 8]
mov rcx, rdi
call fcn.18002f9a4
mov r8d, dword [r12 + 4]
and dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 + 0x16]
call fcn.18001eb5c
jmp 0x18004b80e
mov al, byte [rdi + 0x1f]
test al, al
jne 0x18004b6bb
add dword [rdi + 0x54], r14d
mov r13d, dword [rdi + 0x54]
jmp 0x18004b6c9
sub al, r14b
movzx eax, al
mov byte [rdi + 0x1f], al
mov r13d, dword [rdi + rax*4 + 0x24]
mov al, byte [rdi + 0x1f]
test al, al
jne 0x18004b6d9
add dword [rdi + 0x54], r14d
mov ebx, dword [rdi + 0x54]
jmp 0x18004b6e6
sub al, r14b
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0x24]
mov r9d, dword [rbp + 0xc]
mov r8d, dword [rbp + 8]
mov edx, 0x30
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.18001eb5c
mov r8d, dword [r12 + 4]
and dword [rsp + 0x20], 0
mov r9d, ebx
mov edx, 0x46
mov rcx, rsi
call fcn.18001eb5c
mov r8d, dword [r12 + 4]
mov r9d, r13d
mov edx, 0x49
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.18001eb5c
mov r11, qword [rsi + 8]
test r11, r11
je 0x18004b74a
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 8
mov edx, ebx
mov rcx, rdi
call fcn.180031910
mov edx, r13d
call fcn.180031910
mov ebx, dword [rsp + 0x80]
jmp 0x18004b80e
mov rax, qword [r15]
mov dl, byte [r12 + 1]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call fcn.18002cffc
mov byte [r12 + 1], al
mov al, byte [rdi + 0x1f]
test al, al
jne 0x18004b792
add dword [rdi + 0x54], r14d
mov r13d, dword [rdi + 0x54]
jmp 0x18004b7a0
sub al, r14b
movzx eax, al
mov byte [rdi + 0x1f], al
mov r13d, dword [rdi + rax*4 + 0x24]
mov r8d, dword [rbp + 8]
mov r9d, r14d
mov edx, 0x30
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.18001eb5c
lea r8, [r12 + 1]
mov r9d, r14d
mov edx, eax
mov rcx, rsi
call fcn.18001f128
mov edx, dword [rbp + 8]
mov r8d, r14d
mov rcx, rdi
call fcn.18002f6fc
mov r8d, dword [r12 + 4]
and dword [rsp + 0x20], 0
mov r9d, r13d
mov edx, 0x6c
mov rcx, rsi
call fcn.18001eb5c
mov rcx, rdi
jmp 0x18004b754
mov r8d, dword [r12 + 4]
mov edx, dword [rbp + 8]
mov r9d, r14d
mov rcx, rdi
call fcn.18002f9a4
mov r8d, dword [r15 + 0xc]
test r8d, r8d
je 0x18004b831
mov r9d, dword [rsp + 0xb8]
or dword [rsp + 0x20], 0xffffffff
mov edx, 0x89
mov rcx, rsi
call fcn.18001eb5c
mov edx, ebx
mov rcx, rsi
call fcn.18001ecf8
mov r8d, dword [rsp + 0xa0]
and dword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 0x12]
call fcn.18001eb5c
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret