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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c64b
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x583bb4]
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.00446390
mov eax, dword [esi + 4]
add esp, 4
mov esi, dword [eax]
mov dword [ebp - 0x580], esi
cmp esi, eax
je 0x44e5cd
nop word [eax + eax]
mov edi, dword [esi + 8]
mov dword [ebp - 0x57c], edi
mov byte [ebp - 0x571], 0
test edi, edi
jne 0x44d69b
mov al, 1
jmp 0x44e003
cmp dword [edi + 0xb8], 0
je 0x44e2e9
push str.FileInfo::Wait__wait_file_download.
call fcn.00446390
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.00446390
add esp, 4
test edi, edi
jne 0x44e2e3
push 0x484
lea eax, [ebp - 0x570]
push edi
push eax
call fcn.004d1a10
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 0x44d728
push str.SoftInstaller::InstallAllFiles__file_download_fail.
call fcn.00446390
add esp, 4
jmp 0x44dffd
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.00436a80
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.0044bd30
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 0x44e5f7
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 0x44d8d4
test edi, 0xffff0000
jne 0x44d7e4
movzx eax, di
lea ecx, [ebp - 0x584]
push eax
call fcn.0040d5d0
jmp 0x44d8df
lea edx, [edi + 2]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x44d7e7
sub edi, edx
sar edi, 1
je 0x44d8d4
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 0x44e601
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x44d840
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 0x44d8a1
lea edx, [edi + edi]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x578], ecx
test edx, edx
je 0x44d8ba
test ecx, ecx
jne 0x44d874
call fcn.004ee8b9
mov dword [eax], 0x16
call fcn.004ee793
jmp 0x44d8b4
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x44d88f
call fcn.004ee8b9
mov dword [eax], 0x22
call fcn.004ee793
jmp 0x44d8b4
push edx
push dword [ebp - 0x578]
push eax
call fcn.004d2720
add esp, 0xc
jmp 0x44d8b4
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 0x44e601
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x584]
mov word [eax + edi*2], cx
jmp 0x44d8df
lea ecx, [ebp - 0x584]
call fcn.0041d620
mov byte [ebp - 4], 3
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x44e5f7
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 0x44d927
movzx eax, dx
lea ecx, [ebp - 0x594]
push eax
call fcn.0040d5d0
jmp 0x44d9dc
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 0x44d95b
push 7
lea ecx, [ebp - 0x594]
call fcn.0040afd0
mov eax, dword [ebp - 0x594]
cmp edi, dword [ebp - 0x578]
ja 0x44d9a6
mov ecx, dword [eax - 8]
lea edx, [eax + edi*2]
test edx, edx
jne 0x44d97f
call fcn.004ee8b9
mov dword [eax], 0x16
call fcn.004ee793
jmp 0x44d9b9
add ecx, ecx
cmp ecx, 0xe
jae 0x44d998
call fcn.004ee8b9
mov dword [eax], 0x22
call fcn.004ee793
jmp 0x44d9b9
push 0xe
push edx
push eax
call fcn.004d2720
add esp, 0xc
jmp 0x44d9b9
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 0x44e601
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 [0x588878]
cmovae edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 6
test ecx, ecx
jne 0x44da6c
push 0x5821a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x588878], 0
jne 0x44da5b
push 0x34
call fcn.0049a5c9
add esp, 4
mov dword [ebp - 0x5c4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x44da49
mov ecx, eax
call fcn.00429380
mov ecx, eax
jmp 0x44da4b
xor ecx, ecx
mov byte [ebp - 4], 6
xchg dword [ebp - 0x5bc], eax
mov dword [0x588878], ecx
push 0x5821a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x588878]
push 0
push edi
lea eax, [ebp - 0x584]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x594]
push eax
call fcn.0042b580
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 0x44daa8
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 0x44daca
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.004d1a10
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 0x44daf3
mov eax, dword [ecx]
push 0x64
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.004ae6d0
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 0x44db20
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.004517d0
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 0x44dbad
mov esi, ecx
movsx eax, byte [edx + edi]
push eax
call fcn.004fcba5
mov ecx, dword [ebp - 0x590]
add esp, 4
mov edx, dword [ebp - 0x59c]
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x44db86
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 0x44dbd2
mov eax, dword [edi]
mov dword [ebp - 0x578], eax
mov ecx, edi
jb 0x44dbd8
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 0x44dbf6
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 0x44dc72
mov esi, dword [ebp - 0x5a8]
mov edi, ecx
mov eax, dword [ebp - 0x59c]
movsx eax, byte [eax + esi]
push eax
call fcn.004fcba5
mov ecx, dword [ebp - 0x578]
add esp, 4
mov byte [ecx + esi], al
inc esi
cmp esi, edi
jne 0x44dc31
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 0x44dc78
mov eax, dword [ebp - 0x590]
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
jb 0x44dc90
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x590], eax
cmp edx, 0x10
jb 0x44dc97
mov edi, dword [edi]
cmp dword [ebp - 0x7c], eax
mov edx, eax
cmovb edx, dword [ebp - 0x7c]
sub edx, 4
jb 0x44dcb6
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x44dcbb
add edi, 4
add ecx, 4
sub edx, 4
jae 0x44dca5
cmp edx, 0xfffffffc
je 0x44dcef
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x44dce8
cmp edx, 0xfffffffd
je 0x44dcef
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x44dce8
cmp edx, 0xfffffffe
je 0x44dcef
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x44dce8
cmp edx, 0xffffffff
je 0x44dcef
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x44dcef
sbb eax, eax
or eax, 1
jmp 0x44dcf1
xor eax, eax
test eax, eax
jne 0x44dd13
mov eax, dword [ebp - 0x590]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jbe 0x44dd07
or eax, 0xffffffff
jmp 0x44dd0b
sbb eax, eax
neg eax
test eax, eax
je 0x44e0c5
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.00436a80
push dword [ebp - 0x598]
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 9
push str.ex_ary_name_
push eax
call fcn.0044bd30
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.0042f030
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0042b580
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 0x44de07
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 0x44de29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftInstaller::InstallFile__md5_invalid.
call fcn.00446390
mov edx, dword [ebp - 0xa8]
add esp, 4
mov byte [ebp - 0x571], 1
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x44de81
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44de77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e60b
push edx
push ecx
call fcn.0049a03e
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 0x44dee2
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ded8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e60b
push edx
push ecx
call fcn.0049a03e
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 0x44df3a
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44df30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e60b
push edx
push ecx
call fcn.0049a03e
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 0x44df93
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44df89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e60b
push edx
push ecx
call fcn.0049a03e
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 0x44dff7
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44dfed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e60b
push edx
push ecx
call fcn.0049a03e
add esp, 8
mov edi, dword [ebp - 0x57c]
mov al, byte [ebp - 0x571]
test al, al
jne 0x44e527
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.00436a80
lea eax, [edi + 0x98]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xa4]
push str.ex_ary_name_
push eax
call fcn.0044bd30
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 0x44e5f7
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 0x44e3fd
test edi, 0xffff0000
jne 0x44e30d
movzx eax, di
lea ecx, [ebp - 0x588]
push eax
call fcn.0040d5d0
jmp 0x44e408
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 0x44e107
mov edx, dword [edx]
mov dword [ebp - 0x598], edx
cmp eax, 8
jae 0x44e11e
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x44e171
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00436730
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.004d21a0
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 0x44e1ba
mov eax, dword [eax]
mov dword [ebp - 0x578], eax
cmp edx, 8
jae 0x44e1d1
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
jmp 0x44e224
mov edi, edx
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00436730
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.004d21a0
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 0x44e25e
mov edx, dword [edx]
mov dword [ebp - 0x5a0], edx
cmp eax, 8
jae 0x44e275
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x44e2c8
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00436730
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.004d21a0
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.00450ec0
mov byte [ebp - 0x571], 1
jmp 0x44deff
mov edi, dword [ebp - 0x57c]
cmp dword [edi + 0xac], 8
lea eax, [edi + 0x98]
jb 0x44e2fa
mov eax, dword [eax]
push eax
push str.SoftInstaller::InstallAllFiles__download_timeout__id_s.
call fcn.00446390
add esp, 8
jmp 0x44dffd
lea edx, [edi + 2]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x44e310
sub edi, edx
sar edi, 1
je 0x44e3fd
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 0x44e601
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x44e369
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 0x44e3ca
lea edx, [edi + edi]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x58c], ecx
test edx, edx
je 0x44e3e3
test ecx, ecx
jne 0x44e39d
call fcn.004ee8b9
mov dword [eax], 0x16
call fcn.004ee793
jmp 0x44e3dd
mov ecx, dword [eax - 8]
add ecx, ecx
cmp ecx, edx
jae 0x44e3b8
call fcn.004ee8b9
mov dword [eax], 0x22
call fcn.004ee793
jmp 0x44e3dd
push edx
push dword [ebp - 0x58c]
push eax
call fcn.004d2720
add esp, 0xc
jmp 0x44e3dd
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 0x44e601
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x588]
mov word [eax + edi*2], cx
jmp 0x44e408
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 [0x588878]
cmovae edi, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
test ecx, ecx
jne 0x44e4ac
push 0x5821a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x588878], 0
jne 0x44e49b
push 0x34
call fcn.0049a5c9
add esp, 4
mov dword [ebp - 0x5c8], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x44e489
mov ecx, eax
call fcn.00429380
mov ecx, eax
jmp 0x44e48b
xor ecx, ecx
mov byte [ebp - 4], 0x15
xchg dword [ebp - 0x5c0], eax
mov dword [0x588878], ecx
push 0x5821a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x588878]
push 0
push edi
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x5b4]
push eax
call fcn.0042b580
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 0x44e4e8
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 0x44e50a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa4]
call fcn.00436520
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.00436520
mov edi, dword [ebp - 0x57c]
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x44e546
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 0x44e553
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e595
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44e568
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44e579
mov eax, dword [edi]
push eax
push str.SoftInstaller::InstallAllFiles__delete_file__path_s.
call fcn.00446390
add esp, 8
mov ecx, edi
push 0
push 0x540960
call fcn.00436a80
mov edi, dword [ebp - 0x57c]
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x44e5b6
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 0x44d680
push str.SoftInstaller::InstallAllFiles__end.
call fcn.00446390
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.0049a028
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040ab80
push 0x80070057
call fcn.0040ab80
call fcn.004ee7a3
int3