Function at 0x42e600
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1433
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov edi, ecx
mov dword [ebp - 0x74], edi
je 0x42eb47
mov byte [edi + 0x2694], 0
call fcn.0042db00
mov eax, dword [edi + 0x23a8]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
cmp ecx, eax
je 0x42eb47
jmp 0x42e663
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ecx + 8]
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x100]
mov dword [ebp - 0x6c], esi
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e69a
test dx, dx
je 0x42e696
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e69a
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e674
xor eax, eax
jmp 0x42e69f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42eb33
push 2
push str.installstate
push esi
mov dword [ebx + 0xd8a8], 2
call fcn.00460cd0
add esp, 0xc
push 2
push edi
mov ecx, esi
call fcn.00436ba0
push 1
mov eax, 0xe958
call fcn.00497d20
mov edi, esp
mov ecx, 0x3a56
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00436150
push 0
mov eax, 0xe958
call fcn.00497d20
mov edi, esp
mov ecx, 0x3a56
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00436150
sub esp, 0x1c
mov ecx, esp
xor edi, edi
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
mov word [ecx], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], esp
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x42e722
sub eax, edx
mov edx, dword [ebp - 0x6c]
sar eax, 1
push eax
push edx
call fcn.004027c0
sub esp, 0x1c
mov dword [ebp - 4], edi
mov ecx, esp
xor edx, edx
lea eax, [ebx + 0xa00]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
mov word [ecx], dx
mov dword [ebp - 0x84], esp
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x42e761
sub eax, edx
sar eax, 1
push eax
lea eax, [ebx + 0xa00]
push eax
call fcn.004027c0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
xor eax, eax
lea esi, [ebx + 0x200]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
mov word [ecx], ax
mov eax, esi
mov dword [ebp - 0x80], esp
lea edx, [eax + 2]
mov di, word [eax]
add eax, 2
test di, di
jne 0x42e7a3
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.004027c0
mov dword [ebp - 4], 0xffffffff
call fcn.00472de0
add esp, 0x54
lea ecx, [ebx + 0x1200]
xor edx, edx
mov eax, ecx
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea edx, [eax + 2]
mov di, word [eax]
add eax, 2
test di, di
jne 0x42e7e7
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004027c0
push 0xb
push str._spdocid:
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.004026a0
mov edi, dword [ebp - 0x6c]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e820
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004026a0
push 7
push str._title:
lea ecx, [ebp - 0x2c]
call fcn.004026a0
push 1
push 1
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00465370
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 0x10
jb 0x42e871
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x42e877
xor edx, edx
jmp 0x42e8bc
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jg 0x42e8b8
lea eax, [edi + edi]
call fcn.00497dd0
mov esi, esp
test esi, esi
je 0x42e8b8
mov ecx, dword [ebp - 0x68]
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ecx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x42e8ba
xor eax, eax
mov edx, eax
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e8c1
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.004026a0
push 0x2b
push str._platform:platform_operator:operator_imgid:
lea ecx, [ebp - 0x2c]
call fcn.004026a0
lea eax, [ebx + 0xa00]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e8f2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebx + 0xa00]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004026a0
push 0xa
push str._category:
lea ecx, [ebp - 0x2c]
call fcn.004026a0
lea edi, [ebx + 0x180]
mov eax, edi
lea ecx, [eax + 2]
jmp 0x42e930
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e930
sub eax, ecx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov ebx, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 0x10
call ebx
mov esi, eax
add esp, 4
push 0xe958
mov dword [esi + 4], 0
mov dword [esi], 1
mov dword [esi + 8], 1
call ebx
add esp, 4
test eax, eax
je 0x42e985
mov ecx, eax
call fcn.004035d0
mov ebx, eax
jmp 0x42e987
xor ebx, ebx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 8]
push 0xe958
push eax
push ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0xc], ebx
push esi
mov esi, dword [ebp - 0x74]
call fcn.0042c650
mov ebx, dword [sym.imp.MSVCR100.dll__wtoi]
push edi
call ebx
add esp, 4
cmp eax, 4
je 0x42ea0a
push edi
call ebx
add esp, 4
cmp eax, 5
je 0x42ea0a
mov edi, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x42e9d4
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0040fce0
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x42e9eb
mov eax, dword [eax]
jmp 0x42e9ed
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00423b90
lea edi, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.0040fd80
jmp 0x42ea8e
cmp dword [ebp - 0x18], 8
mov edi, dword [ebp - 0x2c]
jae 0x42ea16
lea edi, [ebp - 0x2c]
lea edx, [ebp - 0x78]
push edx
call fcn.0040fce0
mov byte [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x42ea2d
mov eax, dword [eax]
jmp 0x42ea2f
xor eax, eax
push 0xffffffffffffffff
push 3
push eax
mov ecx, esi
call fcn.00423b90
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x42ea89
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42ea82
test edi, edi
je 0x42ea82
mov eax, dword [edi]
test eax, eax
je 0x42ea67
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x42ea78
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x78], 0
mov ebx, 8
mov eax, dword [ebp - 0x6c]
push str.downloadfilepath
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.004674a0
mov eax, dword [ebp - 0x48]
add esp, 0xc
cmp dword [ebp - 0x34], ebx
jae 0x42eaae
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x34], ebx
jb 0x42eaec
mov ecx, dword [ebp - 0x48]
push ecx
call edi
add esp, 4
xor esi, esi
xor edx, edx
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
jb 0x42eb0d
mov eax, dword [ebp - 0x64]
push eax
call edi
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x18], ebx
jb 0x42eb30
mov ecx, dword [ebp - 0x2c]
push ecx
call edi
add esp, 4
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov dword [ebp - 0x70], eax
cmp eax, dword [edi + 0x23a8]
jne 0x42e660
lea esp, [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 4