Function at 0x140074c70
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r12, rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x40], r14
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.Desired_Item_History
call fcn.14005dbd0
test al, al
je 0x140074ceb
mov byte [r12], 1
jmp 0x140074cf1
cmp byte [r12], r14b
je 0x140074d63
mov rdi, qword [0x1400a1eb0]
mov rax, qword [rdi + 0x3fd8]
movsxd r8, dword [rax + 0x120]
mov rax, qword [rax + 0x128]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.Prev._Desired_Items
call fcn.1400235b0
mov ebx, eax
cmp dword [rdi + 0x4020], eax
jne 0x140074d3d
lea r8, str.Prev._Desired_Items
mov edx, 0xb
mov ecx, eax
call fcn.140048e70
test byte [rdi + 0x5e44], 4
je 0x140074d5c
mov r8d, ebx
lea rdx, str.Prev._Desired_Items
lea rcx, str._popup__OpenPopup___s_____0x_08X_n
call fcn.140048aa0
mov ecx, ebx
call fcn.140036cd0
mov rax, qword [0x1400a1eb0]
or dword [rax + 0x48b0], 2
mov dword [rax + 0x48d4], 0x43960000
mov dword [rax + 0x48d8], 0x43480000
mov esi, 1
mov dword [rax + 0x48b8], esi
lea r8d, [rsi + 1]
mov rdx, r12
lea rcx, str.Prev._Desired_Items
call fcn.140037470
test al, al
je 0x140075700
mov rax, qword [0x1400a1eb0]
mov rdx, qword [rax + 0x3fd8]
movss xmm1, dword [rdx + 0x284]
subss xmm1, dword [rdx + 0x134]
movss xmm0, dword [rdx + 0x280]
cmp qword [rdx + 0x1d8], r14
jne 0x140074de3
cmp qword [rax + 0x4c90], r14
je 0x140074deb
movss xmm0, dword [rdx + 0x250]
subss xmm0, dword [rdx + 0x130]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
lea rdx, [rsp + 0x40]
lea rcx, str.Desired_Items
call fcn.14006a760
test al, al
je 0x1400756b4
lea rdi, [0x140090845]
lea r13, str.Use
movsd xmm9, qword [0x1400920f0]
movsd xmm10, qword [0x1400920f8]
movss xmm7, dword [0x1400921b0]
movss xmm6, dword [0x140092214]
movss xmm8, dword [0x140092190]
mov r8d, esi
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.140074560
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140074e6b
mov rax, qword [rax]
mov rdx, rax
call fcn.1400743d0
movzx ebx, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140074eb1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074eac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140075288
call fcn.1400829f0
test bl, bl
je 0x140075278
mov r8d, esi
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.140074560
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140074ed4
mov rax, qword [rax]
lea r8, [rbp - 0x20]
mov rdx, rax
mov rcx, qword [0x1400a1ec0]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
test eax, eax
jne 0x140074f8a
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
xor edx, edx
call qword [rax + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movaps xmm1, xmmword [0x140092390]
movups xmmword [rbp - 0x18], xmm1
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x44], 0x3f800000
mov qword [rbp - 0x58], 0
mov eax, dword [rbp - 0x24]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm9
cvtpd2ps xmm2, xmm0
mov eax, dword [rbp - 0x28]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
movss dword [rbp - 0x50], xmm0
movss dword [rbp - 0x4c], xmm2
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.14005f230
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140074fc6
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074fc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007528f
call fcn.1400829f0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rax, qword [0x1400a1eb0]
mov rcx, qword [rax + 0x3fd8]
movss xmm0, dword [rcx + 0x50]
subss xmm0, xmm7
movaps xmm1, xmm6
call fcn.140035b80
mov edx, esi
lea rcx, str.Desired_Item__d
call fcn.14005d1e0
mov rax, qword [0x1400a1eb0]
mov rcx, qword [rax + 0x3fd8]
movss xmm0, dword [rcx + 0x50]
subss xmm0, xmm8
movaps xmm1, xmm6
call fcn.140035b80
lea r9, [rbp - 3]
mov r8d, esi
test esi, esi
jns 0x140075080
neg r8d
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140075040
dec r9
mov byte [r9], 0x2d
jmp 0x1400750aa
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140075080
lea r8, [rbp - 3]
mov rdx, r9
lea rcx, [rbp - 0x78]
call fcn.140015530
or r14d, 3
mov r8, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
sub rax, r8
cmp rax, 5
jb 0x14007514f
lea rax, [r8 + 5]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x78]
cmp rdi, rbx
jbe 0x140075107
lea rax, [rbx + r8]
cmp r13, rax
ja 0x140075107
cmp rbx, r13
ja 0x1400750ff
mov rdi, r15
jmp 0x14007510c
mov rdi, rbx
sub rdi, r13
jmp 0x14007510c
mov edi, 5
inc r8
lea rcx, [rbx + 5]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 5
sub r8, rdi
lea rdx, [r13 + 5]
add rdx, rdi
lea rcx, [rbx + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x78]
lea rdi, [0x140090845]
jmp 0x14007516b
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
mov edx, 5
lea rcx, [rbp - 0x78]
call fcn.140016a10
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 4
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400751d7
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400751d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140075296
call fcn.1400829f0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov dword [rbp - 0x48], 0x42200000
mov dword [rbp - 0x44], 0x41f00000
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rcx, qword [rbp + 8]
xor r8d, r8d
lea rdx, [rbp - 0x48]
call fcn.14005dbd0
test al, al
jne 0x1400752a4
mov rax, qword [0x1400a1eb0]
mov rax, qword [rax + 0x3fd8]
cmp byte [rax + 0xe8], 0
jne 0x140075241
mov eax, dword [rax + 0x1e4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.14005fec0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x140075278
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140075273
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007529d
call fcn.1400829f0
inc esi
cmp esi, 6
jne 0x140074e51
jmp 0x1400756aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rbx, [r12 + 8]
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 4
jb 0x14007574c
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400752d4
mov r9, qword [rbx]
mov qword [rsp + 0x30], 4
lea rax, str.TEMP
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x18]
call fcn.140015050
or r14d, 8
lea r15, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova r15, qword [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140092290]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], 0
or r14d, 0x10
mov dword [rsp + 0x40], r14d
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 0xf
jb 0x140075752
cmp qword [rbx + 0x18], 0xf
jbe 0x14007534b
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0xf
lea r13, str.DesiredItem.png
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rsp + 0x68]
call fcn.140015050
bts r14d, 0xa
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400118e0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400753c5
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400753c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400753c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
and r14d, 0xffffffef
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140075424
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007541e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007541e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140092290]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], 0
bts r14d, 0xb
mov dword [rsp + 0x40], r14d
lea r9, [r12 + 8]
mov rax, qword [r9 + 0x10]
sub rdi, rax
cmp rdi, 0xf
jb 0x140075746
cmp qword [r9 + 0x18], 0xf
jbe 0x140075469
mov r9, qword [r9]
mov qword [rsp + 0x30], 0xf
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.140015050
bts r14d, 0x11
mov dword [rsp + 0x40], r14d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400118e0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400754db
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400754d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400754d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rbx, qword [rsp + 0x48]
mov r8d, esi
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.140074560
cmp qword [rax + 0x18], 0xf
jbe 0x140075506
mov rax, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140075551
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007554c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007554c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
movdqa xmm0, xmmword [0x140092290]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400755a4
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007559f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007559f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
mov r8d, esi
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.140074560
cmp qword [rax + 0x18], 0xf
jbe 0x1400755bd
mov rax, qword [rax]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rcx, qword [rbp - 0x18]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140075612
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007560d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007560d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
mov byte [r12], 0
call fcn.1400371d0
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14007565b
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140075656
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140075656
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
movdqa xmm0, xmmword [0x140092290]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1400756aa
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400756a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400756a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400829f0
call fcn.14002c0e0
call fcn.140036010
mov rbx, qword [0x1400a1eb0]
mov rax, qword [rbx + 0x3fd8]
cmp qword [rbx + 0x4a28], rax
jne 0x1400756e4
cmp byte [rbx + 0x4a85], 0
je 0x1400756e4
cmp dword [rbx + 0x4a64], 0
jne 0x1400756e4
or dword [rbx + 0x4a88], 2
test dword [rax + 0xc], 0x1000000
je 0x1400756f4
mov byte [rbx + 0x3f6a], 1
call fcn.1400321e0
mov byte [rbx + 0x3f6a], 0
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1400829d0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002940
nop
call fcn.140002940
nop
call fcn.140002940
int3