Function at 0x10001730
Capabilities:
Copy file
Delete registry key

Disassembly:
mov eax, 0x1364
call fcn.10001ca0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1360], eax
mov eax, dword [esp + 0x1370]
push ebx
push esi
xor esi, esi
test eax, eax
je 0x10001778
push 0x2a
push eax
mov dword [esp + esi*4 + 0x10], eax
call fcn.10001ac0
add esp, 8
test eax, eax
je 0x10001770
mov byte [eax], 0
add eax, 1
add esi, 1
cmp esi, 3
jl 0x10001753
mov eax, dword [esp + 8]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x56c]
push 0x10008578
push ecx
call ebx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x168]
push 0x10008578
push eax
call ebx
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x17c]
push 0x10008578
push edx
call ebx
add esp, 0x24
call fcn.100010a0
test al, al
je 0x10001a93
lea eax, [esp + 0x168]
push eax
call fcn.10001230
lea ecx, [esp + 0x16c]
push ecx
call fcn.100013b0
lea eax, [esp + 0x170]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100017f1
sub eax, edx
je 0x10001a93
push edi
lea edi, [esp + 0x164]
mov esi, 0x100082bc
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100018fe
call fcn.10001010
test al, al
je 0x10001866
lea edi, [esp + 0x15c]
mov esi, 0x10008574
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x10001852
lea ecx, [esp + 0x36c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall6E19F210_3813_4002_B561_94D66AA182B6
push ecx
call ebx
add esp, 8
jmp 0x10001880
lea edx, [esp + 0x36c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall0A755762_EED8_47AB_A446_505766F93D43
push edx
call ebx
add esp, 8
jmp 0x10001880
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x370]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAtc_s
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x770]
push str._s_atcInst.exe
push eax
call ebx
lea ecx, [esp + 0x578]
push ecx
lea edx, [esp + 0xf7c]
push str._s_atcInst.exe
push edx
call ebx
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0xb88]
push str._s_v32Inst.exe
push ecx
call ebx
lea edx, [esp + 0x590]
push edx
lea eax, [esp + 0x994]
push str._s_v32Inst.exe
push eax
call ebx
lea ecx, [esp + 0x18c]
push ecx
lea edx, [esp + 0x1a0]
push edx
push str.atcInst.exe__x___s___s
lea eax, [esp + 0xda8]
push eax
jmp 0x100019d9
call fcn.10001010
test al, al
je 0x10001946
lea edi, [esp + 0x15c]
mov esi, 0x10008574
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10001932
lea eax, [esp + 0x36c]
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersion6E19F210_3813_4002_B561_94D66AA182B6
push eax
call ebx
add esp, 8
jmp 0x10001960
lea ecx, [esp + 0x36c]
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersion0A755762_EED8_47AB_A446_505766F93D43
push ecx
call ebx
add esp, 8
jmp 0x10001960
lea edx, [esp + 0x15c]
push edx
lea eax, [esp + 0x370]
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionAtc_s
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x770]
push str._s_atcInst_x64.exe
push edx
call ebx
lea eax, [esp + 0x578]
push eax
lea ecx, [esp + 0xf7c]
push str._s_atcInst_x64.exe
push ecx
call ebx
lea edx, [esp + 0x184]
push edx
lea eax, [esp + 0xb88]
push str._s_v64Inst.exe
push eax
call ebx
lea ecx, [esp + 0x590]
push ecx
lea edx, [esp + 0x994]
push str._s_v64Inst.exe
push edx
call ebx
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x1a0]
push ecx
push str.atcInst_x64.exe__x___s___s
lea edx, [esp + 0xda8]
push edx
call ebx
add esp, 0x40
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x770]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001a2a
lea edx, [esp + 0x36c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1360]
xor ecx, esp
call fcn.10001c06
add esp, 0x1364
ret
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [esp + 0xf70]
push eax
lea ecx, [esp + 0x774]
push ecx
call esi
call fcn.10001010
test al, al
je 0x10001a61
push 0
lea edx, [esp + 0x970]
push edx
lea eax, [esp + 0xb74]
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x76c]
push ecx
lea edx, [esp + 0x1170]
push edx
call ebx
lea eax, [esp + 0xd74]
push eax
lea ecx, [esp + 0x1178]
push ecx
call fcn.10001400
add esp, 0x10
pop edi
mov ecx, dword [esp + 0x1368]
pop esi
pop ebx
xor ecx, esp
call fcn.10001c06
add esp, 0x1364
ret