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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x258
lea r13, [rdx + 0x528]
mov rsi, rcx
movsxd rdi, dword [r13 + 0x3c]
xor r12d, r12d
add rdi, r13
mov qword [rsp + 0x2b8], r12
xor ecx, ecx
mov qword [rsp + 0x2a0], rdi
mov r15, rdx
mov qword [rsp + 0x30], r13
call qword [rsi + 0x40]
mov qword [rsp + 0x2b0], rax
movsxd r8, dword [rax + 0x3c]
movzx r9d, word [r8 + rax + 4]
cmp word [rdi + 4], r9w
jne 0x180005440
mov edx, dword [rdi + 0x50]
lea r9d, [r12 + 0x40]
mov eax, 0x1000
xor ecx, ecx
add edx, eax
mov r8d, 0x3000
call qword [rsi + 0x48]
mov rbx, rax
test rax, rax
je 0x180005440
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.180005f4b
movzx ebp, word [rdi + 0x14]
mov r14d, r12d
add rbp, rdi
cmp r12w, word [rdi + 6]
jae 0x1800050a8
mov eax, r14d
lea r8, [rax + rax*4]
mov edx, dword [rbp + r8*8 + 0x2c]
mov ecx, dword [rbp + r8*8 + 0x24]
add rdx, r13
mov r8d, dword [rbp + r8*8 + 0x28]
add rcx, rbx
call fcn.180005f4b
movzx eax, word [rdi + 6]
inc r14d
cmp r14d, eax
jb 0x18000507b
mov eax, dword [rdi + 0xb0]
test eax, eax
je 0x180005128
mov r14, rbx
lea r9, [rbx + rax]
sub r14, qword [rdi + 0x30]
cmp dword [r9], r12d
je 0x180005128
mov ebp, 0x1000
lea r10, [r9 + 8]
jmp 0x180005114
movzx eax, word [r10]
mov ecx, 0xf000
movzx r11d, ax
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x180005106
mov r8d, dword [r9]
and r11d, 0xfff
lea rax, [r11 + r8]
mov rdx, qword [rax + rbx]
lea rax, [r11 + r8]
add rdx, r14
mov qword [rax + rbx], rdx
jmp 0x180005110
cmp r11w, bp
jae 0x180005432
add r10, 2
mov eax, dword [r9 + 4]
add rax, r9
cmp r10, rax
jne 0x1800050cd
mov r9, r10
cmp dword [r10], r12d
jne 0x1800050c7
mov eax, dword [rdi + 0x90]
test eax, eax
je 0x1800051ce
lea rbp, [rbx + rax]
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x1800051ce
mov ecx, eax
add rcx, rbx
call qword [rsi + 0x30]
mov r14d, dword [rbp]
mov rdi, rax
mov r13d, dword [rbp + 0x10]
add r14, rbx
add r13, rbx
jmp 0x1800051ac
jns 0x18000516d
movzx edx, cx
mov rcx, rdi
call qword [rsi + 0x38]
jmp 0x1800051a0
cmp dword [r15 + 4], 0
lea r12, [rcx + rbx]
je 0x180005192
lea rdx, [r12 + 2]
mov rcx, rsi
call fcn.18000444f
test eax, eax
je 0x180005192
mov rax, qword [rsi + 0x180]
jmp 0x18000519d
lea rdx, [r12 + 2]
mov rcx, rdi
call qword [rsi + 0x38]
xor r12d, r12d
add r14, 8
mov qword [r13], rax
add r13, 8
mov rcx, qword [r14]
test rcx, rcx
jne 0x180005160
mov eax, dword [rbp + 0x20]
add rbp, 0x14
test eax, eax
jne 0x180005145
mov rdi, qword [rsp + 0x2a0]
lea r13, [r15 + 0x528]
mov eax, dword [rdi + 0xf0]
test eax, eax
je 0x18000524a
lea r14, [rbx + 4]
add r14, rax
mov eax, dword [r14]
test eax, eax
je 0x18000524a
mov ecx, eax
add rcx, rbx
call qword [rsi + 0x30]
mov r12, rax
test rax, rax
je 0x180005234
mov r15d, dword [r14 + 0xc]
mov ebp, dword [r14 + 8]
add r15, rbx
add rbp, rbx
jmp 0x18000522c
mov rax, qword [rsi + 0x38]
test rcx, rcx
jns 0x180005214
movzx edx, cx
jmp 0x18000521b
lea rdx, [rbx + 2]
add rdx, rcx
mov rcx, r12
call rax
add r15, 8
mov qword [rbp], rax
add rbp, 8
mov rcx, qword [r15]
test rcx, rcx
jne 0x180005206
add r14, 0x20
xor r12d, r12d
mov eax, dword [r14]
test eax, eax
jne 0x1800051e6
mov r15, qword [rsp + 0x2a8]
mov eax, dword [rdi + 0xd0]
test eax, eax
je 0x180005278
mov r14, qword [rax + rbx + 0x18]
test r14, r14
je 0x180005278
jmp 0x180005270
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call rax
lea r14, [r14 + 8]
mov rax, qword [r14]
test rax, rax
jne 0x180005260
mov ebp, dword [rdi + 0x28]
add rbp, rbx
cmp dword [r15], 3
jne 0x18000539e
mov rcx, qword [rsp + 0x2b0]
xor r8d, r8d
lea edx, [r8 + 1]
call rbp
lea rdx, [r15 + 0x30c]
mov qword [rsp + 0x2a0], rdx
cmp byte [rdx], r12b
je 0x180005432
mov eax, dword [rdi + 0x88]
test eax, eax
je 0x180005432
add rax, rbx
mov ebp, dword [rax + 0x18]
test ebp, ebp
je 0x180005432
mov r14d, dword [rax + 0x1c]
mov r12d, dword [rax + 0x20]
add r14, rbx
mov r15d, dword [rax + 0x24]
add r12, rbx
add r15, rbx
dec ebp
mov ecx, dword [r12 + rbp*4]
add rcx, rbx
call fcn.180005f87
test eax, eax
je 0x180005302
test ebp, ebp
je 0x180005310
mov rdx, qword [rsp + 0x2a0]
jmp 0x1800052e2
movzx eax, word [r15 + rbp*2]
mov r14d, dword [r14 + rax*4]
add r14, rbx
jmp 0x180005318
mov r14, qword [rsp + 0x2b8]
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, rbx
call fcn.180005f6b
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.180005f6b
test r14, r14
je 0x180005432
mov rbp, qword [rsp + 0x2a8]
lea rdi, [rbp + 0x40c]
cmp byte [rdi], 0
je 0x180005396
mov eax, dword [rbp + 0x50c]
test eax, eax
je 0x180005383
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x100
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x70]
mov eax, dword [rbp + 0x50c]
test eax, eax
lea rcx, [rsp + 0x40]
cmove rcx, rdi
call r14
jmp 0x180005432
call r14
jmp 0x180005432
lea r8, [r15 + 0x40c]
cmp byte [r8], r12b
je 0x1800053d4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x100
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x70]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180005753
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, rbx
call fcn.180005f6b
mov r8d, dword [rdi + 0x54]
xor edx, edx
mov rcx, r13
call fcn.180005f6b
cmp dword [r15 + 4], r12d
je 0x180005423
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rbp
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [rsi + 0x88]
test rax, rax
je 0x180005432
or edx, 0xffffffff
mov rcx, rax
call qword [rsi + 0x80]
jmp 0x180005432
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
call rbp
xor edx, edx
mov r8d, 0xc000
mov rcx, rbx
call qword [rsi + 0x50]
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret