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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1800d73f8]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea ebx, [rcx - 9]
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x30], ebx
cmp ecx, ebx
movzx ebx, byte [rsp + 0x34]
mov r15, rdx
mov r13d, ecx
mov dword [rsp + 0x48], 0
jbe case.0x1800583c7.2
mov edx, dword [rsp + 0x40]
lea r12d, [rcx - 0x29]
mov r9d, dword [rsp + 0x40]
lea r10, [0x180000000]
mov eax, dword [rsp + 0x30]
lea r14, str.HRESULT_ID3DXKeyframedAnimationSet::GetCallbackKey_UINT_Key___u__LPD3DXKEY_CALLBACK_pCallbackKey__0x_08Ix___0x_I32x
mov dword [rsp + 0x38], edx
movabs r11, 0x7fffffffffffffff
mov dword [rsp + 0x3c], r9d
cmp r12d, 9
ja case.default.0x1800583c7
mov ecx, dword [r10 + r12*4 + 0x587b0]
add rcx, r10
jmp rcx
xor ebp, ebp
nop dword [rax + rax]
mov esi, 0x114
mov eax, esi
sub eax, 0x114
je 0x180058442
cmp eax, 1
jne 0x1800584d8
lea r8, [rsp + 0xd1]
mov r9, 0xfffffffffffffff8
sub r8, r15
lea rdx, [r15 + 8]
sub r9, r15
mov eax, 0x1b
cmp eax, 0x1b
je 0x180058420
cmp eax, 0x66
jne 0x180058426
movzx ecx, byte [rdx + 0x20]
mov byte [rdx], cl
movzx ecx, byte [rdx + r8 - 8]
mov byte [rdx + 0x20], cl
jmp 0x180058426
movzx ecx, byte [rdx]
mov byte [rdx + 0x40], cl
add eax, 0x4b
cmp eax, 0xb1
jb 0x180058405
inc rdx
lea rax, [r9 + rdx]
cmp rax, 0x20
jl 0x180058400
jmp 0x1800584d8
mov r8, qword [r15]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x20], 0x104
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x68], 0x21
mov dword [rsp + 0x40], 1
call fcn.1800808c0
test eax, eax
jne 0x1800584d8
mov edi, 0xe8
nop dword [rax + rax]
mov eax, edi
sub eax, 0xe8
je 0x1800584a5
cmp eax, 1
jne 0x1800584ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov rcx, rax
lea r8, [0x1800c0e21]
lea rdx, str.DVSSummary
call fcn.1800aa5d0
inc edi
cmp edi, 0xea
jb 0x180058490
inc esi
cmp esi, 0x116
jb 0x1800583d5
inc ebp
cmp ebp, 0x4e20
jl 0x1800583d0
jmp 0x18005874f
cmp qword [r15 + 0x18], 0x10
mov rax, r15
jb 0x180058506
mov rax, qword [r15]
mov edx, dword [rax]
mov dword [rsp + 0x38], edx
cmp rdx, qword [rsp + 0x58]
jb case.0x1800583c7.1
mov ecx, 0xd8
nop dword [rax]
mov eax, ecx
sub eax, 0xd8
je 0x18005855c
cmp eax, 0x66
jne 0x18005855e
movzx eax, bl
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1800aafa0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
add ecx, 0x66
cmp ecx, 0x1a4
jb 0x180058520
jmp case.0x1800583c7.1
mov qword [rsp + 0x60], 8
jmp case.0x1800583c7.1
mov rax, qword [r15 + 0x10]
mov rdi, qword [rsp + 0x60]
cmp rax, rdi
jb 0x180058790
sub rax, rdi
mov qword [rsp + 0x58], rax
jmp case.0x1800583c7.1
mov dword [r8 + 0x20], edx
mov dword [r8 + 0x24], r9d
jmp case.0x1800583c7.1
cmp qword [r15 + 0x18], 0x10
mov rax, r15
jb 0x1800585b5
mov rax, qword [r15]
mov r9d, dword [rax + 4]
mov dword [rsp + 0x3c], r9d
cmp r9, qword [rsp + 0x58]
jb case.0x1800583c7.1
mov ecx, 0xda
nop
mov eax, ecx
sub eax, 0xd9
je case.0x1800583c7.2
cmp eax, 1
jne 0x1800585e4
xor bl, bl
dec ecx
cmp ecx, 0xd8
ja 0x1800585d0
jmp case.0x1800583c7.1
mov rax, qword [r15 + 0x10]
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x88], 0xf
mov byte [rsp + 0x70], 0
cmp rax, rdi
jb 0x1800587a4
sub rax, rdi
mov rbp, 0xffffffffffffffff
cmp rax, rbp
cmovb rbp, rax
cmp qword [r15 + 0x18], 0x10
mov rax, r15
jb 0x180058634
mov rax, qword [r15]
lea r14, [rax + rdi]
cmp rbp, 0xf
ja 0x180058660
mov r8, rbp
mov qword [rsp + 0x80], rbp
mov rdx, r14
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbp + 0x70], 0
jmp 0x1800586f8
cmp rbp, r11
ja 0x18005879e
mov rsi, rbp
or rsi, 0xf
cmp rsi, r11
jbe 0x18005867a
mov rsi, r11
jmp 0x180058687
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1800586c0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800587aa
mov rcx, rax
call fcn.1800aa7b0
test rax, rax
je 0x180058797
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800586d1
test rcx, rcx
je 0x1800586cf
call fcn.1800aa7b0
mov rdi, rax
jmp 0x1800586d1
xor edi, edi
mov r8, rbp
mov qword [rsp + 0x80], rbp
mov rdx, r14
mov qword [rsp + 0x88], rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbp], 0
mov qword [rsp + 0x70], rdi
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
or dword [rsp + 0x48], 1
call fcn.180003360
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x180058748
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058743
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058797
call fcn.1800aa7ec
lea r14, str.HRESULT_ID3DXKeyframedAnimationSet::GetCallbackKey_UINT_Key___u__LPD3DXKEY_CALLBACK_pCallbackKey__0x_08Ix___0x_I32x
mov edx, dword [rsp + 0x38]
lea r10, [0x180000000]
mov r9d, dword [rsp + 0x3c]
movabs r11, 0x7fffffffffffffff
mov r8, qword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
dec r13d
dec r12d
cmp r13d, eax
ja 0x1800583b2
jmp case.0x1800583c7.2
mov bl, 1
jmp case.0x1800583c7.1
xor al, al
jmp 0x180058531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180055b00
int3
call fcn.180055b40
int3
call fcn.1800559c0
int3