Function at 0x23a2baf0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x23bd078c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
mov eax, dword [ecx - 0xf8]
push ebx
push esi
mov esi, dword [0x23c7a190]
push edi
mov edi, dword [eax + 0x118]
mov dword [ebp + 0x74], ecx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp + 8], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
movzx edx, word [esi + 0x74]
movzx eax, word [esi + 0x76]
movzx ecx, word [esi + 0x70]
push edx
movzx edx, word [esi + 0x72]
push eax
push ecx
push edx
lea eax, [ebp - 0x2c]
push 0x23be32b8
push eax
mov dword [ebp - 4], ebx
call fcn.23a01220
mov eax, dword [ebp - 0x28]
add esp, 0x18
cmp dword [ebp - 0x14], 8
jae 0x23a2bb77
lea eax, [ebp - 0x28]
push eax
push str.Checking_for_updated_version__current__s_
call dword [0x23c41f20]
add esp, 8
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], ebx
mov byte [ebp + 0x10], bl
mov ecx, dword [0x23c7a190]
mov eax, dword [ecx + 0x38]
push 1
push eax
lea edx, [ebp + 0xc]
push edx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.23a12fb0
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp + 0xc]
push edx
mov byte [ebp - 4], 2
call fcn.23a03ac0
mov eax, dword [ebp - 0x44]
add esp, 8
cmp dword [ebp - 0x30], 8
jae 0x23a2bbde
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf4]
call fcn.23a0e620
mov edi, dword [ebp + 0x74]
add edi, 0xfffffde4
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x23a2bc03
mov eax, dword [ebp + 0x74]
add eax, 0x10
jmp 0x23a2bc05
xor eax, eax
cmp dword [ebp - 0xdc], 8
mov ecx, dword [ebp - 0xf0]
jae 0x23a2bc1a
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0xbc]
push edx
push ecx
push eax
lea ecx, [ebp + 0x4c]
call fcn.23a0e7f0
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 4
call fcn.23a1e9c0
xor eax, eax
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], ebx
mov word [ebp + 0x58], ax
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 6
call fcn.23a037d0
mov byte [ebp - 4], 7
cmp edi, ebx
je 0x23a2bc66
mov ecx, dword [ebp + 0x74]
add ecx, 0x10
jmp 0x23a2bc68
xor ecx, ecx
cmp dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xd4]
sete dl
cmp dword [ebp - 0xc0], 8
mov byte [ebp + 0x70], dl
jae 0x23a2bc8a
lea eax, [ebp - 0xd4]
mov edx, dword [ebp + 0x70]
push ebx
push edx
push eax
lea eax, [ebp + 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.23a0e8e0
mov eax, dword [ebp + 0x58]
mov edi, 8
mov byte [ebp - 4], 8
cmp dword [ebp + 0x6c], edi
jae 0x23a2bcb4
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x44]
call fcn.23a28790
lea ecx, [ebp + 0x44]
push ecx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.23a0eae0
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], edi
jae 0x23a2bcdb
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.23a1f680
xor edx, edx
mov dword [ebp + 0x40], 7
mov dword [ebp + 0x3c], ebx
mov word [ebp + 0x2c], dx
movzx eax, word [ebp - 0x150]
movzx ecx, word [ebp - 0x14e]
movzx edx, word [ebp - 0x154]
push eax
movzx eax, word [ebp - 0x152]
push ecx
push edx
push eax
lea ecx, [ebp + 0x28]
push 0x23be32b8
push ecx
mov byte [ebp - 4], 0xa
call fcn.23a01220
mov eax, dword [ebp + 0x2c]
add esp, 0x18
cmp dword [ebp + 0x40], edi
jae 0x23a2bd37
lea eax, [ebp + 0x2c]
push eax
push str.Version_available_on_net:__s
call dword [0x23c41f20]
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 0x154]
add esp, 8
cmp ecx, eax
jb 0x23a2bffb
ja 0x23a2bd6a
mov esi, dword [esi + 0x74]
mov eax, dword [ebp - 0x150]
cmp eax, esi
jbe 0x23a2bffb
mov esi, dword [sym.Setup.exe_void___cdecl_logInformation_char_const__]
push str.Newer_version_available_on_net
call esi
add esp, 4
call fcn.23a36735
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x23a2bd94
push 0x80004005
call fcn.23a0ef50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x70], eax
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x14], edi
jae 0x23a2bdb2
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 0x2c]
cmp dword [ebp + 0x40], edi
jae 0x23a2bdbd
lea eax, [ebp + 0x2c]
push ecx
push eax
lea ecx, [ebp + 0x70]
push 0x131
push ecx
call fcn.23a22930
mov edi, dword [ebp + 0x70]
add esp, 0x10
push ebx
push 0x24
push edi
call fcn.23a3c533
cmp eax, 6
jne 0x23a2bfc7
push str.User_wants_to_use_version_from_net
call esi
mov esi, dword [ebp + 0x74]
xor edx, edx
add esp, 4
mov dword [esi + 0x5c], 2
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], dx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.23a036c0
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
jae 0x23a2be27
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp]
call fcn.23a018c0
lea ecx, [ebp - 0x1c4]
call fcn.23a1bbe0
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.23a2a840
test al, al
je 0x23a2bf24
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov dword [esi - 0xfc], ebx
jae 0x23a2be60
lea eax, [ebp + 0x58]
push eax
lea edx, [ebp + 0x4c]
push edx
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [esi - 0x21c]
call fcn.23a2acf0
lea ecx, [ebp - 0x64]
call fcn.23a022f0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23a2be9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x28]
call fcn.23a022f0
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 8
call fcn.23a28470
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.23a0e8a0
lea ecx, [ebp + 0x54]
call fcn.23a022f0
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 4
call fcn.23a1ece0
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 3
call fcn.23a0e860
lea ecx, [ebp - 0xf4]
call fcn.23a0eef0
lea ecx, [ebp - 0x48]
call fcn.23a022f0
cmp dword [ebp + 0x24], 0x10
jb 0x23a2bf0a
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.23a2ed1b
add esp, 4
lea ecx, [ebp - 0x2c]
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], ebx
mov byte [ebp + 0x10], bl
call fcn.23a022f0
jmp 0x23a2c165
mov ecx, dword [0x23c7a190]
lea edx, [ebp - 0x1c4]
push edx
call fcn.23a2b9b0
mov esi, 7
xor eax, eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], ax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp + 8]
push str.installer
mov byte [ebp - 4], 0xd
call fcn.23a138c0
xor edx, edx
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xb0], dx
mov eax, dword [ebp - 0x7c]
mov ecx, 8
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x68], ecx
jae 0x23a2bf85
lea eax, [ebp - 0x7c]
mov esi, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], ecx
jae 0x23a2bf90
lea esi, [ebp + 0x58]
push str.Setup.xml
push eax
lea ecx, [ebp - 0xb4]
call fcn.23a034b0
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0xb4]
call fcn.23a022f0
lea ecx, [ebp - 0x80]
call fcn.23a022f0
lea ecx, [ebp - 0x64]
call fcn.23a022f0
jmp 0x23a2bfdb
push str.User_wants_to_use_current_version
call esi
mov eax, dword [ebp + 0x74]
add esp, 4
mov dword [eax + 0x5c], 1
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23a2bffb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x40], 8
jb 0x23a2c00d
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.23a2ed1b
add esp, 4
mov eax, dword [ebp + 0x48]
xor edx, edx
mov dword [ebp + 0x40], 7
mov dword [ebp + 0x3c], ebx
mov word [ebp + 0x2c], dx
mov byte [ebp - 4], 8
cmp eax, 0xffffffff
je 0x23a2c054
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x23a2c04d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 0x48]
push eax
push str.CloseHandle_0x_08X__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 0xc
mov dword [ebp + 0x48], 0xffffffff
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x23a2c082
push eax
call dword [ebp - 0x90]
cmp eax, ebx
jne 0x23a2c082
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetCloseHandle_m_hUrl__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov dword [ebp - 4], 6
jmp 0x23a2c09a
mov eax, dword [ebp + 0x58]
mov esi, 8
cmp dword [ebp + 0x6c], esi
jae 0x23a2c0aa
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x6c], esi
jb 0x23a2c0c2
mov ecx, dword [ebp + 0x58]
push ecx
call fcn.23a2ed1b
add esp, 4
xor edx, edx
mov edi, 7
lea ecx, [ebp - 0x1c4]
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x68], ebx
mov word [ebp + 0x58], dx
mov byte [ebp - 4], 4
call fcn.23a1ece0
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x23a2c10d
push eax
call dword [ebp + 0x4c]
test eax, eax
jne 0x23a2c10a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetCloseHandle_m_hSession__failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov dword [ebp + 0x50], ebx
lea ecx, [ebp - 0xf4]
call fcn.23a0eef0
cmp dword [ebp - 0x30], esi
jb 0x23a2c129
mov eax, dword [ebp - 0x44]
push eax
call fcn.23a2ed1b
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], cx
jb 0x23a2c147
mov edx, dword [ebp + 0x10]
push edx
call fcn.23a2ed1b
add esp, 4
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], ebx
mov byte [ebp + 0x10], bl
cmp dword [ebp - 0x14], esi
jb 0x23a2c165
mov eax, dword [ebp - 0x28]
push eax
call fcn.23a2ed1b
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add ebp, 0x78
mov esp, ebp
pop ebp
ret