Function at 0x417970
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, 0xa8
mov edx, 0x221a10e4
mov r13, rcx
lea rcx, [0x00422900]
call fcn.00413530
mov edx, 0x5932c00c
mov rcx, rax
call fcn.004154e0
mov rcx, rax
call fcn.0040cd00
mov rcx, rax
call qword [r13 + 0x10]
mov r9d, 0x18
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x80], 0
lea r8, [rsp + 0x80]
mov rdx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
call qword [r13 + 0x18]
lea rcx, [0x004228c0]
mov edx, 0x130896ec
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x38], rdi
call fcn.00413530
mov edx, 0x76e452e4
mov rcx, rax
call fcn.004154e0
xor edx, edx
mov r8, 0xffffffffffffffff
mov rcx, rax
call fcn.004028b0
mov rcx, rax
call fcn.00402780
xor r9d, r9d
xor edx, edx
mov r8d, 0x1000002
cdqe
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], rax
mov rcx, rax
mov qword [rsp + 0x28], 0
call qword [r13 + 0x20]
test rax, rax
mov qword [rsp + 0x58], rax
je 0x417c98
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov qword [rsp + 0x20], 0
mov rcx, rax
call qword [r13 + 0x28]
test rax, rax
mov qword [rsp + 0x40], rax
je 0x417c98
movsxd rsi, dword [rdi + 0x3c]
add rsi, rdi
cmp word [rsi + 6], 0
je 0x417cb6
lea r12, [rsi + 0x18]
xor ebx, ebx
mov qword [rsp + 0xf0], r13
lea rdi, [0x004a6f40]
lea r15, [rsp + 0x78]
lea r14, [0x004a6bd0]
jmp 0x417bc5
movzx eax, word [rdi + 0x10]
lea rbp, [rsp + 0x70]
mov r9d, 0x40
mov r8, r15
mov rdx, rbp
mov rcx, 0xffffffffffffffff
mov word [0x004a6f60], ax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.00417910
test eax, eax
jne 0x417c98
call fcn.004175c0
mov rdx, r14
mov rcx, rax
call fcn.00417830
test al, al
je 0x417c98
movzx eax, word [r14 + 0x10]
movsxd rdx, dword [r13 + 0xc]
mov rcx, qword [rsp + 0x40]
mov word [0x004a6f60], ax
call fcn.0040e880
mov r9, qword [rsp + 0x78]
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x70]
mov r8, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.00417930
test eax, eax
jne 0x417c98
call fcn.004175c0
mov rdx, rdi
mov rcx, rax
call fcn.00417830
test al, al
je 0x417c98
movzx eax, word [rdi + 0x10]
mov r8, r15
mov rdx, rbp
mov rcx, 0xffffffffffffffff
mov r9d, dword [rsp + 0x60]
mov word [0x004a6f60], ax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
call fcn.00417910
test eax, eax
jne 0x417c98
add ebx, 1
cmp word [rsi + 6], bx
jbe 0x417cae
movzx r10d, word [rsi + 0x14]
lea eax, [rbx + rbx*4]
mov ecx, 8
shl eax, 3
movzx eax, ax
add r10, r12
lea r13, [r10 + rax]
call fcn.0040a270
movzx edx, byte [r13]
lea rcx, [0x004228a0]
mov rbp, rax
mov byte [rax + 0x10], dl
movzx edx, byte [r13 + 1]
mov byte [rax + 0x11], dl
movzx edx, byte [r13 + 2]
mov byte [rax + 0x12], dl
movzx edx, byte [r13 + 3]
mov byte [rax + 0x13], dl
movzx edx, byte [r13 + 4]
mov byte [rax + 0x14], dl
movzx edx, byte [r13 + 5]
mov byte [rax + 0x15], dl
movzx edx, byte [r13 + 6]
mov byte [rax + 0x16], dl
movzx edx, byte [r13 + 7]
mov byte [rax + 0x17], dl
mov edx, 0x62859584
call fcn.00413530
mov rcx, rbp
mov rdx, rax
call fcn.0040c960
test al, al
je 0x417bb8
movsxd rdx, dword [r13 + 0xc]
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x68], 0
call fcn.0040e880
mov qword [rsp + 0x70], rax
movsxd rax, dword [r13 + 8]
mov qword [rsp + 0x78], rax
call fcn.004175c0
mov rdx, rdi
mov rcx, rax
call fcn.00417830
test al, al
jne 0x417ad5
xor eax, eax
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r13, qword [rsp + 0xf0]
mov rcx, 0xffffffffffffffff
call fcn.00417950
mov rcx, qword [rsp + 0x48]
call fcn.00417950
mov rcx, qword [rsp + 0x58]
call fcn.00417950
mov rcx, qword [rsp + 0x50]
call qword [r13 + 0x30]
mov eax, 1
jmp 0x417c9a