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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rbx, qword [rcx + 0xf0]
mov rbp, rdx
mov edx, dword [rbx + 0x208]
mov rsi, rcx
mov rdi, r8
cmp qword [rbp + 8], 0
lea r15, [rbx + 0xb8]
mov r12, qword [rbx + 0xe8]
mov r13, qword [rbx + 0xf0]
mov dword [rsp + 0x48], edx
mov rdx, qword [rbx + 0x1d0]
mov r14, qword [rbx + 0xe0]
mov rax, qword [rbx + 0x150]
mov r10d, dword [rbx + 0x158]
mov qword [rsp + 0x50], rdx
mov edx, dword [rbx + 0x1d8]
mov r11, qword [rbx + 0x200]
mov dword [rsp + 0x60], edx
je 0x41f46c
sub qword [rbp + 0x28], r14
cmp qword [rbp + 0x10], 0
je 0x41f477
sub qword [rbp + 0x30], r14
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x41f487
sub rdx, r14
mov qword [rbp + 0x20], rdx
mov qword [rsp + 0x58], rax
lea rax, [r13 - 1]
mov rcx, r13
xor r8d, r8d
mov qword [rsp + 0x40], rax
add rax, qword [rbp + 0x18]
neg rcx
mov qword [rsp + 0x38], rcx
lea r9, [0x004d2eab]
mov qword [rsp + 0x68], r11
mov dword [rsp + 0x64], r10d
mov rdx, rax
and rdx, rcx
mov rcx, rsi
mov qword [rbp + 0x18], rdx
mov rdx, r15
mov dword [rbx + 0x13c], 0x10
mov qword [rsp + 0x20], r14
call fcn.0041cac0
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea r9, [0x004d2eb2]
mov r8d, 2
call fcn.0041cac0
mov rdx, r15
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea r9, [0x004d2eb8]
mov r8d, 3
call fcn.0041cac0
mov edx, dword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov r10d, dword [rsp + 0x64]
mov r11, qword [rsp + 0x68]
mov dword [rbx + 0x208], edx
mov rdx, qword [rsp + 0x50]
test rax, rax
mov qword [rbx + 0x150], rax
mov dword [rbx + 0x158], r10d
mov qword [rbx + 0x200], r11
mov qword [rbx + 0x1d0], rdx
mov edx, dword [rsp + 0x60]
mov dword [rbx + 0x1d8], edx
je 0x41f870
mov eax, dword [rbx + 0x244]
test eax, eax
jne 0x41f89b
mov rdx, qword [rsi + 0x88]
test rdx, rdx
je 0x41f8c8
mov r14d, r13d
xor r8d, r8d
sub r13d, 1
lea r15, [r12 - 1]
neg r12
neg r14d
xor ecx, ecx
xor r9d, r9d
xor r11d, r11d
mov qword [rsp + 0x48], r12
mov eax, dword [rdx + 0x38]
add eax, r13d
and eax, r14d
test r11, r11
jne 0x41f5b8
mov r11, qword [rdx + 0x90]
mov r10d, dword [rdx + 0x20]
cdqe
lea r12, [r9 + rax]
test r10b, 0x20
cmovne r9, r12
add rax, r8
and r10d, 0x10
cmovne r8, rax
mov rax, qword [rdx + 0xe0]
test rax, rax
je 0x41f60a
mov rax, qword [rax + 0x58]
test rax, rax
je 0x41f60a
mov rcx, qword [rsp + 0x40]
add rcx, qword [rax]
and rcx, qword [rsp + 0x38]
add rcx, r15
and rcx, qword [rsp + 0x48]
add rcx, qword [rdx + 0x28]
sub rcx, qword [rbx + 0xe0]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x41f5a3
mov rax, qword [rsi + 8]
mov qword [rbp + 0x10], r9
mov rdx, rdi
add rbx, 0x148
mov qword [rbp + 8], r8
mov dword [rbx - 0x3c], r11d
mov dword [rbx - 0x40], ecx
movsx rcx, word [rbp]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 2]
mov ecx, 0x1e02
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 4]
mov rcx, qword [rbp + 8]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 8]
mov rcx, qword [rbp + 0x10]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0xc]
mov rcx, qword [rbp + 0x18]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x10]
mov rcx, qword [rbp + 0x20]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x14]
mov rcx, qword [rbp + 0x28]
lea rbp, [rdi + 0x70]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x18]
mov rcx, qword [rbx - 0x68]
call qword [rax + 0x78]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x20]
mov rcx, qword [rbx - 0x60]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x24]
mov rcx, qword [rbx - 0x58]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x28]
movsx rcx, word [rbx - 0x50]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x2a]
movsx rcx, word [rbx - 0x4e]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x2c]
movsx rcx, word [rbx - 0x4c]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x2e]
movsx rcx, word [rbx - 0x4a]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x30]
movsx rcx, word [rbx - 0x48]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x32]
movsx rcx, word [rbx - 0x46]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x34]
movsxd rcx, dword [rbx - 0x44]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x38]
movsxd rcx, dword [rbx - 0x40]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x3c]
movsxd rcx, dword [rbx - 0x3c]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x40]
movsxd rcx, dword [rbx - 0x38]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x44]
movsx rcx, word [rbx - 0x34]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x46]
movzx ecx, word [rbx - 0x32]
call qword [rax + 0xa8]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x48]
mov rcx, qword [rbx - 0x30]
call qword [rax + 0x78]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x50]
mov rcx, qword [rbx - 0x28]
call qword [rax + 0x78]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x58]
mov rcx, qword [rbx - 0x20]
call qword [rax + 0x78]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x60]
mov rcx, qword [rbx - 0x18]
call qword [rax + 0x78]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x68]
movsxd rcx, dword [rbx - 0x10]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rdi + 0x6c]
add rdi, 0xf0
movsxd rcx, dword [rbx - 0xc]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
mov rdx, rbp
add rbx, 0x10
mov rcx, qword [rbx - 0x18]
call qword [rax + 0x90]
mov rax, qword [rsi + 8]
lea rdx, [rbp + 4]
add rbp, 8
movsxd rcx, dword [rbx - 0x10]
call qword [rax + 0x90]
cmp rdi, rbp
jne 0x41f825
mov eax, 0xf0
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], r14
lea r9, [0x004d2ebf]
mov rdx, r15
mov rcx, rsi
mov r8d, 1
call fcn.0041cac0
mov eax, dword [rbx + 0x244]
test eax, eax
je 0x41f571
mov rdx, r15
mov qword [rsp + 0x20], r14
mov r8d, 5
mov rcx, rsi
lea r9, [0x004d2ec6]
call fcn.0041cac0
mov rdx, qword [rsi + 0x88]
test rdx, rdx
jne 0x41f581
xor ecx, ecx
xor r11d, r11d
xor r8d, r8d
xor r9d, r9d
jmp 0x41f613