Function at 0x140067720
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rbx, qword [0x140128908]
lea rcx, str.d3d9.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, 4
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, dword [rsi + rdi]
cmp dword [0x140129090], eax
jle 0x1400677de
lea rcx, [0x140129090]
call fcn.14006cdc8
cmp dword [0x140129090], 0xffffffff
jne 0x1400677de
mov eax, dword [rsi + rdi]
cmp dword [0x140129068], eax
jle 0x1400677c4
lea rcx, [0x140129068]
call fcn.14006cdc8
cmp dword [0x140129068], 0xffffffff
jne 0x1400677c4
lea rcx, str.d3d9.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.Direct3DCreate9Ex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140129078], rax
lea rcx, [0x140129068]
call fcn.14006cd5c
mov rax, qword [0x140129078]
mov qword [0x140129040], rax
lea rcx, [0x140129090]
call fcn.14006cd5c
mov rax, qword [0x140129040]
test rax, rax
je 0x140067ef8
lea rdx, [0x140128940]
mov ecx, 0x20
call rax
test eax, eax
js 0x140067f0b
xor esi, esi
mov qword [rsp + 0x4c], rsi
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x74], rsi
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x48], 0x15
mov eax, dword [0x140128ebc]
mov dword [rsp + 0x40], eax
mov eax, dword [0x140128eb8]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x7c], 0x80000000
mov rcx, qword [0x140128940]
mov rax, qword [rcx]
lea rdx, [0x1401289c8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rbx
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
js 0x140067ee0
xor edx, edx
lea rcx, [0x1400bc248]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400678e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400678e4
lea rdx, str.Error:_Unable_to_create_directory_png
lea rcx, [0x140126f90]
call fcn.1400598b0
mov rcx, rax
call fcn.140059b60
jmp 0x1400679de
mov r8d, 0x1aa7
lea rdx, [0x1400fe790]
lea rcx, str.pngicon.png
call fcn.14005bb70
mov r8d, 0x1663
lea rdx, [0x1400d2de0]
lea rcx, str.pngDirtbike.png
call fcn.14005bb70
mov r8d, 0x12a8
lea rdx, [0x1400f8940]
lea rcx, str.pngLaika.png
call fcn.14005bb70
mov r8d, 0x1182
lea rdx, [0x1400d4450]
lea rcx, str.pngPickup.png
call fcn.14005bb70
mov r8d, 0x145d
lea rdx, [0x1400d0d50]
lea rcx, str.pngATV.png
call fcn.14005bb70
mov r8d, 0x1399
lea rdx, [0x1400f9bf0]
lea rcx, str.pngSUV.png
call fcn.14005bb70
mov r8d, 0x1560
lea rdx, [0x1400d55e0]
lea rcx, str.pngBackpack.png
call fcn.14005bb70
mov r8d, 0xbe7
lea rdx, [0x1400d21f0]
lea rcx, str.pngBoat.png
call fcn.14005bb70
mov r8d, 0x10c1
lea rdx, [0x140124b60]
lea rcx, str.png_box.png
call fcn.14005bb70
mov r8d, 0xce3
lea rdx, [0x140123a40]
lea rcx, str.pngKinglet.png
call fcn.14005bb70
lea r8, [0x1401288d8]
lea rdx, str.pngicon.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x140128978]
lea rdx, str.pngDirtbike.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x140128948]
lea rdx, str.pngLaika.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x140128960]
lea rdx, str.pngPickup.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x1401288f8]
lea rdx, str.pngATV.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x140128900]
lea rdx, str.pngSUV.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x1401289d0]
lea rdx, str.pngBackpack.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x1401288e8]
lea rdx, str.pngBoat.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x1401289d8]
lea rdx, str.png_box.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
lea r8, [0x1401289c0]
lea rdx, str.pngKinglet.png
mov rcx, qword [0x1401289c8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileA]
mov rdi, qword [0x140128850]
mov ecx, 0x5620
call fcn.140080120
mov r9, rax
mov r8, qword [0x140128850]
test r8, r8
je 0x140067b6b
mov r10d, dword [r8 + 0x3ff8]
movsx rax, word [r8 + 0x5490]
lea rdx, [r8 + 0x5494]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140067b60
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5490], cx
movsx rax, cx
lea rdx, [r8 + 0x5494]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r8 + 0x5488]
mov qword [rsp + 0xa8], r9
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r9
test r9, r9
je 0x140067b9c
xor edx, edx
mov rcx, r9
call fcn.140005a40
jmp 0x140067b9f
mov rax, rsi
mov qword [0x140128850], rax
call fcn.140006a70
test rdi, rdi
je 0x140067bb7
mov qword [0x140128850], rdi
mov rcx, rbx
call fcn.140033a30
mov rdi, qword [0x1401289c8]
mov rbx, qword [0x140128850]
mov ecx, 0x28
call fcn.140080120
mov r8, rax
mov r9, qword [0x140128850]
test r9, r9
je 0x140067c46
mov r10d, dword [r9 + 0x3ff8]
movsx r11, word [r9 + 0x5490]
lea rdx, [r9 + 0x5494]
lea rdx, [rdx + r11*8]
cmp dword [rdx], r10d
je 0x140067c3b
lea ecx, [r11 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r9 + 0x5490], cx
movsx rax, cx
lea rdx, [r9 + 0x5494]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r9 + 0x5488]
test r8, r8
je 0x140067c6c
mov qword [r8], rsi
mov qword [r8 + 8], rsi
mov qword [r8 + 0x10], rsi
mov qword [r8 + 0x18], rsi
mov dword [r8 + 0x20], 0x1388
mov dword [r8 + 0x24], 0x2710
jmp 0x140067c6f
mov r8, rsi
mov qword [rbx + 0xa8], r8
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0x98], rax
or dword [rbx + 0xc], 8
mov qword [r8], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
xor ecx, ecx
call fcn.140029040
mov rax, qword [0x140128850]
mov dword [rax + 0x3940], 0x41200000
mov dword [rax + 0x3944], 0x41200000
mov dword [rax + 0x3948], 0x41400000
mov dword [rax + 0x3974], 0x40c00000
mov dword [rax + 0x3978], 0x40c00000
mov dword [rax + 0x3984], 0x41200000
mov dword [rax + 0x3988], 0x41000000
mov dword [rax + 0x398c], 0x41000000
mov dword [rax + 0x3990], 0x40c00000
mov dword [rax + 0x39a4], 0x41b00000
mov dword [rax + 0x39ac], 0x41400000
mov dword [rax + 0x39b0], 0x41400000
mov dword [rax + 0x39b4], 0x41000000
mov dword [rax + 0x39b8], 0x41400000
movdqa xmm0, xmmword [0x1400bcba0]
movups xmmword [rax + 0x3a28], xmm0
movdqa xmm4, xmmword [0x1400bcaa0]
movups xmmword [rax + 0x3a38], xmm4
movdqa xmm5, xmmword [0x1400bca30]
movups xmmword [rax + 0x3a48], xmm5
movdqa xmm2, xmmword [0x1400bca40]
movups xmmword [rax + 0x3a58], xmm2
movups xmmword [rax + 0x3a68], xmm2
movdqa xmm0, xmmword [0x1400bc950]
movups xmmword [rax + 0x3a78], xmm0
movdqa xmm1, xmmword [0x1400bc5b0]
movups xmmword [rax + 0x3a88], xmm1
movdqa xmm3, xmmword [0x1400bca50]
movups xmmword [rax + 0x3a98], xmm3
movups xmmword [rax + 0x3aa8], xmm4
movdqa xmm1, xmmword [0x1400bcb40]
movups xmmword [rax + 0x3ab8], xmm1
movups xmmword [rax + 0x3ac8], xmm3
movdqa xmm0, xmmword [0x1400bc8a0]
movups xmmword [rax + 0x3ae8], xmm0
movups xmmword [rax + 0x3ad8], xmm2
movups xmmword [rax + 0x3af8], xmm3
movups xmmword [rax + 0x3b08], xmm3
movdqa xmm0, xmmword [0x1400bc6e0]
movups xmmword [rax + 0x3b18], xmm0
movups xmmword [rax + 0x3b28], xmm1
movups xmmword [rax + 0x3b38], xmm5
movups xmmword [rax + 0x3b48], xmm0
movups xmmword [rax + 0x3b58], xmm0
movups xmmword [rax + 0x3b68], xmm5
movups xmmword [rax + 0x3b78], xmm3
movups xmmword [rax + 0x3b88], xmm4
movups xmmword [rax + 0x3b98], xmm1
movups xmmword [rax + 0x3ba8], xmm3
movups xmmword [rax + 0x3bb8], xmm1
movups xmmword [rax + 0x3bc8], xmm5
movups xmmword [rax + 0x3ce8], xmm1
movups xmmword [rax + 0x3cf8], xmm4
movups xmmword [rax + 0x3d08], xmm1
xorps xmm0, xmm0
movups xmmword [rax + 0x3c08], xmm0
movups xmmword [rax + 0x3c18], xmm1
movups xmmword [rax + 0x3c28], xmm5
movdqa xmm1, xmmword [0x1400bc850]
movups xmmword [rax + 0x3ca8], xmm1
movdqa xmm0, xmmword [0x1400bca00]
movups xmmword [rax + 0x3cb8], xmm0
movups xmmword [rax + 0x3cc8], xmm1
movups xmmword [rax + 0x3cd8], xmm0
movdqa xmm0, xmmword [0x1400bc780]
movups xmmword [rax + 0x3d48], xmm0
movdqa xmm1, xmmword [0x1400bc890]
movups xmmword [rax + 0x3d98], xmm1
mov dword [rax + 0x3958], 0x3f000000
mov dword [rax + 0x397c], 0x40000000
mov rcx, qword [0x140128940]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [0x140128940]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call fcn.140082a00
int3
lea rdx, str._d3d9__n
lea rcx, [0x140126f90]
call fcn.1400598b0
mov ecx, 3
call fcn.140082a00
int3