Function at 0x44dec0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x589bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5b8], esi
push str.SoftInstaller::InstallAllFiles__enter.
call fcn.00446c40
mov eax, dword [esi + 4]
add esp, 4
mov esi, dword [eax]
mov dword [ebp - 0x580], esi
cmp esi, eax
je 0x44ee6d
nop word [eax + eax]
mov edi, dword [esi + 8]
mov dword [ebp - 0x57c], edi
mov byte [ebp - 0x571], 0
test edi, edi
jne 0x44df3b
mov al, 1
jmp 0x44e8a3
cmp dword [edi + 0xb8], 0
je 0x44eb89
push str.FileInfo::Wait__wait_file_download.
call fcn.00446c40
imul eax, dword [ebp + 8], 0x3e8
add esp, 4
push eax
push dword [edi + 0xb8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.FileInfo::Wait__wait_file_download_pass.
mov edi, eax
call fcn.00446c40
add esp, 4
test edi, edi
jne 0x44eb83
push 0x484
lea eax, [ebp - 0x570]
push edi
push eax
call fcn.004d5e40
mov edi, dword [ebp - 0x57c]
lea edx, [ebp - 0x570]
add esp, 0xc
mov ecx, dword [edi + 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp dword [ebp - 0x56c], 2
je 0x44dfc8
push str.SoftInstaller::InstallAllFiles__file_download_fail.
call fcn.00446c40
add esp, 4
jmp 0x44e89d
push 9
xor eax, eax
mov dword [ebp - 0xdc], 0
push str.exdownsuc
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
call fcn.004371b0
lea eax, [edi + 0x98]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x598], eax
lea eax, [ebp - 0xd4]
push str.ex_ary_name_
push eax
call fcn.0044c5e0
add esp, 0xc
cmp dword [ebp - 0xd8], 8
lea edi, [ebp - 0xec]
mov byte [ebp - 4], 1
cmovae edi, dword [ebp - 0xec]
mov dword [ebp - 0x5a0], edi
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x44ee97
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 2
test edi, edi
je 0x44e174
test edi, 0xffff0000
jne 0x44e084
movzx eax, di
lea ecx, [ebp - 0x584]
push eax
call fcn.0040d5d0
jmp 0x44e17f
lea edx, [edi + 2]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x44e087
sub edi, edx
sar edi, 1
je 0x44e174
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x590], ecx
mov ecx, dword [ebp - 0x5a0]
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0x578], ecx
test edi, edi
js 0x44eea1
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x44e0e0
push edi
lea ecx, [ebp - 0x584]
call fcn.0040afd0
mov eax, dword [ebp - 0x584]
mov ecx, dword [ebp - 0x578]
cmp ecx, dword [ebp - 0x590]
ja 0x44e141
lea edx, [edi + edi]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x578], ecx
test edx, edx
je 0x44e15a
test ecx, ecx
jne 0x44e114
call fcn.004f2cec
mov dword [eax], 0x16
call fcn.004f2bc6
jmp 0x44e154
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x44e12f
call fcn.004f2cec
mov dword [eax], 0x22
call fcn.004f2bc6
jmp 0x44e154
push edx
push dword [ebp - 0x578]
push eax
call fcn.004d6b50
add esp, 0xc
jmp 0x44e154
push edi
push dword [ebp - 0x5a0]
push dword [eax - 8]
push eax
call fcn.0040c430
add esp, 0x10
mov eax, dword [ebp - 0x584]
cmp edi, dword [eax - 8]
jg 0x44eea1
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x584]
mov word [eax + edi*2], cx
jmp 0x44e17f
lea ecx, [ebp - 0x584]
call fcn.0041d620
mov byte [ebp - 4], 3
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x44ee97
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x594], eax
mov edx, str.instnew
mov byte [ebp - 4], 4
test edx, 0xffff0000
jne 0x44e1c7
movzx eax, dx
lea ecx, [ebp - 0x594]
push eax
call fcn.0040d5d0
jmp 0x44e27c
mov ecx, dword [eax - 0xc]
mov edi, edx
mov dword [ebp - 0x578], ecx
sub edi, eax
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 7
sar edi, 1
or ecx, edx
jge 0x44e1fb
push 7
lea ecx, [ebp - 0x594]
call fcn.0040afd0
mov eax, dword [ebp - 0x594]
cmp edi, dword [ebp - 0x578]
ja 0x44e246
mov ecx, dword [eax - 8]
lea edx, [eax + edi*2]
test edx, edx
jne 0x44e21f
call fcn.004f2cec
mov dword [eax], 0x16
call fcn.004f2bc6
jmp 0x44e259
add ecx, ecx
cmp ecx, 0xe
jae 0x44e238
call fcn.004f2cec
mov dword [eax], 0x22
call fcn.004f2bc6
jmp 0x44e259
push 0xe
push edx
push eax
call fcn.004d6b50
add esp, 0xc
jmp 0x44e259
push 7
push str.instnew
push dword [eax - 8]
push eax
call fcn.0040c430
add esp, 0x10
mov eax, dword [ebp - 0x594]
cmp dword [eax - 8], 7
jl 0x44eea1
mov dword [eax - 0xc], 7
xor ecx, ecx
mov eax, dword [ebp - 0x594]
mov word [eax + 0xe], cx
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x58c], esp
mov dword [eax + 0x24], 0
cmp dword [ebp - 0xc0], 8
lea edi, [ebp - 0xd4]
mov ecx, dword [0x58e878]
cmovae edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 6
test ecx, ecx
jne 0x44e30c
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x58e878], 0
jne 0x44e2fb
push 0x34
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x5c4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x44e2e9
mov ecx, eax
call fcn.004293b0
mov ecx, eax
jmp 0x44e2eb
xor ecx, ecx
mov byte [ebp - 4], 6
xchg dword [ebp - 0x5bc], eax
mov dword [0x58e878], ecx
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58e878]
push 0
push edi
lea eax, [ebp - 0x584]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x594]
push eax
call fcn.0042ba20
mov edx, dword [ebp - 0x594]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44e348
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x584]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44e36a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004d5e40
mov ecx, dword [ebp - 0x57c]
add esp, 0xc
add ecx, 0x4c
mov dword [ebp - 0x5a0], ecx
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x44e393
mov eax, dword [ecx]
push 0x64
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.004b8a50
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x7c], 0
add esp, 0xc
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44e3c0
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.0042c2a0
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
lea edx, [ebp - 0x8c]
cmovae eax, ecx
mov byte [ebp - 4], 8
mov dword [ebp - 0x590], eax
lea eax, [ebp - 0x8c]
cmovae eax, ecx
add eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x78], 0x10
cmovae edx, ecx
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x59c], edx
sub ecx, edx
cmp edx, eax
cmova ecx, edi
test ecx, ecx
je 0x44e44d
mov esi, ecx
movsx eax, byte [edx + edi]
push eax
call fcn.00500fd5
mov ecx, dword [ebp - 0x590]
add esp, 4
mov edx, dword [ebp - 0x59c]
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x44e426
mov esi, dword [ebp - 0x580]
mov edi, dword [ebp - 0x57c]
add edi, 0x1c
mov dword [ebp - 0x58c], edi
mov dword [ebp - 0x578], edi
mov edx, dword [edi + 0x14]
cmp edx, 0x10
jb 0x44e472
mov eax, dword [edi]
mov dword [ebp - 0x578], eax
mov ecx, edi
jb 0x44e478
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x590], eax
add eax, ecx
mov dword [ebp - 0x59c], edi
cmp edx, 0x10
jb 0x44e496
mov ecx, dword [edi]
mov dword [ebp - 0x59c], ecx
mov ecx, eax
mov dword [ebp - 0x5a4], 0
sub ecx, dword [ebp - 0x59c]
cmp dword [ebp - 0x59c], eax
mov dword [ebp - 0x5a8], 0
cmova ecx, dword [ebp - 0x5a4]
mov dword [ebp - 0x5a4], ecx
test ecx, ecx
je 0x44e512
mov esi, dword [ebp - 0x5a8]
mov edi, ecx
mov eax, dword [ebp - 0x59c]
movsx eax, byte [eax + esi]
push eax
call fcn.00500fd5
mov ecx, dword [ebp - 0x578]
add esp, 4
mov byte [ecx + esi], al
inc esi
cmp esi, edi
jne 0x44e4d1
mov eax, dword [ebp - 0x57c]
mov esi, dword [ebp - 0x580]
mov edi, dword [ebp - 0x58c]
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x590], eax
jmp 0x44e518
mov eax, dword [ebp - 0x590]
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
jb 0x44e530
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x590], eax
cmp edx, 0x10
jb 0x44e537
mov edi, dword [edi]
cmp dword [ebp - 0x7c], eax
mov edx, eax
cmovb edx, dword [ebp - 0x7c]
sub edx, 4
jb 0x44e556
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x44e55b
add edi, 4
add ecx, 4
sub edx, 4
jae 0x44e545
cmp edx, 0xfffffffc
je 0x44e58f
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x44e588
cmp edx, 0xfffffffd
je 0x44e58f
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x44e588
cmp edx, 0xfffffffe
je 0x44e58f
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x44e588
cmp edx, 0xffffffff
je 0x44e58f
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x44e58f
sbb eax, eax
or eax, 1
jmp 0x44e591
xor eax, eax
test eax, eax
jne 0x44e5b3
mov eax, dword [ebp - 0x590]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jbe 0x44e5a7
or eax, 0xffffffff
jmp 0x44e5ab
sbb eax, eax
neg eax
test eax, eax
je 0x44e965
push 7
xor eax, eax
mov dword [ebp - 0x94], 0
push str.md5fail
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.004371b0
push dword [ebp - 0x598]
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 9
push str.ex_ary_name_
push eax
call fcn.0044c5e0
add esp, 0xc
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.0040df50
push str.instnew
lea ecx, [ebp - 0x5ac]
mov byte [ebp - 4], 0xb
call fcn.0040df50
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x58c], esp
mov dword [eax + 0x24], 0
cmp dword [ebp - 0xa8], 8
lea eax, [ebp - 0xbc]
push 0
cmovae eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0x5b0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x5ac]
push eax
call fcn.0042f5c0
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0042ba20
mov edx, dword [ebp - 0x5ac]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44e6a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5b0]
or eax, 0xffffffff
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44e6c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::InstallFile__md5_invalid.
call fcn.00446c40
mov edx, dword [ebp - 0xa8]
add esp, 4
mov byte [ebp - 0x571], 1
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x44e721
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e717
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eeab
push edx
push ecx
call fcn.0049a80e
add esp, 8
mov edx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x44e782
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e778
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eeab
push edx
push ecx
call fcn.0049a80e
add esp, 8
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x44e7da
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44e7d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eeab
push edx
push ecx
call fcn.0049a80e
add esp, 8
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x44e833
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e829
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eeab
push edx
push ecx
call fcn.0049a80e
add esp, 8
mov edx, dword [ebp - 0xd8]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x44e897
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e88d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eeab
push edx
push ecx
call fcn.0049a80e
add esp, 8
mov edi, dword [ebp - 0x57c]
mov al, byte [ebp - 0x571]
test al, al
jne 0x44edc7
push 0xa
xor eax, eax
mov dword [ebp - 0xac], 0
push str.exdownfail
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
call fcn.004371b0
lea eax, [edi + 0x98]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xa4]
push str.ex_ary_name_
push eax
call fcn.0044c5e0
add esp, 0xc
cmp dword [ebp - 0xa8], 8
lea edi, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
cmovae edi, dword [ebp - 0xbc]
mov dword [ebp - 0x578], edi
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x44ee97
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 0x12
test edi, edi
je 0x44ec9d
test edi, 0xffff0000
jne 0x44ebad
movzx eax, di
lea ecx, [ebp - 0x588]
push eax
call fcn.0040d5d0
jmp 0x44eca8
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x598]
push dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58c], esp
mov dword [ebp - 0x578], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x580], eax
jb 0x44e9a7
mov edx, dword [edx]
mov dword [ebp - 0x598], edx
cmp eax, 8
jae 0x44e9be
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x44ea11
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00436e60
mov ecx, dword [ebp - 0x578]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x580]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x598]
push eax
call fcn.004d65d0
mov eax, dword [ebp - 0x578]
add esp, 0xc
mov ecx, dword [ebp - 0x580]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov eax, dword [ebp - 0x57c]
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 4], 0xe
add eax, 0x34
mov dword [ebp - 0x5a8], esp
mov dword [ebp - 0x578], eax
mov dword [ebp - 0x580], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x598], edx
jb 0x44ea5a
mov eax, dword [eax]
mov dword [ebp - 0x578], eax
cmp edx, 8
jae 0x44ea71
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
jmp 0x44eac4
mov edi, edx
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00436e60
mov ecx, dword [ebp - 0x580]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x598]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x578]
push eax
call fcn.004d65d0
mov eax, dword [ebp - 0x580]
add esp, 0xc
mov ecx, dword [ebp - 0x598]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov edx, dword [ebp - 0x5a0]
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x578], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x580], eax
jb 0x44eafe
mov edx, dword [edx]
mov dword [ebp - 0x5a0], edx
cmp eax, 8
jae 0x44eb15
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x44eb68
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00436e60
mov ecx, dword [ebp - 0x578]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x580]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x5a0]
push eax
call fcn.004d65d0
mov eax, dword [ebp - 0x578]
add esp, 0xc
mov ecx, dword [ebp - 0x580]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov ecx, dword [ebp - 0x5b8]
mov byte [ebp - 4], 8
call fcn.00451760
mov byte [ebp - 0x571], 1
jmp 0x44e79f
mov edi, dword [ebp - 0x57c]
cmp dword [edi + 0xac], 8
lea eax, [edi + 0x98]
jb 0x44eb9a
mov eax, dword [eax]
push eax
push str.SoftInstaller::InstallAllFiles__download_timeout__id_s.
call fcn.00446c40
add esp, 8
jmp 0x44e89d
lea edx, [edi + 2]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x44ebb0
sub edi, edx
sar edi, 1
je 0x44ec9d
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x5a8], ecx
mov ecx, dword [ebp - 0x578]
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0x58c], ecx
test edi, edi
js 0x44eea1
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x44ec09
push edi
lea ecx, [ebp - 0x588]
call fcn.0040afd0
mov eax, dword [ebp - 0x588]
mov ecx, dword [ebp - 0x58c]
cmp ecx, dword [ebp - 0x5a8]
ja 0x44ec6a
lea edx, [edi + edi]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x58c], ecx
test edx, edx
je 0x44ec83
test ecx, ecx
jne 0x44ec3d
call fcn.004f2cec
mov dword [eax], 0x16
call fcn.004f2bc6
jmp 0x44ec7d
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x44ec58
call fcn.004f2cec
mov dword [eax], 0x22
call fcn.004f2bc6
jmp 0x44ec7d
push edx
push dword [ebp - 0x58c]
push eax
call fcn.004d6b50
add esp, 0xc
jmp 0x44ec7d
push edi
push dword [ebp - 0x578]
push dword [eax - 8]
push eax
call fcn.0040c430
add esp, 0x10
mov eax, dword [ebp - 0x588]
cmp edi, dword [eax - 8]
jg 0x44eea1
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x588]
mov word [eax + edi*2], cx
jmp 0x44eca8
lea ecx, [ebp - 0x588]
call fcn.0041d620
push str.instnew
lea ecx, [ebp - 0x5b4]
mov byte [ebp - 4], 0x13
call fcn.0040df50
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x58c], esp
mov dword [eax + 0x24], 0
cmp dword [ebp - 0x90], 8
lea edi, [ebp - 0xa4]
mov ecx, dword [0x58e878]
cmovae edi, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
test ecx, ecx
jne 0x44ed4c
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x58e878], 0
jne 0x44ed3b
push 0x34
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x5c8], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x44ed29
mov ecx, eax
call fcn.004293b0
mov ecx, eax
jmp 0x44ed2b
xor ecx, ecx
mov byte [ebp - 4], 0x15
xchg dword [ebp - 0x5c0], eax
mov dword [0x58e878], ecx
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58e878]
push 0
push edi
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x5b4]
push eax
call fcn.0042ba20
mov edx, dword [ebp - 0x5b4]
or eax, 0xffffffff
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ed88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x588]
or eax, 0xffffffff
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44edaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa4]
call fcn.00436c50
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.00436c50
mov edi, dword [ebp - 0x57c]
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x44ede6
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [edi + 0x94], 0
add edi, 0x4c
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x44edf3
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ee35
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44ee08
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44ee19
mov eax, dword [edi]
push eax
push str.SoftInstaller::InstallAllFiles__delete_file__path_s.
call fcn.00446c40
add esp, 8
mov ecx, edi
push 0
push 0x545970
call fcn.004371b0
mov edi, dword [ebp - 0x57c]
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x44ee56
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xb8], 0
mov eax, dword [ebp - 0x5b8]
mov esi, dword [esi]
mov dword [ebp - 0x580], esi
cmp esi, dword [eax + 4]
jne 0x44df20
push str.SoftInstaller::InstallAllFiles__end.
call fcn.00446c40
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a7f8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040ab80
push 0x80070057
call fcn.0040ab80
call fcn.004f2bd6
int3