Function at 0x23a2acf0
Capabilities:
Copy file
Create directory
Delete directory
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x23bd0703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x380
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x68], 7
mov dword [ebp + 0x64], ebx
mov word [ebp + 0x54], ax
lea ecx, [ebp + 0x50]
mov dword [ebp - 4], ebx
call fcn.23a037d0
mov eax, dword [ebp + 0x54]
mov esi, 8
cmp dword [ebp + 0x68], esi
jae 0x23a2ad4b
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x68], esi
jae 0x23a2ad5d
lea eax, [ebp + 0x54]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [ebp + 0x74]
push str.installer
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.23a1b870
cmp eax, ebx
je 0x23a2ad80
mov esi, eax
jmp 0x23a2ad9e
mov ecx, dword [esi + 0x98]
sub ecx, dword [esi + 0x94]
sar ecx, 5
test ecx, ecx
ja 0x23a2ad98
call fcn.23a49e3d
mov esi, dword [esi + 0x94]
cmp esi, ebx
jne 0x23a2adcd
push 0x490
push 0xcd
push str..TabNetUpdate.cpp
lea ecx, [ebp - 0x13c]
call fcn.23a01270
push 0x23c614bc
lea edx, [ebp - 0x13c]
push edx
call fcn.23a49c94
mov eax, 7
xor ecx, ecx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x44], ebx
mov word [ebp + 0x34], cx
xor edx, edx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x1c], ebx
mov word [ebp + 0xc], dx
mov eax, dword [esi]
push eax
lea ecx, [ebp + 8]
push str._s.cab
push ecx
mov byte [ebp - 4], 3
call fcn.23a01220
mov esi, dword [esi + 4]
add esp, 0xc
push esi
lea ecx, [ebp - 0x68]
call fcn.23a0e620
mov byte [ebp - 4], 4
cmp edi, ebx
je 0x23a2ae1e
lea ecx, [edi + 0x22c]
jmp 0x23a2ae20
xor ecx, ecx
cmp dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x48]
sete dl
mov esi, 8
mov byte [ebp + 0x74], dl
cmp dword [ebp - 0x34], esi
jae 0x23a2ae3a
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 0x74]
push ebx
push edx
push eax
mov eax, dword [ebp + 0x78]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.23a0e8e0
mov ecx, dword [ebp + 0xc]
mov bl, 5
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], esi
jae 0x23a2ae5d
lea ecx, [ebp + 0xc]
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x68], esi
jae 0x23a2ae68
lea eax, [ebp + 0x54]
push ecx
push eax
lea ecx, [ebp + 0x30]
call fcn.23a034b0
push eax
lea ecx, [ebp]
call fcn.23a28790
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.23a0eae0
mov eax, dword [ebp + 4]
mov byte [ebp - 4], bl
cmp eax, 0xffffffff
je 0x23a2aebe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a2aebe
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov edx, dword [ebp + 4]
push eax
push edx
push str.CloseHandle_0x_08X__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
jmp 0x23a2aec4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xc4]
call fcn.23a05b90
mov eax, dword [ebp + 0x34]
mov esi, 8
mov byte [ebp - 4], 7
cmp dword [ebp + 0x48], esi
jae 0x23a2aee3
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0xc4]
call fcn.23a05d40
test eax, eax
je 0x23a2af1a
push eax
push 0xeb
push str..TabNetUpdate.cpp
lea ecx, [ebp - 0xec]
call fcn.23a01270
push 0x23c614bc
lea eax, [ebp - 0xec]
push eax
call fcn.23a49c94
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x68], esi
jae 0x23a2af25
lea eax, [ebp + 0x54]
mov esi, dword [ebp + 0x4c]
mov ecx, dword [esi + 0x124]
mov ecx, dword [ecx + 0x118]
push eax
lea edx, [ebp - 0xc4]
push edx
call fcn.23a174a0
mov eax, dword [esi + 0x124]
mov ecx, dword [eax + 0x118]
call fcn.23a198f0
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x23a2af5e
lea eax, [ebp + 0x54]
mov ecx, dword [esi + 0x124]
mov ecx, dword [ecx + 0x118]
push eax
lea edx, [ebp - 0xc4]
push edx
call fcn.23a15c80
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], bl
call fcn.23a05c70
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test eax, eax
je 0x23a2afb0
push eax
call dword [ebp - 0x20]
test eax, eax
jne 0x23a2afa9
call edi
push eax
push str.InternetCloseHandle_m_hUrl__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x68]
call fcn.23a0eef0
mov esi, 8
mov bl, 2
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], esi
jb 0x23a2afd3
mov eax, dword [ebp + 0xc]
push eax
call fcn.23a2ed1b
add esp, 4
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x68], esi
jae 0x23a2afde
lea eax, [ebp + 0x54]
push str.Setup.xml
push eax
lea ecx, [ebp + 0x30]
call fcn.23a034b0
mov esi, dword [ebp + 0x7c]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x23a2b022
call edi
mov ecx, dword [ebp + 0x34]
mov edi, 8
cmp dword [ebp + 0x48], edi
jae 0x23a2b00f
lea ecx, [ebp + 0x34]
push eax
push ecx
push esi
push str.CopyFile___s_____s___failed_with_0x_08X_error
call dword [0x23c41f28]
add esp, 0x10
jmp 0x23a2b027
mov edi, 8
call fcn.23a3b1a4
xor esi, esi
cmp eax, esi
je 0x23a2b03f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, eax
jmp 0x23a2b041
xor ecx, ecx
push esi
call fcn.23a35ceb
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x28], 0xffffffff
mov eax, dword [ebp + 0x54]
mov byte [ebp - 4], 8
cmp dword [ebp + 0x68], edi
jae 0x23a2b060
lea eax, [ebp + 0x54]
push 0x23be6948
push eax
lea ecx, [ebp + 0x30]
call fcn.23a034b0
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx + 0x124]
mov eax, dword [edx + 0x118]
cmp dword [eax + 0x34], 1
lea ecx, [ebp + 0x30]
jne 0x23a2b08f
push 0xf
push str.__directinstall
jmp 0x23a2b096
push 0xe
push str.__directupdate
call fcn.23a028a0
mov eax, dword [ebp + 0x34]
cmp dword [ebp + 0x48], edi
jae 0x23a2b0a6
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x24]
call fcn.23a29880
cmp eax, esi
je 0x23a2b0da
push eax
push 0x103
push str..TabNetUpdate.cpp
lea ecx, [ebp - 0x114]
call fcn.23a01270
push 0x23c614bc
lea eax, [ebp - 0x114]
push eax
call fcn.23a49c94
mov ecx, dword [ebp + 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], bl
call fcn.23a29a10
lea ecx, [ebp + 0x30]
call fcn.23a022f0
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x54]
mov esi, 8
cmp dword [ebp + 0x68], esi
jae 0x23a2b10c
lea eax, [ebp + 0x54]
push 0x23c40e6c
push eax
lea ecx, [ebp + 0x2c]
call fcn.23a01340
xor edx, edx
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], dx
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xb
call fcn.23a01790
test al, al
je 0x23a2b17a
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x68], esi
jae 0x23a2b150
lea eax, [ebp + 0x54]
lea ecx, [ebp - 0x360]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.23a034b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x38c]
push edx
lea ecx, [ebp + 0x2c]
call fcn.23a01790
test al, al
jne 0x23a2b145
lea ecx, [ebp + 8]
call fcn.23a022f0
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0
call fcn.23a013b0
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x68], esi
jae 0x23a2b199
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp + 0x50]
call fcn.23a022f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc